/* ss.css */

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /* Example weight value, replace with your desired weight */
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

h1 span {
    color: #64a2ff;
    
}

h1 {
    color: #080808;
    text-align: center;
    font-weight: 600;
    font-size: 2.5rem;
   
    
}
.btn{
    background-color: #4169E1;
    color: #ffffff;
    font-size: 500;
}
p{
    padding-left: 40px;
    padding-right: 40px;
}

.banner {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center content horizontally */
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Ensure no overflow from the banner */
    background: rgba(0, 0, 0, 0.5); /* Optional: overlay for better text visibility */
}


.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* Place background behind other elements */
}

.banner-bg .image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    position: absolute;
    top: 0;
    left: 0;
}

.banner-text {
    position: relative;
    z-index: 1; /* Ensure text is above the background image */
    color: white; /* Text color */
    padding: 30px;
    max-width: 60%; /* Ensure text takes up a significant portion of the width */
    text-align: left; /* Align text to the left */
    display: flex; /* Align children in a row */
    flex-direction: row; /* Side by side */
    align-items:left; /* Vertically center text */
}

.banner-text h2 {
    font-size: 5.5rem; /* Adjust as needed */
    margin: 0;
}

.dcs-logo {
    position: absolute;
    top: 20px; /* Adjust top position as needed */
    left: 20px; /* Adjust left position as needed */
    z-index: 1; /* Ensure logo is above the background image */
}

.dcs-logo img {
    max-height: 100px; /* Adjust size as needed */
    width: auto; /* Maintain aspect ratio */
}

.aws-pic {
    position: relative; /* Ensure it can be placed next to text */
    z-index: 1; /* Ensure image is above the background image */
    display: flex;
    align-items: center; /* Center content vertically */
    padding: 20px;
    width: 196px; /* Adjust width as needed */
    height: 196px; /* Maintain aspect ratio */
    margin-left: 20px; /* Space between text and AWS pic */
}

.aws-pic img {
    width: 100%; /* Ensure the image fits within its container */
    height: auto; /* Maintain aspect ratio */
}


.matter{
    margin-top: 30px;
    padding: 20px;
}

.boxs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.card {
    width: 250px;
    padding: 3px;
    margin: 10px;
    box-shadow: 3px 3px 3px rgb(7, 7, 8);
    text-align: center;
    background: linear-gradient(109.5deg, rgb(76, 221, 242) 11.2%, rgb(92, 121, 255) 91.1%);
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for background and scaling */
}

.card:hover {
     color: #111111;
    font-weight: bolder;
    font-size: large;
    background-color: #E2B800;
}

.card-header {
    color: #000080;
    font-size: 1.25rem;
    font-weight: bolder;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s; /* Smooth transition for color change */
}

.card-header span i {
    margin-left: 10px;
    font-size: 2.75rem; /* Adjust icon size */
    color: #fbfdff;
    transition: transform 0.3s, font-size 0.3s; /* Smooth transition for scaling and font size */
    border: #3e3f41;
}

.card:hover .card-header span i {
    transform: scale(1.5); /* Enlarge icons to 150% of their original size */
    font-size: 1.5rem; /* Optional: Increase font size if desired */
}

.round-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    box-shadow: #0050A0;
}

.round {
    position: relative;
    width: 350px; /* Adjust width as needed */
    height: 200px; /* Adjust height as needed */
    perspective: 1000px; /* Create 3D space */
    margin: 20px;
    overflow: hidden; 
    background-color: rgb(136, 208, 218); /* Set background color */
    border: 5px solid #64a2ff; /* Border color */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), /* Inner shadow for depth */
                0 0 20px rgba(0, 0, 0, 0.3); /* Outer shadow for depth */
}

.round-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.6s; /* Smooth transition */
    transform-style: preserve-3d; /* Preserve 3D transformations */
}

.round-font, .round-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden; /* Hide the back side when facing away */
}

.round-font {
    background-color: #D3D3D3;
    color: #4169E1;
    transform: rotateY(0deg); /* Front side */
}

.round-back {
    background-color: #0050A0; /* Slightly transparent for contrast */
    color: rgb(238, 233, 233);
    transform: rotateY(180deg); /* Back side, initially hidden */
    padding: 20px;
    text-align: center;
}

.round:hover .round-inner {
    transform: rotateY(180deg); /* Flip to show the back side */
}

.round-font, .round-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Full width to ensure centering */
    height: 100%; /* Full height to ensure centering */
}

.round-font img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container */
    display: block; /* Ensure no extra space below the image */
}

.round-back p {
    font-size: 12px;
    justify-content: center;
    text-align: center;
    padding: 15px;
    margin-top: 3px;
    font-weight: bold;
}


.service {
   
    padding: 25px; /* Add padding for spacing */
}

/* Header styling */
.header2 {
    text-align: center; /* Center-align the text in the header */
}

.certification {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap to the next line if needed */
    gap: 5px; /* Space between cards */
    justify-content: center; /* Center align the cards */
    padding: 10px; /* Optional padding around the container */
}
.certification .card {
    width: 250px;
    padding: 3px;
    margin: 10px;
    box-shadow: 3px 3px 3px rgb(7, 7, 8);
    text-align: center;
    background: linear-gradient(109.5deg, rgb(93, 217, 255) 11.2%, rgb(34, 51, 211) 91.1%);
    transition: background-color 0.3s, transform 0.3s;
    overflow: hidden;
}

.certification .card:hover {
    color: #111111;
    font-weight: bolder;
    font-size: large;
    background-color: #E2B800;
}

.certification .card-header {
    padding: 1rem; /* Adjust padding for better spacing */
}

.certification .card-image {
    max-width: 80%; /* Adjust for better fit */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: rounded corners */
    margin: 0 auto; /* Center the image */
    display: block; /* Ensure it's treated as a block element for centering */
}



.lines {
    background-color: #eff2f5;
    padding: 20px; /* Add padding for spacing */
    margin-top: 15px;
    text-align: center;
}
.content-wrapper {
    display: flex; /* Use flexbox for horizontal layout */
    align-items: flex-start; /* Align items at the top */
}

.eoff {
    margin-right: 10px; /* Space between image and paragraphs */
    margin-left: 40px;
}

.eoff img {
    max-width: 300px; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    margin-left: 40px;
}

.client-sec {
    display: flex;
    flex-direction: column; /* Stack paragraphs vertically */
}

.para {
    margin: 5px 0; /* Minimal space between paragraphs */

    text-align: left; /* Align text to the left */
}

.row {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust spacing between columns */
}

.col {
    flex: 1;
    max-width: 45%; /* Adjust column width as needed */
    justify-content: center;
    margin-top: 5px;
}

 /*relationship*/
 .relationship{
    align-items: center;
    justify-content: center;
    text-align: center;
 }
 .wrapper {
    display: flex; /* Use flexbox to align items side by side */
    justify-content: space-around; /* Space between items */
    align-items: center; /* Center items vertically */
    flex-wrap: wrap; /* Allow wrapping to the next line if necessary */
    gap: 10px; /* Space between containers */
    padding-top: 20px;
    padding-bottom: 60px;
   
 }
.container1 {
    text-align: center; /* Center align text inside each container */
    flex: 1; /* Allow containers to grow and shrink as needed */
    min-width: 200px; /* Ensure containers don’t become too narrow */
    padding-top: 10px;
    padding-bottom: 30px;
    border-right: 5px solid #4169E1;
    justify-content: space-between;

  
}

/* Styles for the num span */
.num {
    color: #5863f7;
    font-weight: 600;
    font-size: 3rem;
    display: inline; /* Block display to handle font-size properly */
    
}

/* Styles for the text span */
.container1 h3 {
    color: #111111;
    font-size: 1.2rem;
    font-weight: 600;    

}


/*case studie*/
.case-btn {
    background-color: #216cdd;
    color: white;
    padding: 10px 20px; /* Increased padding for a bigger button */
    margin: 40px auto; /* Add margin to create space between buttons */
    font-size: 16px; /* Optional: increase font size for better visibility */
    border: none; /* Optional: remove border */
    border-radius: 5px; /* Optional: add rounded corners */
    font-size:2rem;
}

.case-btn1 {
    background: linear-gradient(to right, #0638c2, #086bff, #fdf908, #b9a704);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    padding: 5px 10px; 
    margin-top: 10px;
    margin-bottom: 10px; /* Ensure there's space below this button */
    margin:40px;
    margin-left:50px;
    border: none; /* Optional: remove border */
    border-radius: 5px; /* Optional: add rounded corners */
    display: inline-block; /* Needed for animation */
    animation: bounce 1s infinite; /* Apply the bounce animation */
    font-size: 3.5rem;
}

.case-btn1 span {
    background: transparent; 
    -webkit-text-fill-color: inherit; /* Ensure the text color is inherited */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px); /* Move up */
    }
    60% {
        transform: translateY(-5px); /* Move down a little */
    }
}

/* Footer Styles */
#footer {
    background-color: #464545;
    color: #ffffff; /* Ensure text is readable on dark background */
    width: 100%; /* Ensure footer takes full width */
    position: relative; /* Allow it to stay at the bottom */
}

.footer-top {
    padding: 20px 0;
    border-bottom: 1px solid #6c757d; /* Optional: Adds a border for separation */
}

.footer-contact {
    padding: 0 15px; /* Add some horizontal padding */
}

.footer-contact p, .footer-contact h4 {
    margin: 0;
    color: #ffffff; /* Ensure text color contrasts with the background */
}

.dcs img {
    max-height: 100px; /* Adjust size as needed */
    width: auto; /* Maintain aspect ratio */
}

.row {
    display: flex;
    flex-wrap: wrap; /* Ensure columns stack on smaller screens */
}

.col-lg-3, .col-md-6 {
    flex: 1 0 200px; /* Ensure columns are flexible and can wrap if needed */
    max-width: 300px; 
    margin-bottom: 20px; /* Add space between columns */
}

.container {
    width: 90%; /* Adjust container width */
    max-width: 1200px; /* Set a max-width for larger screens */
    margin: 0 auto; /* Center align the container */
}

.py-4 {
    padding-top: 1.5rem; /* Padding for top */
    padding-bottom: 1.5rem; /* Padding for bottom */
}

.copyright {
    font-size: 0.875rem; /* Smaller font size for copyright text */
    color: #ffffff; /* Ensure text color contrasts with the background */
}

a {
    color: white;
}

a:hover {
    color: #66a3ff;
}

/* Additional styles to cover the full page */
html, body {
    margin: 0; /* Remove default margins */
    height: 100%; /* Ensure full height */
}

#footer {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Space between items */
    min-height: 100px; /* Minimum height for the footer */
}

.scroll-down{
    height: 50px;
    width:50px;
    position: fixed;
    top: 47%;
    left: 1%;
    cursor: pointer;
    top: calc(47% + 60px);
  
  }
  .scroll-up{
    height: 50px;
    width:50px;
    border-radius: 5%;
    position: fixed;
    top: 47%;
    left:1%;
    cursor: pointer;
  
  }
  .feedback {
    position: fixed; /* Fix the position relative to the viewport */
    bottom: 20px; /* Position above the bottom edge */
    right: 10px; /* Position from the right edge */
    z-index: 1001; /* Ensure it's above other content */
    cursor: pointer;
}

/* Dialog box styling */
.dialog {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position for the whole viewport */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Adjust width to fit within mobile viewports */
    max-width: 400px; /* Max width for larger screens */
    height: auto; /* Allow height to adjust based on content */
    max-height: 90%; /* Ensure dialog does not exceed viewport height */
    background-color: rgba(0, 0, 0, 0.5); /* Black backdrop with opacity */
    z-index: 1000; /* Ensure it's above other content */
    overflow-y: auto; /* Allow scrolling if content exceeds height */
    border-radius: 8px; /* Rounded corners */
}

/* Dialog content styling */
.dialog-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    color: #111111;
}

/* Emoji container */
.emoji {
    display: flex;
    flex-wrap: wrap; /* Allow emojis to wrap on smaller screens */
    font-size: 1.3rem;
    justify-content: center;
    cursor: pointer;
}

.emoji div {
    margin: 5px; /* Add spacing between emojis */
}

.emoji div:hover {
    transform: scale(1.5);
    transition: transform 0.2s ease-in-out;
}

/* Textarea styling */
.text {
    width: 100%;
    display: block;
    border: 1px solid #64a2ff;
    box-sizing: border-box; /* Include padding and border in width and height calculations */
    transition: opacity 0.3s, height 0.3s;
}

.text:active {
    padding: 1rem;
    opacity: 1;
    height: 6rem;
}

/* Close button styling */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Button group styling */
.button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Add space between buttons */
    align-items: flex-end;
}

/* Button styling */
button {
    padding: 10px 15px;
    margin: 0; /* Remove extra margin for buttons */
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#confirmBtn {
    background-color: #4CAF50;
    color: #fff;
}

#cancelBtn {
    background-color: #f44336;
    color: #fff;
}



  @media (max-width: 768px) {
    .banner {
        flex-direction: column; /* Stack children vertically */
        height: auto; /* Adjust height automatically */
        padding: 20px; /* Add padding for spacing */
        text-align: center; /* Center text alignment */
    }

    .banner-text {
        max-width: 100%; /* Ensure the banner text takes full width */
        padding: 10px; /* Adjust padding */
        margin-bottom: 20px; /* Space below the text */
        font-size: 4rem;
    }

    .aws-pic {
        margin: 20px auto; /* Center the image */
        width: 60%; /* Adjust width for mobile */
        height: auto; /* Maintain aspect ratio */
        position: static; /* Remove absolute positioning */
    }

    .dcs-logo {
        margin: 20px auto; /* Center the logo */
        width: 80px; /* Adjust width for mobile */
        height: auto; /* Maintain aspect ratio */
        position: static; /* Remove absolute positioning */
        margin-left: 0;
    }

    .scroll-down, .scroll-up {
        display: none; /* Hide scroll buttons on mobile devices */
    }
    
    .feedback {
        right: 5%; /* Adjust positioning for mobile */
        bottom: 20px; /* Keep bottom positioning consistent */
        width: 45px; /* Smaller width for mobile */
        height: 45px; /* Smaller height for mobile */
        font-size: 20px; /* Adjust font size for smaller button */
    }
    .footer-contact {
        text-align: center; /* Center-align text */
    }

    .row {
        justify-content: center; /* Center columns */
    }
}

/* Further adjustments for very small screens */
@media (max-width: 576px) {
    .banner-text h2 {
        font-size: 4rem; /* Adjust font size for smaller screens */
    }

    .card {
        width: 100%; /* Ensure cards take full width on smaller screens */
    }
    .dialog {
        width: 95%; /* Use larger percentage for very small screens */
        max-width: none; /* Remove max-width constraint on very small screens */
        padding: 10px; /* Reduce padding for very small screens */
    }
    .feedback {
        right: 0;
        margin: 0;
        padding: 0;
        width: 30px;
        height: 30px;
    }
    .footer-contact {
        font-size: 0.875rem; /* Smaller font size for footer */
    }
    
}
