/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  line-height: 1.6;

}

/* Body Styles */
body {
  color: #333;
  background-color: #f9f9f9;
}

#azure-hero {
  position: relative;
  background-color: #4c637c;
  text-align: left;
  color: #fff;
  height: 400px;
  background-image: url('./images/azure\ home\ hero\ img.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.azure-hero-container {
  max-width: 1200px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 55%;
  left: 5%;
  z-index: 10; /* Ensure this is higher than the overlay */
}

#azure-hero h1 {
  color: #fff; /* Change text color to white for better visibility */
  text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.7);
  font-size: 48px;
  margin-bottom: 20px;
}

#azure-hero p {
  font-size: 20px;
  color: #fff; /* Change text color to white for better visibility */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

@keyframes fadeInaz {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleInaz {
  from {
    transform: scale(0.8); /* Start smaller */
  }
  to {
    transform: scale(1); /* End at normal size */
  }
}

.hero-text {
  position: relative;
  animation: fadeInaz 1s ease-in-out forwards, scaleInaz 1s ease-in-out forwards;
  z-index: 11; /* Ensure this is higher than the overlay */
}

.overlay {
  position: absolute; /* Position overlay absolutely */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 400px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 5; /* Ensure overlay is above the background but below the text */
}


/* Responsive Styles for Mobile (360px - 480px) */
@media (min-width: 360px) and (max-width: 480px) {
  #azure-hero {
    height: 300px; /* Reduce height for smaller screens */
    text-align: center; /* Center-align text for mobile */
    background-position: center;
  }

  .azure-hero-container {
    max-width: 90%; /* Adjust container width */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center container */
    padding: 15px;
    text-align: center; /* Center text in the container */
  }

  #azure-hero h1 {
    font-size: 24px; /* Reduce font size for heading */
    margin-bottom: 10px;
  }

  #azure-hero p {
    font-size: 14px; /* Reduce font size for paragraph */
    line-height: 1.5;
  }
  .overlay{
    height:300px ;
  }
}

/* Overview Section Styles */
.azure-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #e5f3ff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 20px;
  height: 450px;
  /* border: 2px solid ; */
}

.azure-text-section {
  flex: 1;
  /* padding: 20px; */
}

.azure-text-section h1 {
  font-size: 2em;
  color: #084c7f;
  font-weight: 700;
  margin-bottom: 20px;
}

.azure-text-section p {
  font-size: 1em;
  color: #333;
  margin-bottom: 20px;
}

.azure-read-more-content {
  display: none;
}

.azure-text-section p:last-of-type {
  font-weight: 700;
}

.azure-overview-button {
  background-color: #084c7f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.azure-overview-button:hover {
  background-color: #063a5f;
}

.azure-overview-button a {
  color: #fff;
  text-decoration: none;
}

.azure-image-section {
  flex: 1;
  text-align: center;
  /* padding: 20px; */
  border: 2px solid #084c7f;
  border-radius: 10px;
  max-width: max-content;
  margin-right: 150px;
}

.azure-image-section img {
  height: 300px;
}

@media (max-width: 992px) {
  .azure-container {
    flex-direction: column;
    height:370px
  }

  .azure-text-section, .azure-image-section {
    padding: 10px;
  }

  .azure-text-section h1 {
    font-size: 1.8em;
  }

  .azure-text-section p {
    font-size: 0.9em;
  }

  .azure-overview-button {
    padding: 8px 16px;
  }
  .azure-image-section{
    position: absolute;
    /* bottom: 0; */
    top: 78%;
    left: 60%;
  }
  .azure-image-section img{
    height: 100px;
  }
}

@media (max-width: 768px) {
  .azure-text-section h1 {
    font-size: 1.6em;
  }

  .azure-text-section p {
    font-size: 0.8em;
  }

  .azure-overview-button {
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  .azure-text-section h1 {
    font-size: 1.4em;
  }

  .azure-text-section p {
    font-size: 0.7em;
  }

  .azure-overview-button {
    padding: 5px 10px;
  }
}

/* Digital Transformation Section */
/* Default Styles */
.digital-transformation-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.digital-transformation-heading {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1078BF;
}

.digital-transformation-description {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.azure-importance-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.azure-importance-image {
  width: 120px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.azure-importance-image:hover {
  transform: scale(1.05);
}

.azure-contact-us-button {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #5BB949;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.azure-contact-us-button:hover {
  background-color: #4DAA3B;
  transform: scale(1.05);
}

/* Responsive Design for 360px - 480px */
@media (max-width: 480px) {
  .digital-transformation-container {
    padding: 15px; /* Adjusted padding for smaller screens */
  }

  .digital-transformation-heading {
    font-size: 24px; /* Reduced font size for heading */
    margin-bottom: 10px;
  }

  .digital-transformation-description {
    font-size: 14px; /* Smaller font size for paragraph */
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .azure-importance-images {
    gap: 5px; /* Reduced gap for smaller screens */
    margin: 0;
  }

  .azure-importance-image {
    width: 70px; /* Reduced image width */
    height: auto;
  }

  .azure-contact-us-button {
    font-size: 14px; /* Reduced font size */
    padding: 8px 16px; /* Adjusted padding for smaller screens */
  }
}

/* Azure Services Section */
/* Header */
/* Default Styles */
.azure-header-services {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  height: 250px;
  text-align: center;
  padding: 40px 20px;
  background-image: url('./images/azure\ services\ hero\ img.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

.azure-header-services h1 {
  font-size: 46px;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  margin-top: 40px;
  text-transform: uppercase;
  margin-right: 500px;
}

.azure-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px;
  gap: 30px;
  text-align: center;
}

.azure-services .azure-service {
  width: 250px;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  background-color: #f7f7f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.azure-services .azure-service:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.azure-services .azure-service i {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 15px;
}

.azure-services .azure-service .azure-service-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.azure-services .azure-service-content {
  display: none;
  text-align: left;
  margin-top: 10px;
}

.azure-contact-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}

.azure-contact-button:hover {
  background-color: #0056b3;
}

.services-azure-contact-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 650px;
}

.azure-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 500px;
  width: 100%;
}

.azure-popup .azure-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  cursor: pointer;
}

.azure-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Responsive Design for 360px - 480px */
@media (max-width: 480px) {
  .azure-header-services {
    padding: 20px;
    height: auto;
    text-align: center;
  }

  .azure-header-services h1 {
    font-size: 24px;
    margin: 0;
  }

  .azure-services {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .azure-services .azure-service {
    width: 100%;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .azure-services .azure-service i {
    font-size: 1.5em;
  }

  .azure-services .azure-service .azure-service-name {
    font-size: 16px;
  }

  .azure-contact-button,
  .services-azure-contact-button {
    font-size: 14px;
    padding: 8px 16px;
    margin: 0 auto;
    display: block;
  }

  .services-azure-contact-button {
    margin-top: 20px;
    margin-left: 0;
  }

  .azure-popup {
    padding: 15px;
    width: 90%;
  }
}

/* Case Study Section */
/* General Container Styles */
.azure-container-case {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1600px;
  margin: 20px auto;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Left and Right Section Styles */
.azure-left-case, .azure-right-case {
  flex: 1;
  padding: 20px;
  min-width: 300px;
  box-sizing: border-box;
}

.azure-left-case {
  background-color: #e6f2f2; /* Light blue background for left section */
}

.azure-right-case {
  background-color: #ffffff; /* White background for right section */
}

/* Container Layout */
.azure-container-case {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 10px;
  padding: 10px;
  max-height: 100vh; /* Limits overall container height */
  overflow-y: hidden; /* Prevents scrolling */
}

/* Left and Right Sections */
.azure-left-case, .azure-right-case {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  max-height: 90vh; /* Ensures sections fit within the screen height */
  overflow-y: auto; /* Allows scrolling within each section if needed */
}

/* Header Styles */
.case-study-header-a {
  background-color: #084c7f;
  color: white;
  padding: 15px;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

.case-study-header-a h1 {
  margin: 0;
  font-size: 20px;
}

/* Content Styles */
.case-study-content-a {
  padding: 10px;
}

.case-study-content-a h2 {
  color: #1078bf;
  font-size: 18px;
  margin: 5px 0;
}

.case-study-content-a p {
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  margin: 5px 0;
}

/* Background and Goal Sections */
.case-study-background-a, .case-study-goal-a, .case-study-results-a {
  margin-bottom: 10px;
}

.case-study-goal-a {
  background-color: #e5e5e5;
  color: black;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
}

.case-study-goal-a p {
  font-size: 16px;
}

/* Obstacles Section */
.case-study-obstacles-a {
  padding: 10px;
}

.case-study-obstacles-a h2 {
  background-color: #084c7f;
  color: white;
  padding: 8px;
  margin: 0;
  text-align: center;
  border-radius: 5px;
  font-size: 16px;
}

/* Individual Obstacle Items */
.case-study-obstacle-item-a {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.case-study-obstacle-item-a .case-study-circle-a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid #084c7f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #084c7f;
  margin-right: 10px;
}

/* Results Section */
.case-study-results-a {
  background-color: #e5f3ff;
  color: black;
  padding: 10px;
  border-radius: 5px;
}

.case-study-results-a h2 {
  margin: 0;
}

/* Image Styles */
.case-study-image-a {
  text-align: center;
  margin: 10px 0;
}

.case-study-image-a img {
  max-width: 100%; /* Ensures images are responsive */
  height: auto;
  border-radius: 5px;
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 768px) {
  .azure-container-case {
    flex-direction: column;
    max-height: 100vh;
    overflow-y: hidden;
  }

  .azure-left-case, .azure-right-case {
    min-width: 100%;
    max-height: 45vh; /* Ensures both columns fit in viewport */
  }
}

/* strategic p */
.sp-container {
  background-color: #084c7f;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  height: 55vh;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  position: relative; /* Make sure the images are positioned relative to the container */
  box-sizing: border-box; /* Ensure padding does not affect container width */
}

.sp-text-content {
  max-width: 50%;
  padding-right: 20px;
  text-align: left; /* Ensure left alignment for text on larger screens */
  margin-bottom: 20px; /* Add some margin at the bottom for spacing */
}

.sp-text-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px 0;
  width: auto; /* Allow width to be flexible */
}

.sp-text-content h3 {
  font-size: 25px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  width: auto; /* Allow width to be flexible */
}

.sp-image-content {
  position: relative;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

.sp-image-content img {
  border-radius: 50%;
  border: 5px solid #084c7f;
}

.sp-image-content .sp-image1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
}

.sp-image-content .sp-image2 {
  position: absolute;
  top: 50%; /* Adjusted to better align vertically */
  right: 10%;
  transform: translateY(-50%);
  width: 100px;
  height: auto;
}

.sp-image-content .sp-image3 {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: auto;
}

.sp-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 0C22.4 0 0 22.4 0 50s22.4 50 50 50 50-22.4 50-50S77.6 0 50 0zm0 90C27.4 90 10 72.6 10 50S27.4 10 50 10s40 17.4 40 40-17.4 40-40 40 z" fill="none" stroke="%23FF6F61" stroke-width="2"/><path d="M50 10C27.4 10 10 27.4 10 50s17.4 40 40 40 40-17.4 40-40S72.6 10 50 10zm0 70C32.4 80 20 67.6 20 50S32.4 20 50 20s30 12.4 30 30-12.4 30-30 30z" fill="none" stroke="%23FF6F61" stroke-width="2"/><path d="M50 20C32.4 20 20 32.4 20 50s12.4 30 30 30 30-12.4 30-30S67.6 20 50 20zm0 50C37.4 70 30 62.6 30 50S37.4 30 50 30s20 7.4 20 20-7.4 20-20 20z" fill="none" stroke="%23FF6F61" stroke-width="2"/></svg>') no-repeat center;
  background-size: contain;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .sp-container {
    flex-direction: column; /* Stack elements vertically on smaller screens */
    padding: 30px; /* Reduced padding for smaller screens */
  }
  .sp-text-content {
    max-width: 100%; /* Take full width on smaller screens */
    text-align: center; /* Center text on smaller screens */
  }
  .sp-image-content {
    width: 100%; /* Take full width on smaller screens */
    padding-left: 0; /* Remove padding */
  }

  .sp-image-content img {
    max-width: 100%; /* Ensure image is responsive */
    width: 100%;
    height: auto;
  }

  .sp-image-content .sp-image1,
  .sp-image-content .sp-image2,
  .sp-image-content .sp-image3 {
    width: 50px; /* Adjust image size for smaller screens */
    /* height: auto; */
    /* margin-right: 800px; */
    position: absolute;
    /* right: 0; */
    left: 0;
    background-color: blue;
  }

  .sp-text-content h1 {
    font-size: 32px; /* Adjust font size for smaller screens */
  }

  .sp-text-content h3 {
    font-size: 20px; /* Adjust font size for smaller screens */
  }
}

.azure-call-to-action {
  width: 100%;
  max-width: 800px; /* Increased max width for a more prominent section */
  margin: 50px auto; /* Center the container horizontally with top margin */
  text-align: center;
  padding: 30px; /* Increased padding for better spacing */
  background-color: #ffffff;
  border-radius: 10px; /* Slightly rounded corners for a modern look */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Stronger shadow for better prominence */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.azure-call-to-action h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333333; /* Darker color for better readability */
  margin-bottom: 20px;
}

.azure-call-to-action p {
  font-size: 18px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 30px; /* More space below the paragraph */
}

.cta-button {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  font-size: 18px; /* Larger font size for prominence */
  cursor: pointer;
  border-radius: 5px;
  text-transform: uppercase; /* Uppercase text for a bolder look */
  transition: background-color 0.3s ease;
}

.cta-button a{
  text-decoration: none;
  color: white;
}
.cta-button:hover {
  background-color: #0069d9;
}

/* Optional: Responsive Design */
@media (max-width: 768px) {
  .azure-call-to-action {
    padding: 20px; /* Less padding for smaller screens */
    width: 90%; /* Ensure it's responsive */
  }
  .azure-call-to-action h2 {
    font-size: 28px; /* Adjust font size for mobile */
  }
  .azure-call-to-action p {
    font-size: 16px; /* Slightly smaller text for mobile */
  }
  .cta-button {
    padding: 12px 25px; /* Smaller button size for mobile */
    font-size: 16px; /* Smaller font size for mobile */
  }
}

