/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    height: 100%;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f8f9f2;
	font-family: 'Glacial Indifference', sans-serif !important;
    min-height: 100%;
}

* {
	font-family: 'Glacial Indifference', sans-serif !important;
}

/* ===== Global Typography ===== */
/* All Headings use weight 400 */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 400;
	font-family: 'Glacial Indifference', sans-serif !important;
}

/* ===== Header Section ===== */
.header-section {
  background:#fdf9ed;
  position: -webkit-sticky; /* Safari support */
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0;
  z-index: 9999;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 0;
}

/* Container */
.header-container {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Logo Image */
.header-logo {
  padding-left: 0;
}

.header-logo img,
.mobile-logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

/* Hide mobile logo on desktop and tablet */
.mobile-logo {
  display: none;
}

/* Desktop Menu */
.header-nav {
  display: flex;
  gap: 30px;
}

.header-nav a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;

}

/* Hide mobile close button on desktop */
.mobile-menu-close {
  display: none;
}

/* Right Side */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 0;
}

/* Button (Desktop only) */
.header-btn {
  padding: 10px 20px;
  border: none;
  background: #1A4D3A;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;

  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.header-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

/* Hamburger */
.header-toggle {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
  line-height: 1;
}

/* ===== Hide Button on Tablet & Mobile ===== */
@media (max-width: 1024px) {
  .header-btn {
    display: none;
  }
}

/* ===== Mobile Slide Menu ===== */
@media (max-width: 768px) {
  /* Ensure header stays sticky on mobile */
  .header-section {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-container {
    padding: 12px 0;
  }
  
  .header-logo {
    padding-left: 15px;
  }
  
  .header-right {
    padding-right: 15px;
  }

  .header-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100vh;
    background:#fdf9ed;
    flex-direction: column;
    padding: 25px;
    gap: 25px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.15);
    transition: left 0.35s ease-in-out;
    z-index: 999;
  }

  .header-nav.active {
    left: 0;
  }

  /* Close button inside slider */
  .mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 36px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1000;
  }

  .mobile-menu-close:hover {
    color: #1a4d3a;
  }

  .mobile-menu-close:active {
    transform: scale(0.95);
  }

  /* Logo inside slider */
  .mobile-logo {
    display: block;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  .header-toggle {
    display: block;
  }
}

/**
 * Sage Landing Page Styles
 * Hero section with left side text/button and right side 3-column animated slider
 */

/* Hero Slider Section */
.sage-hero-slider {
	background: #1a4d3a;
	color: #ffffff;
	padding: 0px 10px;
	min-height: 700px;
	display: flex;
	align-items: center;
	position: relative;
	overflow: visible;
}

.sage-slider-container {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 80px;
	align-items: center;
	width: 100%;
	padding: 0 10px;
}

/* Left Side: Content */
.sage-slider-content {
	max-width: 500px;
	z-index: 1;
	display: block;
	visibility: visible;
	opacity: 1;
	position: relative;
}

.sage-slider-title {
	font-size: 3.5rem;
	font-weight: 400;
	margin-bottom: 30px;
	line-height: 1.1;
	color: #a8e6cf;
	overflow: visible;
	word-wrap: break-word;
	text-shadow: none !important;
	-webkit-text-shadow: none !important;
	filter: none !important;
	-webkit-filter: none !important;
	background: none !important;
	background-image: none !important;
}

.sage-slider-title * {
	text-shadow: none !important;
	-webkit-text-shadow: none !important;
	filter: none !important;
	-webkit-filter: none !important;
}

.sage-slider-title br {
	line-height: 0.5;
	display: block;
	margin: 0;
	content: "";
}

.sage-title-line {
    font-family: 'Glacial Indifference', sans-serif !important;
	display: block;
	font-size: 3.5rem;
	margin-bottom: -0.8em;
}

.sage-text-slider-wrapper {
	display: inline-block;
	position: relative;
	overflow: visible;
	vertical-align: bottom;
	min-width: 300px;
	width: max-content;
	max-width: 100%;
	height: 5.2rem;
	line-height: 1.2;
	margin-top: -0.3em;
	text-shadow: none !important;
	-webkit-text-shadow: none !important;
	filter: none !important;
	-webkit-filter: none !important;
	background: none !important;
	background-image: none !important;
	mask-image: none !important;
	-webkit-mask-image: none !important;
}

.sage-text-slider {
	display: flex;
	flex-direction: column;
	animation: sageTextSlide 12s infinite;
	animation-timing-function: linear;
	will-change: transform;
	height: 100%;
	align-items: flex-start;
	overflow: visible;
	width: max-content;
	min-width: 100%;
}

.sage-text-slider .sage-slider-item {
    font-family: 'Glacial Indifference', sans-serif !important;
	font-size: 4rem;
	font-weight: 400;
	color: #ffffff !important;
	line-height: 1.3;
	white-space: nowrap;
	display: inline-block;
	align-items: center;
	flex-shrink: 0;
	height: 5.2rem;
	padding: 0;
	margin: 0;
	width: max-content;
	text-shadow: none !important;
	-webkit-text-shadow: none !important;
	filter: none !important;
	-webkit-filter: none !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	background: none !important;
	background-image: none !important;
}

.sage-slider-title .highlight {
	color: #a8e6cf;
	font-weight: 600;
}

.sage-slider-description {
	font-size: 1.125rem;
	margin-top: 0;
	margin-bottom: 30px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 300;

}

/* Text Slider Animation - Infinite Loop */
@keyframes sageTextSlide {
	0% {
		transform: translateY(0);
	}
	14% {
		transform: translateY(0);
	}
	16.66% {
		transform: translateY(-100%);
	}
	30.66% {
		transform: translateY(-100%);
	}
	33.33% {
		transform: translateY(-200%);
	}
	47.33% {
		transform: translateY(-200%);
	}
	50% {
		transform: translateY(-300%);
	}
	64% {
		transform: translateY(-300%);
	}
	66.66% {
		transform: translateY(-400%);
	}
	80.66% {
		transform: translateY(-400%);
	}
	83.33% {
		transform: translateY(-500%);
	}
	97.33% {
		transform: translateY(-500%);
	}
	100% {
		transform: translateY(-600%);
	}
}

.sage-buttons-wrapper {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 40px;
}

.btn-sage-slider {

	font-size: var(--ztc-font-size-font-s18, 18px);
	font-weight: var(--ztc-weight-bold, 700);
	font-style: normal;
	line-height: 18px;
	letter-spacing: -0.36px;
	text-transform: uppercase;
	display: inline-block;
	transition: all 0.4s;
	padding: 18px 22px;
	border-radius: var(--rounded-lg, 8px);
	position: relative;
	z-index: 1;
	text-decoration: none;
	border: none;
	cursor: pointer;
	visibility: visible;
	opacity: 1;
}

.btn-sage-primary {
	background: #fff !important;
	color: #1a4d3a;
}

.btn-sage-primary:hover {
	background-color: #8dd3c0 !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	color: #1a4d3a;
}

.btn-sage-secondary {
	background: transparent !important;
	color: #fff;
	border: 2px solid #fff;
}

.btn-sage-secondary:hover {
	background-color: rgba(255, 255, 255, 0.1) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	color: #fff;
	border-color: #a8e6cf;
}

/* Right Side: Slider Grid */
.sage-slider-grid-wrapper {
	position: relative;
	height: 600px;
	overflow: hidden;
	width: 100%;
}

.sage-slider-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	height: 100%;
	position: relative;
	align-items: start;
}

.sage-slider-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: fit-content;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	will-change: transform;
}

/* Column 1 & 3: Slide Up (Bottom to Top) */
.sage-slider-column-up {
	animation-name: sageSlideUp;
	animation-duration: 160s;
	animation-direction: normal;
}

/* Column 2: Slide Down (Top to Bottom) */
.sage-slider-column-down {
	animation-name: sageSlideDown;
	animation-duration: 400s;
	animation-delay: 0s;
	animation-direction: normal;
}

.sage-slider-item {
	flex-shrink: 0;
	width: 100%;
}

.sage-slider-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease;
	height: 280px;
	display: flex;
	flex-direction: column;
}

.sage-slider-card:hover {
	transform: scale(1.05);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.sage-card-logo {
	display: none;
}

.sage-card-image {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.sage-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Animations */
@keyframes sageSlideUp {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(calc(-50% - 10px));
	}
}

@keyframes sageSlideDown {
	from {
		transform: translateY(calc(-50% - 10px));
	}
	to {
		transform: translateY(0);
	}
}

/* Pause animation on hover */
.sage-slider-grid-wrapper:hover .sage-slider-column {
	animation-play-state: paused;
}

/* Mobile Sliders - Hidden by default */
.sage-mobile-sliders {
	display: none;
}

.sage-mobile-slider-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.sage-mobile-slider-track {
	display: flex;
	gap: 15px;
	width: fit-content;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	will-change: transform;
}

.sage-mobile-slider-item {
	flex-shrink: 0;
	width: 280px;
}

.sage-mobile-slider-top {
	margin-bottom: 20px;
}

/* Left to Right Animation */
.sage-slide-left-right {
	animation-name: sageSlideLeftRight;
	animation-duration: 200s;
	animation-direction: normal;
}

/* Right to Left Animation */
.sage-slide-right-left {
	animation-name: sageSlideRightLeft;
	animation-duration: 200s;
	animation-direction: normal;
}

@keyframes sageSlideLeftRight {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-50% - 7.5px));
	}
}

@keyframes sageSlideRightLeft {
	from {
		transform: translateX(calc(-50% - 7.5px));
	}
	to {
		transform: translateX(0);
	}
}

/* Pause mobile slider on hover */
.sage-mobile-slider-wrapper:hover .sage-mobile-slider-track {
	animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 968px) {
	.sage-hero-slider {
		padding: 50px 20px;
		min-height: auto;
	}

	.sage-slider-container {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.sage-slider-content {
		max-width: 100%;
		text-align: center;
	}

	.sage-slider-title {
		font-size: 3rem;
	}

	.sage-title-line {
		font-size: 3rem;
		margin-bottom: -0.8em;
	}

	.sage-text-slider-wrapper {
		min-width: 280px;
		width: max-content;
		max-width: 100%;
		height: 4.5rem;
	}

	.sage-text-slider .sage-slider-item {
		font-size: 3.5rem;
		height: 4.5rem;
		line-height: 1.3;
		width: max-content;
	}

	.sage-buttons-wrapper {
		justify-content: center;
	}

	.sage-slider-description {
        font-family: 'Glacial Indifference', sans-serif !important;
		font-size: 1.25rem;
	}

	.sage-slider-grid-wrapper {
		height: 500px;
	}

	.sage-slider-grid {
		gap: 15px;
	}

	.sage-slider-card {
		height: 240px;
	}
}

@media (max-width: 768px) {
	.sage-hero-slider {
		padding: 40px 20px;
		min-height: auto;
	}

	.sage-slider-container {
		grid-template-columns: 1fr;
		gap: 40px;
		display: flex;
		flex-direction: column;
	}

	.sage-slider-content {
		max-width: 100%;
		text-align: center;
		order: 1;
		z-index: 1;
		position: relative;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.sage-slider-title {
		font-size: 2.5rem;
		margin-bottom: 20px;
	}

	.sage-title-line {
		font-size: 2.5rem;
		margin-bottom: -0.8em;
	}

	.sage-text-slider-wrapper {
		min-width: 250px;
		width: max-content;
		max-width: 100%;
		height: 3.8rem;
		mask-image: none;
		-webkit-mask-image: none;
	}

	.sage-text-slider .sage-slider-item {
		font-size: 3rem;
		height: 3.8rem;
		line-height: 1.3;
		width: max-content;
	}

	.sage-buttons-wrapper {
		justify-content: center;
		gap: 15px;
	}

	.btn-sage-slider {
		font-size: 16px;
		padding: 15px 20px;
	}

	.sage-slider-description {
		font-size: 1.125rem;
		margin-top: 0;
		margin-bottom: 25px;
	}

	.btn-sage-slider {
		display: inline-block;
		margin: 0 auto;
	}

	/* Hide desktop slider on mobile */
	.sage-desktop-slider {
		display: none;
	}

	/* Show mobile sliders */
	.sage-mobile-sliders {
		display: block;
		width: 100%;
		order: 2;
		margin-top: 20px;
	}

	.sage-mobile-slider-item {
		width: 250px;
	}

	.sage-slider-card {
		height: 220px;
	}
}

@media (max-width: 640px) {
	.sage-hero-slider {
		padding: 50px 15px;
	}

	.sage-slider-content {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		position: relative !important;
		z-index: 1 !important;
	}

	.sage-slider-title {
		font-size: 2.25rem;
		margin-bottom: 15px;
	}

	.sage-title-line {
		font-size: 2.25rem;
		margin-bottom: -0.8em;
	}

	.sage-text-slider-wrapper {
		min-width: 220px;
		width: max-content;
		max-width: 100%;
		height: 3.6rem;
		mask-image: none;
		-webkit-mask-image: none;
	}

	.sage-text-slider .sage-slider-item {
		font-size: 2.75rem;
		height: 3.6rem;
		line-height: 1.3;
		width: max-content;
	}

	.sage-buttons-wrapper {
		flex-direction: column;
		gap: 12px;
	}

	.btn-sage-slider {
		width: 100%;
		text-align: center;
	}

	.sage-slider-description {
		font-size: 0.9rem;
		margin-top: 0;
		margin-bottom: 20px;
	}

	.btn-sage-slider {
		padding: 12px 28px;
		font-size: 0.9rem;
		display: inline-block !important;

	}

	.sage-mobile-slider-item {
		width: 220px;
	}

	.sage-slider-card {
		height: 200px;
	}
}

/* Site main adjustments */
.sage-landing-page {
	margin: 0;
	padding: 0;

}

/* ===== Video Text Slider Section ===== */
.sg-video-text-slider-section {

    padding: 80px 20px;
    background: transparent;
    position: relative;
}

.sg-video-text-slider-container {

    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.sg-slide-wrapper {

    width: 100%;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: none;
}

.sg-slide-wrapper:hover {

    transform: translateY(-4px);
}

.sg-slide-content-wrapper {

    display: flex;
    width: 100%;
    min-height: 500px;
    gap: 0;
}

/* Left Side - Video Container */
.sg-left-container {

    flex: 1;
    position: relative;
    width: 50%;
    min-height: 500px;
    background: transparent;
    box-shadow: none;
}

.sg-slide-video-container {

    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

/* Right Side - Text Container */
.sg-right-container {

    flex: 1;
    position: relative;
    width: 50%;
}

.sg-slide-video-wrapper {

    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

.sg-slide-video {

    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
    max-width: 100%;
    max-height: 100%;
    background: transparent;
    box-shadow: none;
    filter: none;
}

video.sg-slide-video {

    background: transparent;
    box-shadow: none;
    filter: none;
}

/* Right Side - Text Content */
.sg-slide-text-container {

    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.sg-slide-badge {

    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.sg-slide-badge-dot {

    width: 8px;
    height: 8px;
    background: #2d8659;
    border-radius: 50%;
    margin-right: 8px;
}

.sg-slide-badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #2d8659;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sg-slide-heading {

    font-size: 15px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.sg-slide-title {

    font-size: 36px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.sg-slide-description {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

/* Button Styles */
.sg-btn-sage-slider {

    font-size: var(--ztc-font-size-font-s18, 18px);
    font-weight: var(--ztc-weight-bold, 700);
    font-style: normal;
    line-height: 18px;
    letter-spacing: -0.36px;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.4s;
    padding: 18px 22px;
    border-radius: var(--rounded-lg, 8px);
    position: relative;
    z-index: 1;
    text-decoration: none;
    border: none;
    cursor: pointer;
    visibility: visible;
    opacity: 1;
}

.sg-btn-sage-primary {
    background: #1A4D3A;
    color: #fff;
    text-align: center;
}

.sg-btn-sage-primary:hover {
    background-color: #fff;
    transform: translateY(-2px);
    color: #1A4D3A;
}

.sg-btn-sage-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.sg-btn-sage-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #fff;
    border-color: #a8e6cf;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sg-slide-content-wrapper {

        flex-direction: column;
        min-height: auto;
    }
    
    .sg-left-container {

        width: 100%;
    }
    
    .sg-right-container {

        width: 100%;
    }
    
    .sg-slide-video-container {

        min-height: 400px;
    }
    
    .sg-slide-text-container {

        padding: 40px 30px;
        min-height: auto;
    }
    
    .sg-slide-title {

        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .sg-video-text-slider-section {

        padding: 60px 15px;
    }
    
    .sg-slide-video-container {

        min-height: 300px;
    }
    
    .sg-slide-text-container {

        padding: 30px 20px;
    }
    
    .sg-slide-title {

        font-size: 36px;
    }
    
}

@media (max-width: 480px) {
    .sg-slide-title {
        font-size: 36px;
    }
    
    .sg-slide-heading {
        font-size: 15px;
    }
}

/* ===== About Section ===== */
.sg-about-section {
    padding: 100px 20px;
    background: #fdf9ed;

}

.sg-about-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.sg-about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.sg-about-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.sg-about-badge-dot {
    width: 8px;
    height: 8px;
    background: #2d8659;
    border-radius: 50%;
    margin-right: 8px;
}

.sg-about-badge-text {
    font-weight: 600;
    color: #2d8659;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.sg-about-title {

    font-size: 48px;
    font-weight: 400;
    color: #1a4d3a;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.2;
}

.sg-about-description {

    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.sg-about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.sg-stat-item {
    text-align: center;
}

.sg-stat-number {

    font-size: 48px;
    font-weight: 700;
    color: #1a4d3a;
    margin-bottom: 10px;
}

.sg-stat-label {

    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Services Section ===== */
.sg-services-section {
    padding: 100px 20px;
    background: #ffffff;

}

.sg-services-container {
    width: 100%;
    margin: 0 auto;
}

.sg-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.sg-services-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.sg-services-badge-dot {
    width: 8px;
    height: 8px;
    background: #2d8659;
    border-radius: 50%;
    margin-right: 8px;
}

.sg-services-badge-text {
    font-weight: 600;
    color: #2d8659;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.sg-services-title {

    font-size: 48px;
    font-weight: 400;
    color: #1a4d3a;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.sg-services-subtitle {

    font-size: 18px;
    color: #666;
}

.sg-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.sg-service-card {
    background: #fdf9ed;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.sg-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #1a4d3a;
}

.sg-service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.sg-service-name {

    font-size: 24px;
    font-weight: 400;
    color: #1a4d3a;
    margin-bottom: 15px;
    font-weight: 600;
}

.sg-service-description {

    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ===== Portfolio Section ===== */
.sg-portfolio-section {
    padding: 100px 20px;
    background: #f8f9f2;

}

.sg-portfolio-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.sg-portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.sg-portfolio-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.sg-portfolio-badge-dot {
    width: 8px;
    height: 8px;
    background: #2d8659;
    border-radius: 50%;
    margin-right: 8px;
}

.sg-portfolio-badge-text {
    font-weight: 600;
    color: #2d8659;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.sg-portfolio-title {

    font-size: 48px;
    font-weight: 400;
    color: #1a4d3a;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.sg-portfolio-subtitle {

    font-size: 18px;
    color: #666;
}

.sg-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.sg-portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
}

.sg-portfolio-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sg-portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sg-portfolio-item:hover .sg-portfolio-image img {
    transform: scale(1.1);
}

.sg-portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 77, 58, 0.9), transparent);
    padding: 30px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sg-portfolio-item:hover .sg-portfolio-overlay {
    transform: translateY(0);
}

.sg-portfolio-item-title {

    font-size: 24px;
    font-weight: 400;
    margin-bottom: 5px;
}

.sg-portfolio-item-category {

    font-size: 14px;
    opacity: 0.9;
}

.sg-portfolio-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== Testimonial Section ===== */
.sg-testimonial-section {
    padding: 100px 20px;
    background: #1a4d3a;
    color: #ffffff;

}

.sg-testimonial-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.sg-testimonial-header {
    text-align: center;
    margin-bottom: 60px;
}

.sg-testimonial-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.sg-testimonial-badge-dot {
    width: 8px;
    height: 8px;
    background: #a8e6cf;
    border-radius: 50%;
    margin-right: 8px;
}

.sg-testimonial-badge-text {
    font-weight: 600;
    color: #a8e6cf;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.sg-testimonial-title {

    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.sg-testimonial-subtitle {

    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.sg-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sg-testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.sg-testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.sg-testimonial-rating {
    color: #a8e6cf;
    font-size: 20px;
    margin-bottom: 20px;
}

.sg-testimonial-text {

    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.sg-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sg-testimonial-author-name {

    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 600;
}

.sg-testimonial-author-role {

    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Contact Section ===== */
.sg-contact-section {
    padding: 100px 20px;
    background-color: #f8f9f2;
    background-image: url('https://business.sagemedia.in/wp-content/uploads/2025/12/Untitled-design-3.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: scroll !important;
    min-height: 100vh;
    position: relative;
}

.sg-contact-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.sg-contact-content {
    display: grid;
   grid-template-columns: 30% 70%;
	gap: 60px;
    align-items: flex-start;
}

.sg-contact-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.sg-contact-left-wrapper {
    background: #1a4d3a;
    padding: 60px 50px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Contact Header */
.sg-contact-header {
    text-align: center;
}

.sg-contact-header-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.sg-contact-header-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sg-contact-header-description {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Info Grid */
.sg-contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sg-contact-info-column {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
}

.sg-contact-info-column .sg-contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    color: #ffffff;
    margin: 0;
    flex-shrink: 0;
}

.sg-contact-info-column .sg-contact-info-icon svg {
    width: 28px;
    height: 28px;
}

.sg-contact-info-column .sg-contact-info-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sg-contact-info-heading {
    font-size: 25px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    text-transform: none;
}

.sg-contact-info-text {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
}

.sg-contact-right {
    display: flex;
    flex-direction: column;
}

.sg-contact-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.sg-contact-badge-dot {
    width: 8px;
    height: 8px;
    background: #2d8659;
    border-radius: 50%;
    margin-right: 8px;
}

.sg-contact-badge-text {
    font-weight: 600;
    color: #2d8659;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.sg-contact-title {

    font-size: 42px;
    font-weight: 400;
    color: #1a4d3a;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.2;
}

.sg-contact-description {

    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.sg-contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.sg-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.sg-contact-info-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdf9ed;
    border-radius: 8px;
    flex-shrink: 0;
    color: #1a4d3a;
}

.sg-contact-info-icon svg {
    width: 24px;
    height: 24px;
}

.sg-contact-info-details h4 {

    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 600;
}

.sg-contact-info-details p {

    font-size: 16px;
    color: #ffffff;
}

.sg-contact-form-wrapper {
    background: #1f4f3a;
    padding: 50px 40px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    color: white;
}

/* Form Messages */
.sg-form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.sg-form-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sg-form-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Success Popup Modal */
.sg-success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sg-success-popup {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sg-success-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sg-success-icon {
    margin-bottom: 10px;
}

.sg-success-popup-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    font-family: 'Glacial Indifference', sans-serif !important;
}

.sg-success-popup-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-family: 'Glacial Indifference', sans-serif !important;
}

.sg-popup-close-btn {
    background: #2c5530;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Glacial Indifference', sans-serif !important;
    margin-top: 10px;
}

.sg-popup-close-btn:hover {
    background: #1e3a21;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
}

@media (max-width: 768px) {
    .sg-success-popup {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .sg-success-popup-content h3 {
        font-size: 24px;
    }
    
    .sg-success-popup-content p {
        font-size: 14px;
    }
}

/* Contact Form Styles */
.sg-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sg-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sg-form-group label,
.sg-form-label {
    font-size: 14px;
    font-weight: 400;
    color: #1a4d3a;
    margin-bottom: 5px;
}

.sg-contact-form input[type="text"],
.sg-contact-form input[type="email"],
.sg-contact-form input[type="tel"],
.sg-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Glacial Indifference', sans-serif !important;
    background: #ffffff;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.sg-contact-form input[type="text"]:focus,
.sg-contact-form input[type="email"]:focus,
.sg-contact-form input[type="tel"]:focus,
.sg-contact-form textarea:focus {
    outline: none;
    border-color: #1a4d3a;
    box-shadow: 0 0 0 3px rgba(26, 77, 58, 0.1);
}

.sg-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Services Checkboxes */
.sg-services-checkboxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.sg-checkbox-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sg-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.sg-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1a4d3a;
    flex-shrink: 0;
}

.sg-checkbox-label span {
    line-height: 1.4;
}

.sg-contact-form button[type="submit"] {
    margin-top: 10px;
    align-self: center;
    min-width: 150px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .sg-services-grid,
    .sg-portfolio-grid,
    .sg-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sg-contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sg-contact-left-wrapper {
        padding: 50px 40px;
        gap: 40px;
    }

    .sg-contact-info-grid {
        gap: 35px;
    }

    .sg-contact-left {
        order: 2;
    }

    .sg-contact-right {
        order: 1;
    }
    
    .sg-about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .sg-contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sg-contact-section {
        background-image: url('https://business.sagemedia.in/wp-content/uploads/2025/12/Untitled-design-3.png') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
}

@media (max-width: 768px) {
    .sg-about-section,
    .sg-services-section,
    .sg-portfolio-section,
    .sg-testimonial-section,
    .sg-contact-section {
        padding: 60px 20px;
    }
    
    .sg-contact-section {
        background-image: url('https://business.sagemedia.in/wp-content/uploads/2025/12/Untitled-design-3.png') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        min-height: auto;
    }
    
    .sg-contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sg-about-title,
    .sg-services-title,
    .sg-portfolio-title,
    .sg-testimonial-title {
        font-size: 36px;
    }
    
    .sg-services-grid,
    .sg-portfolio-grid,
    .sg-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .sg-about-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sg-stat-number {
        font-size: 36px;
    }
    
    .sg-contact-title {
        font-size: 32px;
    }

    .sg-form-row {
        grid-template-columns: 1fr;
    }

    .sg-services-checkboxes {
        grid-template-columns: 1fr;
    }

    .sg-contact-form-wrapper {
        padding: 40px 30px;
    }

    .sg-contact-left-wrapper {
        padding: 40px 30px;
        gap: 35px;
    }

    .sg-contact-header-title {
        font-size: 36px;
    }

    .sg-contact-info-grid {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .sg-contact-section {
        padding: 40px 15px;
        background-image: url('https://business.sagemedia.in/wp-content/uploads/2025/12/Untitled-design-3.png') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        min-height: auto;
    }
    
    .sg-contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sg-contact-container {
        padding: 0 15px;
    }
    
    .sg-about-title,
    .sg-services-title,
    .sg-portfolio-title,
    .sg-testimonial-title {
        font-size: 28px;
    }
    
    .sg-contact-title {
        font-size: 24px;
    }
    
    .sg-about-description,
    .sg-contact-description {
        font-size: 16px;
    }

    .sg-contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .sg-contact-left-wrapper {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .sg-contact-header-title {
        font-size: 28px;
    }
    
    .sg-contact-header-subtitle {
        font-size: 12px;
    }
    
    .sg-contact-header-description {
        font-size: 14px;
    }
    
    .sg-contact-info-heading {
        font-size: 20px;
    }
    
    .sg-contact-info-text {
        font-size: 14px;
    }

    .sg-form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer Section ===== */
.sg-footer {
    background: #1a4d3a;
    color: #ffffff;
    padding: 60px 20px 30px;
}

.sg-footer-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.sg-footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.sg-footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Footer Logo */
.sg-footer-logo {
    margin-bottom: 20px;
}

.sg-footer-logo img {
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
}

.sg-footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 400px;
}

/* Social Media Icons */
.sg-footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sg-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sg-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sg-social-icon svg {
    width: 20px;
    height: 20px;
}

.sg-footer-title {

    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sg-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sg-footer-links li {
    margin-bottom: 12px;
}

.sg-footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sg-footer-links a:hover {
    color: #a8e6cf;
}

.sg-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sg-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.6;
    justify-content: flex-start;
    text-align: left;
    max-width: 100%;
}

.sg-footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #ffffff;
}

.sg-footer-contact li span {
    flex: 1;
}

.sg-footer-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ffffff;
    color: #1a4d3a;
    text-decoration: none;
    border-radius: 5px;

    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: transform 0.3s ease, background 0.3s ease;
    margin-top: 10px;
}

.sg-footer-btn:hover {
    transform: translateY(-2px);
    background: #a8e6cf;
    color: #1a4d3a;
}

.sg-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sg-footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.sg-scroll-to-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sg-scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sg-scroll-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .sg-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .sg-footer-left {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .sg-footer {
        padding: 40px 20px 20px;
    }
    
    .sg-footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sg-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ===== Fluent Form Popup Styles ===== */
.sg-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.sg-popup-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sg-popup-content {
    background: #1a4d3a;
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 100000;
	color : white ;
}

.sg-popup-overlay.active .sg-popup-content {
    transform: scale(1);
}

.sg-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 10;
}

.sg-popup-close:hover {
    background: #f0f0f0;
    color: #000;
}

.sg-popup-form {
    margin-top: 10px;
}

.sg-popup-form-wrapper {
    margin-top: 10px;
}

/* Responsive styles for popup */
@media (max-width: 768px) {
    .sg-popup-content {
        padding: 25px 20px;
        width: 95%;
        max-height: 85vh;
    }
    
    .sg-popup-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
        width: 30px;
        height: 30px;
    }
}
