:root {
    --yellow-color: #ffdd00;
    --gray-color: #aaa;
    --black-color: #000;
}


.maincontent {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}


.hero-slideshow {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.507) 0%, rgba(0, 0, 0, 0.514) 100%);
}

/* Slide 1 Background */
.hero-slide-1 .hero-slide-bg {
    background-image: url('/imageserver/UserMedia/cmsa/cmsa-hero-main001.jpg');
}

/* Slide 2 Background */
.hero-slide-2 .hero-slide-bg {
    background-image: url('/imageserver/UserMedia/cmsa/cmsa-hero-main002.jpg');
}

/* Slide 3 Background */
.hero-slide-3 .hero-slide-bg {
    background-image: url('/imageserver/UserMedia/cmsa/cmsa-hero-main003.jpg');
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0;
    padding: 0 100px;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: var(--yellow-color);
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.hero-slide.active .hero-badge {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

.hero-slide.active .hero-slide-content h1 {
    transform: translateY(0);
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 500;
    color: var(--yellow-color);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.7s;
}

.hero-slide.active .hero-subtitle {
    transform: translateY(0);
    opacity: 0.95;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 981px;
    line-height: 1.5;
    opacity: 0.9;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.9s;
}

.hero-slide.active .hero-description {
    transform: translateY(0);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 1.1s;
}

.hero-slide.active .hero-buttons {
    transform: translateY(0);
    opacity: 1;
}

a.btn.btn-primary {
	border-radius: 50px;
}

.btn-primary {
    background: #000;
    color: var(--yellow-color);
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--yellow-color);
    transform: translateY(-3px);
    text-decoration: none;
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 12px 25px;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #fff;
    color: #000000;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.slide-dot.active {
    background: var(--yellow-color);
    width: 40px;
    border-radius: 10px;
    border-color: #fff;
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Navigation Arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0);
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: none;
}

.slide-nav:hover {
    background: #ffffff29;
    border-color: #ffffff29;
    transform: translateY(-50%) scale(1.1);
}

.slide-nav svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff29;
    stroke-width: 3;
}

.slide-nav:hover svg {
    stroke: #fff;
}

.slide-prev {
    left: 30px;
}

.slide-next {
    right: 30px;
}

/* Featured Projects Multi-Image Gallery */
.featured-multi-gallery {
    background: #fff;
    padding: 100px 20px;
}

.multi-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.multi-gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.multi-gallery-badge {
    display: inline-block;
    background: var(--yellow-color);
    color: #000000;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.multi-gallery-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: #000;
}

.multi-gallery-header span {
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--yellow-color);
}

.multi-gallery-header p {
    font-size: 1.2rem;
    color: #525252;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Gallery Slideshow Container */
.multi-gallery-slideshow {
    position: relative;
    margin-bottom: 50px;
}

.multi-gallery-wrapper {
    overflow: hidden;
    border-radius: 20px;
    padding: 0 60px;
}

.multi-gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.gallery-image-item {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-image-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-image-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-image-item:hover img,
.gallery-image-item:hover .gallery-image-placeholder {
    transform: scale(1.05);
}

.gallery-image-enlarge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-image-item:hover .gallery-image-enlarge {
    opacity: 1;
    transform: scale(1);
}

.gallery-image-enlarge svg {
    width: 22px;
    height: 22px;
    stroke: #ccc;
    stroke-width: 2.5;
}

/* Navigation Arrows */
.multi-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: #6a6a6a4a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.multi-gallery-nav:hover {
    background: var(--yellow-color);
    transform: translateY(-50%) scale(1.1);
}

.multi-gallery-nav svg {
    width: 26px;
    height: 26px;
    stroke: #ccc;
    stroke-width: 3;
    transition: stroke 0.3s ease;
}

.multi-gallery-nav:hover svg {
    stroke: #fff;
}

.multi-gallery-nav-prev {
    left: 0;
}

.multi-gallery-nav-next {
    right: 0;
}

.multi-gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Indicators */
.multi-gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.multi-gallery-dot {
    width: 10px;
    height: 10px;
    background: var(--gray-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.multi-gallery-dot.active {
    background: var(--yellow-color);
    width: 35px;
    border-radius: 8px;
}

.multi-gallery-dot:hover {
    background: var(--gray-color);
}

/* View Full Gallery Button */
.multi-gallery-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-view-full-gallery {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: var(--yellow-color);
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-view-full-gallery:hover {
    background: var(--yellow-color);
    transform: translateY(-3px);
    color: #000;
    text-decoration: none;
}

.btn-view-full-gallery svg {
    width: 22px;
    height: 22px;
    stroke: var(--yellow-color);
    transition: transform 0.3s ease;
}

.btn-view-full-gallery:hover svg {
    transform: translateX(5px);
}

/* Lightbox */
.multi-gallery-lightbox {
    position: fixed;
    top: 135px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multi-gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-image-wrapper {
    position: relative;
    max-width: 1400px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-displayed-image {
    max-width: 981px;
    width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}


.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--yellow-color);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: #ccc;
    transition: stroke 0.3s ease;
}

.lightbox-close:hover svg {
    stroke: #fff;
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-navigation:hover {
    background: #ccc;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-navigation svg {
    width: 28px;
    height: 28px;
    stroke: #ccc;
    stroke-width: 3;
    transition: stroke 0.3s ease;
}

.lightbox-navigation:hover svg {
    stroke: #fff;
}

.lightbox-navigation-prev {
    left: 30px;
}

.lightbox-navigation-next {
    right: 30px;
}

.lightbox-image-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    color: #ccc;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}


.intro-about-section {
    background: #fff;
    padding: 100px 0px;
}

.intro-about-container {
    max-width: 1800px;
    margin: 0 auto;
}

/* Top Intro Row */
.intro-row {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 80px;
	align-items: center;
	margin-bottom: 120px;
	width: 95%;
	margin-inline: auto;
}

.intro-image-wrapper {
    position: relative;
}

.intro-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.intro-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--yellow-color) 0%, #000000 100%);
    z-index: 2;
}

.intro-image-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
}

.intro-image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


.intro-contact-badge {
    position: absolute;
    bottom: -25px;
    right: 20px;
    background: var(--yellow-color);
    color: #000000;
    padding: 18px 30px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.intro-contact-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.5);
}

.intro-contact-badge svg {
    width: 24px;
    height: 24px;
    fill: #000000;
}

.intro-content h2 {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.2;
}

.intro-content h2 span {
    color: var(--yellow-color);
}

.intro-content p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 35px;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.stat-box {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 15px;
    border-left: 5px solid var(--yellow-color);
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: var(--yellow-color);
    transform: translateX(5px);
    border-left-color: #000000;
}

.stat-box:hover .stat-icon {
    background: #000000;
}

.stat-box:hover .stat-icon svg {
    stroke: var(--yellow-color);
}

.stat-box:hover .stat-text {
    color: #000000;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--yellow-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.stat-icon svg {
    width: 26px;
    height: 26px;
    stroke: #000000;
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.stat-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000000;
    transition: all 0.3s ease;
}

/* Bottom About Row (Reversed) */
.about-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
width: 95%;
margin-inline: auto;
}

.about-content h3 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.about-content h3 span {
    color: var(--yellow-color);
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 30px;
}

.about-features-list {
    list-style: none;
    margin-bottom: 35px;
    margin-left: -35px;
}

.about-features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #333;
    font-weight: 600;
}

.feature-check-icon {
    width: 32px;
    height: 32px;
    background: var(--yellow-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check-icon svg {
    width: 18px;
    height: 18px;
    stroke: #000000;
    stroke-width: 3;
}

.about-cta-button {
    background: #000000;
    color: var(--yellow-color);
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 35px;
}

.about-cta-button:hover {
    background: var(--yellow-color);
    color: #000000;
    transform: translateY(-3px);
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}


.about-image-frame::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #000000 0%, var(--yellow-color) 100%);
    z-index: 2;
}

.about-image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
}

.about-image-frame img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--yellow-color) 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.about-contact-badge {
    position: absolute;
    top: -25px;
    left: 20px;
    background: #000000;
    color: var(--yellow-color);
    padding: 18px 30px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.about-contact-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.about-contact-badge svg {
    width: 24px;
    height: 24px;
    fill: var(--yellow-color);
}

.arrowRight {
	background: #000;
	color: #fff;
	height: unset;
	padding: 100px;
	border-top: 10px solid #fd0;
}
.formBox {
	border: 5px solid #000;
	padding: 40px;
	margin: 20px 60px 60px 100px;
	background: #fd0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-image-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 968px) {
    .hero-slideshow {
        height: 90vh;
    }

    .hero-slide-content {
        position: relative;
        z-index: 2;
        max-width: 1300px;
        margin: 0;
        padding: 30px 25px;
    }

    .hero-slide-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .slide-nav {
        display: none;
    }

    .slideshow-controls {
        bottom: 30px;
    }

    .intro-row,
    .about-row {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 80px;
    }

    .about-content {
        order: 2;
    }

.about-image-wrapper {
	order: 1;
	margin-top: 40px;
}

    .intro-content h2,
    .about-content h3 {
        font-size: 2.2rem;
    }

    .intro-stats {
        grid-template-columns: 1fr;
    }

    .intro-image-frame,
    .about-image-frame {
        transform: rotate(0deg);
    }

    .intro-contact-badge,
    .about-contact-badge {
        position: static;
        margin-top: 20px;
        display: inline-flex;
    }

    .featured-multi-gallery {
	background: #fff;
	padding: 40px 20px;
}

    .multi-gallery-wrapper {
        padding: 0 50px;
    }

    .gallery-image-item img,
    .gallery-image-placeholder {
        height: 350px;
    }

    .multi-gallery-header h2 {
        font-size: 2.5rem;
    }

    .lightbox-navigation {
        width: 50px;
        height: 50px;
    }

    .lightbox-navigation-prev {
        left: 15px;
    }

    .lightbox-navigation-next {
        right: 15px;
    }
}

@media (max-width: 640px) {

    .hero-badge {
	font-size: 0.7rem;
}

    .gallery-image-item {
        flex: 0 0 100%;
    }

    .multi-gallery-wrapper {
        padding: 0 45px;
    }

    .gallery-image-item img,
    .gallery-image-placeholder {
        height: 300px;
    }

    .multi-gallery-header h2 {
        font-size: 2rem;
    }

    .multi-gallery-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-navigation {
        width: 40px;
        height: 40px;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
    }

    .lightbox-image-counter {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}


@media (max-width: 480px) {
    .hero-slide-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .slideshow-controls {
        bottom: 20px;
    }

    .intro-content h2,
    .about-content h3 {
        font-size: 1.8rem;
    }

    .intro-image-frame img,
    .intro-image-placeholder,
    .about-image-frame img,
    .about-image-placeholder {
        height: 350px;
    }

    .intro-contact-badge,
    .about-contact-badge {
        font-size: 1rem;
        padding: 15px 25px;
    }
}