@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body, h1, h2, h3, h4, h5, h6, p, span, div {
    font-family: 'Poppins', sans-serif !important;
}

/* :root {
    --case-text-color: #111111 !important;
    --case-icon-color: #f6c343 !important;
} */

.case-study-single{
    max-width: 1450px !important;
    margin: 0 auto !important;
    padding: 30px 0px !important;
}

/* back button */

.arrow-icon {
    display: inline-block !important;
    width: 20px !important;       /* icon size */
    height: 20px !important;     /* icon size */
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.back-button-case a {
    display: inline-flex !important;
    align-items: center !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: color 0.3s ease !important;
    font-size: 20px !important;
}
.back-button-case a:hover {
    color: #EAC02B !important;
}
.back-button-case .arrow-icon {
    margin-right: 8px !important;
}


/* Hero Section */

.case-study-hero {
    margin-top: 30px !important;
    position: relative !important;
    height: 80vh !important;
    max-height: 600px !important;
}

.hero-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    
}

.hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.hero-overlay {
    position: absolute !important;
    border-radius: 8px !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%) !important;
}

.hero-content-2 {
    position: relative !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: start !important;
    color: var(--case-text-color) !important;
    text-align: left !important;
    z-index: 2 !important;
    padding: 90px !important;
}

/* Header Text */
.case-study{
    font-size: 40px !important;
    font-weight: 400 !important;
    color: white !important;
}
.case-study-header {
    max-width: 900px !important;
    padding: 0 20px !important;
}

.service-name {
    font-size: 60px !important;
    color: var(--case-text-color) !important;
    margin-bottom: 150px !important;
    font-weight: 700 !important;
}

.project-title {
    font-size: 60px !important;
    font-weight: 800 !important;
    color: var(--case-text-color) !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}
.fixed-icon2 {
    position: absolute !important;   /* now positioned relative to wrapper */
    top: 200px !important;
    right: -32px !important;
    width: 90px !important;
    height: 90px !important;
    z-index: 100 !important; /* on top */
}

.project-location {
    font-size: 50px !important;
    color: var(--case-text-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: start !important;
}

/* Content Section */
.case-study-container {
    margin: 0 auto !important;
    padding: 30px 0px !important;
	max-width: 1450px !important;
/* 	width: 1400px !important; */
}

.case-study-content {
    line-height: 1.8 !important;
    font-size: 18px !important;
    color: #444 !important;
}

/* Responsive Design */
@media (max-width: 1000px) {
     .case-study-single {
    padding: 20px 20px !important;
}
    .hero-content-2 {
    padding: 40px !important;
}
.service-name {
    font-size: 50px !important;
    line-height: 1 !important;
}
    .project-title {
         font-size: 50px !important;
    line-height: 1 !important;
    }
    .case-study-container {
    margin: 0 auto !important;
    padding: 20px 10px 0px 0px !important;
}
    
    .case-study-hero {
        height: 70vh !important;
        min-height: 500px !important;
    }
}

@media (max-width: 700px) {
    .case-study-single {
        padding: 10px 10px !important;
    }
        .hero-content-2 {
        padding: 0px !important;
    }
        .case-study-hero {
       margin-top: 10px !important;
    }
.case-study-two-column {
        gap: 10px !important;
    }
	.case-study{
		 font-size: 30px !important;
	}
    .project-title {
        font-size: 30px !important;
    }
    
    .service-name {
        font-size: 30px !important;
		margin-bottom: 40px !important;
    }
    
    .project-location {
        font-size: 30px !important;
    }
    
    .case-study-hero {
        height: 60vh !important;
        min-height: 400px !important;
    }
}



/* Gallery Styles */

.case-study-gallery {
    margin: 0 -10px ;
    position: relative ;
}

.case-study-gallery .gallery-item {
    padding: 0 10px ;
    outline: none ;
}

.case-study-gallery img {
    width: 100% ;
    height: 500px ;
    object-fit: cover ;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) ;
    transition: transform 0.3s ease, box-shadow 0.3s ease ;
}

/* client details */
.case-info-box {
    background: #000 !important;
    padding: 40px !important;
    border-radius: 12px !important;
    color: #fff !important;
    width: 100% !important;
    max-width: 380px !important;
}

.case-logo img {
    max-width: 300px !important;
    margin: 30px auto 30px !important;
    display: block !important;
}

.case-info-item {
    margin-bottom: 30px !important;
}

.case-info-item span {
    color: var(--case-icon-color) !important; /* Yellow heading */
    font-size: 35px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.case-info-item p {
    font-size: 35px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: white !important;
    margin: 0 !important;
}
/* --------------------------------------------- */
/* TWO COLUMN LAYOUT FOR CASE STUDY PAGE */
/* --------------------------------------------- */

.case-study-two-column {
    display: flex !important;
    gap: 30px !important;
/* 	    width: 1400px !!important; */
/*     max-width: 1400px !important; */
    /* margin: 80px auto !important; */
    padding-left: 10px !important;
}

/* LEFT COLUMN */
.case-left {
    width: 70% !important;
    height: 700px !important;
}

/* RIGHT COLUMN */
.case-right {
    max-width: 30% !important;
    height: 700px !important;
    align-items: stretch !important;
}
.case-left,
.case-right {
    flex: 1 !important;              /* equal width */
    display: flex !important;
    flex-direction: column !important;
}
/* Make black info box sticky */
.case-info-box {
    background: #000 !important;
    padding: 30px !important;
    border-radius: 10px !important;
    color: #fff !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}
.case-info-box {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* content vertically centered */
}

.case-study-gallery .gallery-item img {
    height: 600px;
    width: 100% ;
    object-fit: cover ;
    border-radius: 10px;
}


/* Mobile + Tablet Responsive */
@media (max-width: 1000px) {
    .case-study-two-column {
        flex-direction: column !important;
        gap: 20px !important;
    }
   

    .case-left,
    .case-right {
        width: 100% !important;
    }

    .case-info-box {
        position: relative !important;
        top: 0 !important;
        max-width: 100% !important;
    }
	.case-right {
    max-width: 100% !important;
}
}

.case-study-gallery-section,
.case-study-gallery {
    height: 100% !important;
}

.slick-list,
.slick-track,
.slick-slide {
    height: 100% !important;
}

.slick-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}

.slick-dots {
    display: none !important;
}



/* Remove default arrow icons */
/* Remove default arrow icons */
.slick-prev::before,
.slick-next::before {
    display: none !important;
}

/* Slick container fix */
.case-study-gallery.slick-slider {
    position: relative !important;
}

/* Arrow Position (Inside Slider) */
.case-study-gallery .slick-prev,
.case-study-gallery .slick-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    width: 56px !important;
    height: 56px !important;
    background: rgba(0,0,0,0.4) !important;
    color: var(--case-icon-color) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    opacity: 1 !important;      /* Always visible */
    pointer-events: auto !important; /* Clickable */
    border: 1px solid rgba(255,255,255,0.25) !important;
}

/* LEFT ARROW CUSTOM IMAGE */
.case-study-gallery .slick-prev {
    left: 15px !important;
}

/* RIGHT ARROW CUSTOM IMAGE */
.case-study-gallery .slick-next {
    right: 15px !important;
}

/* Hover effect */
.case-study-gallery .slick-prev:hover,
.case-study-gallery .slick-next:hover {
    transform: translateY(-50%) scale(1.1) !important;
    transition: transform 0.3s ease !important;
}

.case-study-gallery .slick-prev i,
.case-study-gallery .slick-next i {
    color: var(--case-icon-color) !important;
}

/* Custom Gallery Indicators - Inside Image */
.case-study-gallery-section {
    position: relative !important;
}

.gallery-indicators {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 20 !important;
    padding: 12px 24px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 50px !important;
}

.gallery-indicator {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.gallery-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.2) !important;
}

.gallery-indicator.active {
    background-color: #fff !important;
    border-color: #fff !important;
    width: 40px !important;
    border-radius: 6px !important;
}

/* Responsive Indicators */
@media (max-width: 768px) {
    .gallery-indicators {
        gap: 8px !important;
        bottom: 20px !important;
        padding: 10px 20px !important;
    }
    
    .gallery-indicator {
        width: 10px !important;
        height: 10px !important;
    }
    
    .gallery-indicator.active {
        width: 30px !important;
    }
	.case-right {
    max-width: 100% !important;
}
}

