/* Define the fade-in animation */
@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Apply the animation to the body element */
  body {
    animation: fadeIn 0.5s ease-in;
}
h1, h2, h3, h4, h5, h6, p {
    font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5, h6{
	text-transform: uppercase;
	font-weight: 900;
}
h1 {
    font-size: 1.3rem; 
}

h2 {
    font-size: 0.9rem; 
}

h3 {
    font-size: 0.8rem; 
}

h4 {
    font-size: 0.7rem; 
}

h5 {
    font-size: 0.6rem; 
}

h6 {
    font-size: 0.5rem; 
}
p {
	font-size: 1rem; 
}
body, h1, h2, h3, h4, h5, h6, p {
  line-height: 1.4; 
}
a {
	color: #ff1aa0;
	text-decoration: none;
	display: inline;
}
/*a:hover{
	color: #c01478;
}*/
p {
	color: #333;
}
.left {
	background-color: #fff;
}
.right {
	background-color: #4D7B80;
}
.navbar {
	margin-bottom: 20px;
}
.site-title{
	letter-spacing: 0px;
	/*
	font-size: 1.3rem;
	font-family: "Roboto Serif", serif;
	font-style: italic;
	font-weight: 800;
	*/

	font-family: "Roboto", sans-serif;
	text-transform: uppercase;
	font-weight: 900;
	line-height: 0.9;
	font-size: 1rem;
}
.site-title img{
	width: 35px;
	height: 35px;
	margin-right: 10px;
}
.site-title a{
	color: #333;
}
.site-title a:hover{
	color: #ff1aa0;
}
.img-spacing {
	margin-bottom: 20px;
}
.square-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
}

.square-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}
.image-container {
    flex: 0 0 50%; /* Ensures each image container takes 50% width */
    box-sizing: border-box;
}
.image-container img {
    width: 100%;
    height: auto;
    display: block; /* Ensures images scale correctly */
}
.hover-img {
    width: 100%;
    transition: 0.5s ease;
}
.overlay-text {
    font-size: 1.4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background color */
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    z-index: 1;
    padding: 10px;
    width: 100%;
    height: 100%;
}
.overlay-text p {
	font-size: 1.4rem;
	text-align: center;
}
.circle {
	text-align: center;
	position:relative
}
.circle img {
	width: 150px;
	position:absolute; 
	top:50%; 
	height:10em; 
	margin-top:-5em
}
.custom-container {
    max-width: 1200px; /* Adjust the percentage or use a fixed width like 1200px */
    margin-left: auto;
    margin-right: auto;
	position: relative;
    background-color: #fff;
}
.fof h1{
    font-size: 3.5em;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
    line-height: 0.9;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
.fof p{
    margin-bottom: 0rem;
}
.xl-text {
	z-index: 1; /* Ensures the text stays in front of the shape */
    position: relative;
    font-size: 3.5em;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
    line-height: 0.9;
    color: #333;
    position: relative;
	max-width: 690px;
	width: 100%;
    height: 300px;
    overflow: visible;
    margin-bottom: 30px;

    /* Flexbox settings */
    display: flex;
    align-items: center;
}
.xl-text-container {
	padding-top: 40px;
	margin-bottom: 40px;
}
.square2 {
    width: 250px;
    height: 250px;
    background-color: #ff96d3; /* A very light contrasting color */
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transform: rotate(15deg); /* Adds a slight rotation */
    position: absolute;
    top: 58px; /* Adjust this based on where you want the shape */
    left: 40px; /* Adjust based on desired position */
    z-index: 0; /* Places it behind all content */
}
.square1 {
    width: 35px;
    height: 35px;
    background-color: #ffe119;
	margin-right: 5px;
}
.shape-circle {
    width: 200px; /* Adjust the size of the circle */
    height: 200px; /* Adjust the size of the circle */
    background-color: #19edff; /* Color of the circle */
    border-radius: 50%; /* Makes the shape a circle */
    position: absolute; /* Allows for positioning within the container */
    top: 50%; /* Center vertically */
    right: -50px; /* Adjust to position it outside the text area */
    transform: translateY(-50%); /* Centers vertically relative to the text */
    z-index: -1; /* Ensures the circle is behind the text */
}
.position-relative {
    position: relative;
}
/* Responsive adjustments */
@media (max-width: 767px) {
    .shape-circle {
        display: none;
    }
	.shape {
        display: none;
    }
    .shape-jagged {
        display: none;
    }
    .speech-bubble {
        display: none;
    }
    .speech-bubble {
        display: none;
    }
    .shape-square2 {
        display: none;
    }
    .shape-square3 {
        display: none;
    }
    .shape-squar {
        display: none;
    }
}
.shape-jagged {
    width: 300px;
    height: 300px;
    background-color: #ffe119;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 70% 80%, 30% 80%, 50% 60%);
    position: absolute;
    top: 120px; /* Adjust as needed */
    left: 35%; /* Adjust as needed */
    transform: translate(-50%, -50%);
    z-index: 0;
}
.shape-square3 {
    width: 300px;
    height: 300px;
    background-color: #19edff;
    clip-path: polygon(10% 20%, 90% 10%, 80% 90%, 20% 80%);
    position: absolute;
    top: 240px;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 0;
}


.speech-bubble {
    width: 175px;
    height: 175px;
    background-color: #ffe119;
    clip-path: polygon(0% 0%, 100% 10%, 90% 90%, 10% 80%, 0% 100%);
    position: absolute;
    top: 50px; /* Adjust as needed */
    left: 50%; /* Adjust as needed */
    transform: translate(-50%, -50%);
    z-index: 0;
}
.shape-container {
    position: relative; /* To position child elements absolutely within this div */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Optional: Ensure the div has height */
}
.about {
    margin-bottom: 120px;
}
.contact {
    margin-bottom: 120px;
}
.services {
    margin-bottom: 120px;
}

/* Existing styles */
.hover-img {
    width: 100%;
    transition: filter 0.3s ease;
}
.overlay-text {
    font-size: 1.4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7);    /* Semi-transparent background color */
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    z-index: 1;
    padding: 10px;
    width: 100%;
}
.image-container:hover .overlay-text {
    opacity: 1;
}
.overlay-text p {
    color: #ff1aa0;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
}
.overlay-text p:hover {
    color: #ff1aa0;
}
.image-row {
    display: flex;
    flex-wrap: wrap;
}
@media (max-width: 767px) {
    .image-container {
        flex: 0 0 100%; /* Stacks the images on top of each other on smaller screens */
    }
}
.case-studies {
    margin-bottom: 30px;
}