/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Base button styles */
.animated-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    gap: 32px; /* Keeps spacing consistent */
    min-width: 170px; /* Ensures space for arrow extension */
    justify-content: flex-start;
}

/* Circle styles */
.animated-circle {
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: width 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* White center dot */
.animated-circle::after {
    content: "";
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

/* Expanding grey concentric circle */
.animated-circle::before {
    content: "";
    width: 80%;
    height: 80%;
    background: grey;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

/* Text styling */
.animated-text {
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevents line breaks */
    position: relative;
}

/* Hover effect for growing grey circle */
.animated-button:hover .animated-circle::before,
.animated-circle.grow::before {
    transform: translate(-50%, -50%) scale(1);
}

/* --- RIGHT ARROW CONFIGURATION --- */
.animated-button.arrow-right .animated-line {
    width: 40px; /* Default size */
    height: 1px;
    background: white;
    position: absolute;
    right: -20px; /* Starts from the center of the circle */
    transition: all 0.3s ease;
    flex-shrink: 0;
	z-index: 99;
}

/* Arrow – Always connected to the line */
.animated-button.arrow-right .animated-line::after {
    content: "";
    position: absolute;
    right: 0px; /* Starts at the end of the line */
    top: -1.25px;
    width: 4px;
    height: 4px;
    border-top: 1px solid white;
    border-right: 1px solid white;
    transform: rotate(45deg);
    transition: right 0.3s ease;
}

/* Line grows from 40px to 45px */
.animated-button.arrow-right:hover .animated-line,
.animated-button.arrow-right .animated-line.extend {
    width: 45px;
    right: -25px;
}

/* --- LEFT ARROW CONFIGURATION --- */
.animated-button.arrow-left .animated-line {
    width: 40px; /* Default size */
    height: 1px;
    background: white;
    position: absolute;
    left: -20px; /* Starts from the center of the circle */
    transition: all 0.3s ease;
    flex-shrink: 0;
	z-index: 99;
}

/* Arrow – Always connected to the line */
.animated-button.arrow-left .animated-line::after {
    content: "";
    position: absolute;
    left: 0px; /* Starts at the end of the line */
    top: -1.25px;
    width: 4px;
    height: 4px;
    border-top: 1px solid white;
    border-left: 1px solid white;
    transform: rotate(-45deg);
    transition: left 0.3s ease;
}

/* Line grows from 40px to 45px */
.animated-button.arrow-left:hover .animated-line,
.animated-button.arrow-left .animated-line.extend {
    width: 45px;
    left: -25px!important;
}

/* --- TEXT POSITION CONFIGURATIONS --- */
/* Right text configuration */
.animated-button.text-right {
    flex-direction: row;
}

.animated-button.text-right .animated-circle {
    order: 1;
}

.animated-button.text-right .animated-text {
    order: 2;
    margin-left: 0px;
}

/* Left text configuration */
.animated-button.text-left {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.animated-button.text-left .animated-circle {
    order: 0;
}

.animated-button.text-left .animated-text {
    order: 1;
    margin-right: 0px;
}

/* Handle position of elements in different configurations */
.animated-button.arrow-right.text-right .animated-line,
.animated-button.arrow-left.text-left .animated-line {
    left: 20px; /* For right-pointing arrow with text on right, or left-pointing arrow with text on left */
}

.animated-button.arrow-left.text-right .animated-line
 {
    left: -20px; /* For left-pointing arrow with text on right, or right-pointing arrow with text on left */
}



/* We Specialise Section CSS */
.we-specialise-section {
  background-color: transparent;
  color: #b5b5b5;
  padding: 0px 0;
  font-family: "Brother 1816";
}

.main-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.image-column, .text-column {
  width: 50%;
  position: relative;
}

.text-column{
	padding-left: 170px;
}

.rotated-rectangle {
  width: 342px;
  height: 316px;
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  transform: translate(-50%, -50%) rotate(-30deg);
	border: 1px solid #b5b5b550;
}

.hover-line {
  width: 0;
  height: 0.5px;
  background-color: #b5b5b5;
  position: absolute;
  top: 50%;
  right: 100%;
  margin-right: 200px;
  transform: translateX(180px);
  transition: width 1s ease;
}

.service-item:hover .hover-line {
  width: 163px;
}

.arrow-end {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  opacity: 0;
  transition: opacity 1s ease;
}

.circle-end {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #b5b5b5;
  opacity: 0;
  transition: opacity 1s ease;
}

.service-item:hover .arrow-end,
.service-item:hover .circle-end {
  opacity: 1;
}

.arrow-end::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 1px;
  background-color: #b5b5b5;
  transform: rotate(-45deg);
  top: 3px;
  left: 0;
}

.arrow-end::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 1px;
  background-color: #b5b5b5;
  transform: rotate(45deg);
  bottom: 3px;
  left: 0;
}

.image-container {
  width: 405px;
  height: 382px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Removed overflow: hidden to allow images to extend beyond container */
}

.image-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.default-image {
  opacity: 1;
}

.slide-from-top {
  transform: translate(-50%, -300%);
}

.slide-from-bottom {
  transform: translate(-50%, 300%);
}

.slide-from-left {
  transform: translate(-300%, -50%);
}

/* Animation states for specific items */
.image-container.show-branding .branding-image {
  opacity: 1;
  z-index: 2;
}

.image-container.show-website .website-laptop,
.image-container.show-website .website-phone {
  opacity: 1;
}

.image-container.show-website .website-laptop {
  transform: translate(-30%, -50%);
  z-index: 2;
}

.image-container.show-website .website-phone {
  transform: translate(-140%, -30%);
  z-index: 3;
}

.image-container.show-graphic .graphic-image {
  opacity: 1;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.image-container.show-photography .photo1,
.image-container.show-photography .photo2,
.image-container.show-photography .photo3 {
  opacity: 1;
  z-index: 5;
}

.image-container.show-photography .photo1 {
  transform: translate(calc(-50% + 74px), calc(-50% - 82px));
  z-index: 3;
}

.image-container.show-photography .photo2 {
  transform: translate(calc(-50% - 90px), -50%);
  z-index: 2;
}

.image-container.show-photography .photo3 {
  transform: translate(calc(-50% + 80px), calc(-50% + 108px));
  z-index: 4;
}

.image-container.show-print .print-image {
  opacity: 1;
  z-index: 2;
}

/* Hide default image when showing other images */
.image-container.show-branding .default-image,
.image-container.show-website .default-image,
.image-container.show-graphic .default-image,
.image-container.show-photography .default-image,
.image-container.show-print .default-image {
  opacity: 0;
}

/* Service List Styling */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 50px;
}

.service-item {
  position: relative;
  padding: 15px 0;
  font-size: 26px;
  cursor: pointer;
  transition: color 0.3s ease;
	text-transform: uppercase;
}

.service-item span {
  position: relative;
  z-index: 1;
}

.service-item:hover {
  color: #b5b5b5;
}


.portfolio-slider-description{
	display: flex;
	flex-direction: column;
}
/* PORTFOLIO SLIDER BUTTON */
.portfolio-slider-explore {

    display: flex;
    
    max-width: 200px;

    padding: 6px 0px;
    color: white;
	
}

.portfolio-slider-explore:hover{
	color: white;
	text-decoration: underline;
}

a.portfolio-slider-explore:hover{
text-decoration: underline!important;
	color: #000000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .rotated-rectangle {
    width: 280px;
    height: 260px;
  }
  
  .image-container {
    width: 320px;
    height: 300px;
  }
}

@media (max-width: 768px) {
	
	/* Home slider mob styles */
	
	.portfolio-slider-container button.portfolio-slider-button{
		display: none!important;
	}
	
	.portfolio-slider-description{
		display: none;
	}
	
	    .portfolio-slider-navigation {
        left: 10px!important;
        bottom: 10px!important;
    }
	.portfolio-slider-logo {
		max-width: 80px!important;
	}
	
	.portfolio-slider-counter{
		display: none;
	}
	
	    .portfolio-slider-meta-row {
        flex-direction: row!important;
        align-items: flex-start;
    }
	
	/* Home slider mob styles */
	
	
	.elementor-22 .elementor-element.elementor-element-37faadb .elementor-field-group .elementor-field, .elementor-22 .elementor-element.elementor-element-37faadb .elementor-field-subgroup label {
   
    line-height: 12px!important;
}
  .main-container {
    flex-direction: column;
  }
  
  .image-column, .text-column {
    width: 100%;
  }
  
  .image-column {
    margin-bottom: 40px;
  }
  
  .rotated-rectangle, .image-container {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 0 auto;
  }
  
  .rotated-rectangle {
    transform: rotate(-30deg);
    margin-top: 100px;
    margin-bottom: 100px;
  }

	
	
}

/* Timeline CSS */
.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}
.timeline-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}
/* Desktop Timeline */
.desktop-timeline {
  display: none;
}

/* CONTACT FORM */

.contact-form .elementor-field-option {
    padding: 6px 4px 6px 0;
 
}

@media (min-width: 768px) {
  .desktop-timeline {
    display: block;
  }
  
	.timeline-relative{
		position: relative;
	}
	
  .timeline-numbers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
  }
  
  .timeline-number-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
  }
  
  .timeline-number {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 40px;
  }
  
  .timeline-step-container {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .timeline-vertical-line {
    width: 1px;
    background-color: #fefefe;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    opacity: 0;
    transition: height 0.6s ease, opacity 0.3s ease;
  }
  
  .timeline-top-point {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #fefefe;
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .timeline-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #fefefe;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .timeline-center-point {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #fefefe;
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .timeline-horizontal-line {
    height: 1px;
    background-color: #fefefe;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 0;
    opacity: 0;
    transition: width 1.5s ease, opacity 0.3s ease;
  }
  
  .timeline-titles {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
  }
  
  .timeline-title {
    width: 120px;
    text-align: center;
    color: #fefefe;
    font-size: 14px;
    line-height: 22px;
	  font-family: "Montserrat", Sans-serif;
	  font-weight: 300;
  }
}
/* Mobile Timeline */
.mobile-timeline {
  display: block;
}
@media (min-width: 768px) {
  .mobile-timeline {
    display: none;
  }
}
.mobile-step {
  display: flex;
  margin-bottom: 32px;
}
.mobile-step-number-container {
  margin-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-step-number {
  font-size: 1.5rem;
  font-weight: 300;
  color: white;
  margin-bottom: 8px;
  text-align: center;
}
.mobile-step-circle-container {
  position: relative;
}
.mobile-step-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #fefefe;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-step-center-point {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #fefefe;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-step-title {
  flex: 1;
  display: flex;
  align-items: center;
  color: #fefefe;
  font-size: 0.875rem;
}
/* Animation classes */
.visible {
  opacity: 1;
}
.timeline-vertical-line.animated {
  height: 48px;
  opacity: 1;
}
.timeline-horizontal-line.animated {
  width: 100%;
  opacity: 1;
}

@media only screen and (max-width: 768px) {
	

	.mobile-step-title {
  
 flex-direction: column;
        text-align: left;
        align-items: start;

}
	
	
}
