/* Header Section */
.header-section {
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 10rem 0;
}

.header-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

/* Breadcrumb Styling */
.breadcrumb {
    font-size: 1.125rem;
    color: white;
    margin-top: 1rem;
}

.breadcrumb a {
    text-decoration: underline;
    color: white;
}

.breadcrumb .separator {
    color: red;
    font-size: 1.7rem;
}

/* Cloud Solutions Section */
.cloud-solutions-section {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    background-color: white; /* Light background color for contrast */
}

.cloud-solutions-container {
    max-width: 1200px;
    padding: 0 2rem;
}

.cloud-solutions-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cloud-solutions-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: gray;
}

.bold{
    color: black;
}

.services {
    padding-top: 30px; /* Top padding */
    padding-bottom: 30px; /* Bottom padding */
    padding-left: 0; /* Left padding */
    padding-right: 0; /* Right padding */
    background-color: #fff; /* Default background color */
}

.services .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adjust spacing between cards */
}

/* Base style for cards */
.services .card {
    flex: 1 1 250px; /* Base width for responsiveness */
    max-width: 350px; /* Maximum width of the cards */
    width: 280px; /* Set a fixed width if needed */
    height: 350px; /* Set a fixed height if needed */
    padding: 20px;
    background-color: #fff; /* Default background color */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    transition: background-color 0.3s, color 0.3s, transform 0.3s; /* Smooth transition */
    transform: translateY(0); /* Default position */
    position: relative; /* Required for positioning the pseudo-element */
    overflow: hidden; /* Hide overflow to ensure clean animation */
}

/* Pseudo-element for hover effect */
.services .card::before {
    content: '';
    position: absolute;
    top: 100%; /* Start below the card */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: red; /* Red background color */
    transition: top 0.3s ease-in-out; /* Animate the top property */
    z-index: -1; /* Place it behind the card content */
}

/* Hover effect */
.services .card:hover::before {
    top: 0; /* Move the background up to cover the card */
}

.services .card i {
    display: block;
    margin-bottom: 15px;
    color: red; /* Default icon color */
    transition: color 0.3s; /* Smooth transition */
}

.services .card h2,
.services .card p {
    transition: color 0.3s; /* Smooth transition */
}

.services .card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.services .card p {
    font-size: 1rem;
    color: #555;
}

/* Hover effect for the first and second cards */
.services .card:hover {
    color: white; /* White text color on hover */
    transform: translateY(-10px); /* Move card up by 10px */
}

.services .card:hover i {
    color: white; /* White icon color on hover */
}

.services .card:hover h2,
.services .card:hover p {
    color: white; /* White text color for heading and paragraph */
}


/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
    .services .container {
        gap: 10px; /* Reduce spacing between cards on smaller screens */
    }

    .services .card {
        width: 100%; /* Full width on smaller screens */
        height: auto; /* Auto height on smaller screens */
    }
}

/* Cloud Solutions Section */
.our-solutions-section {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: white; /* Light background color for contrast */
}

.our-solutions-container {
    max-width: 1200px;
    padding: 0 2rem;
}

.our-solutions-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.our-solutions-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: gray;
}

.single-column-cards .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align all cards horizontally */
    gap: 20px; /* Space between cards */
    background-color: white;
}

.single-column-cards .card {
    display: flex;
    align-items: center; /* Vertically center image and content */
    background-color: #fff;
    width: 80%; /* Adjust as needed for responsiveness */
    max-width: 800px; /* Maximum width of the cards */
    padding: 20px;
    gap: 15px; /* Space between image and content */
}

.single-column-cards .card img {
    width: 150px; /* Fixed width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
}

.single-column-cards .card-content {
    flex: 1; /* Take remaining space */
}

.single-column-cards .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.single-column-cards .card-content p {
    font-size: 1rem;
    color: #555;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .single-column-cards .card {
        flex-direction: column; /* Stack image and content vertically */
        text-align: center; /* Center content on small screens */
    }

    .single-column-cards .card img {
        width: 100%; /* Full width on smaller screens */
        margin-bottom: 10px; /* Space between image and content */
    }

    .single-column-cards .card-content {
        text-align: center; /* Center text on small screens */
    }
}

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.image-logo-section {
    background-color: white;
}

.image-logo-section .container {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    gap: 20px; /* Space between image and logos container */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.image-logo-section .main-image {
    width: 50%; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
}

.image-logo-section .logo-container {
    display: flex;
    flex-direction: column; /* Stack rows vertically */
    align-items: flex-start; /* Align items to the start of the flex container */
    max-width: 600px; /* Limit width for the logos container */
}

.image-logo-section .logo-container h2 {
    margin-bottom: 20px; /* Space below the heading */
    font-size: 35px;
}

.image-logo-section .logo-row {
    display: flex;
    flex-wrap: wrap; /* Wrap logos if needed */
    gap: 15px; /* Space between logos */
    margin-bottom: 20px; /* Space below each row */
}

.image-logo-section .logo-item {
    flex: 1 1 23%; /* Allow items to resize, 4 items in the row */
    max-width: 150px; /* Max width for each logo */
}

.image-logo-section .logo-image {
    width: 100%; /* Full width of its container */
    height: auto; /* Maintain aspect ratio */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .image-logo-section .container {
        flex-direction: column; /* Stack image and logos container vertically */
        align-items: center; /* Center content horizontally */
    }

    .image-logo-section .main-image {
        width: 100%; /* Full width on smaller screens */
        margin-bottom: 20px; /* Space below image */
    }

    .image-logo-section .logo-row {
        flex-direction: column; /* Stack logos vertically on small screens */
    }
}

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.flip-cards-section {
    padding: 30px 0;
    background-color: white;
}

.flip-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.flip-card {
    position: relative;
    width: 250px;
    height: 350px;
    perspective: 1000px; /* Ensure the 3D effect is visible */
}

.flip-card-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.flip-card-front {
    background-color: #fff;
}

.flip-card-back {
    background-color: #333;
    color: #fff;
    transform: rotateY(180deg);
    text-align: center;
    padding: 20px;
}

.flip-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.edu1-services {
    background-color: white;
}

.edu1-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; /* Ensure all cards have the same height */
    gap: 20px; /* Space between cards */
    max-width: 1200px; /* Container width */
    margin: 0 auto;
}

.edu1-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: calc(50% - 20px); /* 2 cards per row */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute content evenly */
    height: 100%; /* Ensure the height is consistent */
    transition: transform 0.3s ease;
}

.edu1-card:hover {
    transform: scale(1.05);
}

.edu1-card-image {
    width: 80%; /* Adjust the width of the image */
    max-width: 300px; /* Set a max width for the image */
    height: auto;
    object-fit: cover;
    margin: 0 auto 15px auto; /* Center the image and add margin at the bottom */
}

.edu1-card h2 {
    font-size: 1.25rem;
    margin: 10px 0;
}

.edu1-card p {
    font-size: 1rem;
    color: #666;
}

@media screen and (max-width: 768px) {
    .edu1-card {
        width: 100%; /* Stacks cards in one column on smaller screens */
    }
}

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/* Main Content Section */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    background-color: white;
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 1200px; /* Optional: Limits the width of the container */
}

/* Flexbox Card Styles */
.card {
    background-color: white;
    padding: 2rem;
    flex: 1;
}

.form-card {
    display: flex;
    flex-direction: column;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-button {
    background-color: #d9251d;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    align-self: flex-start; /* Aligns the button to the start of the form */
}

.submit-button:hover {
    background-color: #b81f17;
}

/* Contact Information Card */
.info-header {
    font-size: 1rem;
    font-weight: bold;
    color: red;
    margin-bottom: 1rem;
}

.info-title {
    font-size: 3rem;
    font-weight: bold;
}

.contact-info-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
}

.contact-info-card p {
    margin-bottom: 1rem;
    color: gray;
}

.contact-info-card a {
    color: gray;
    text-decoration: none;
}

.contact-info-card i {
    color: #d9251d; /* Icon color */
    margin-right: 0.5rem; /* Spacing between icon and text */
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        width: 100%;
        max-width: 600px; /* Adjust the max-width for better readability */
    }

    .form-title, .info-title {
        font-size: 1.25rem;
    }

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input, 
    .form-group textarea {
        padding: 0.4rem;
    }

    .submit-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .contact-info-card h3 {
        font-size: 1rem;
    }

    .contact-info-card p, 
    .contact-info-card a {
        font-size: 0.875rem;
    }
}

/* Map Section */
.map-section {
    padding: 2rem;
    background-color: white; /* Light grey background to contrast with the map */
}

.map-container {
    height: 450px; /* Adjust height as needed */
    width: 100%;
    border-radius: 8px; /* Optional: rounded corners for a more polished look */
    overflow: hidden; /* Ensure the map container has no overflow */
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-card, .contact-info-card {
        width: 100%;
    }
    
    .map-section {
        padding: 1rem;
    }
}