/* --- Hero Section Start --- */
.hero-section {
	position: relative;
	height: 100vh;
	width: 100%;
	background: linear-gradient(180deg, rgb(0, 0, 0) 0%, transparent 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--accent-color);
	margin-top: -80px;
	padding: 100px 0 60px;
	box-sizing: border-box;
	animation: rgbGradient 10s ease infinite;
}

@keyframes rgbGradient {
	0% {
		background-color: rgba(255, 0, 0, 0.4);
	}
	33% {
		background-color: rgba(0, 255, 0, 0.4);
	}
	66% {
		background-color: rgba(0, 0, 255, 0.4);
	}
	100% {
		background-color: rgba(255, 0, 0, 0.4);
	}
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
					  linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
	background-size: 60px 60px;
	z-index: 1;
}

.hero-section::after {
	content: '';
	position: absolute;
	top: -100%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		ellipse at top center,
		transparent 0%,
		rgba(0, 0, 0, 0.8) 40%,
		rgba(0, 0, 0, 0.55) 20%,
		rgba(0, 0, 0, 0.35) 55%,
		rgba(0, 0, 0, 0.2) 90%
	);
	z-index: 1;
	pointer-events: none;
}

/* Intro Section */
.intro-content {
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	padding: 160px 20px 0;
	display: flex;
	flex-direction: column;
	text-align: center;
	color: rgba(255, 255, 255, 1);
	position: relative;
	z-index: 2;
}

.white-text {
  color: white !important;
}

#typewriter::after {
  content: '|';
  animation: blink 1s infinite;
  color: white;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#typewriter span {
  color: var(--accent-color);
}

.intro-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 auto;
  padding-bottom: 10px;
  color: white;
}

.intro-content h1 span {
  color: var(--accent-color);
}

.intro-content p {
  font-size: 18px;
  padding-top: 4px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto;
  max-width: 600px;
}

/* Hero Text Content */
.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1.1fr;
    gap: 20px;
    align-items: center;
    padding-top: 0;
	margin-bottom: 60px;
	z-index: 2;
}

.hero-text-content {
	position: relative;
    z-index: 2;
    margin-left: -120px;
}

.hero-title {
    font-size: 58px;
    line-height: 1.1;
    color: #ffffff;
	margin-top: 0;
    margin-bottom: 24px;
    font-weight: 700;
	text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
    width: 75%;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    max-width: 600px;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/* Hero Image Group Content */
.hero-image-group {
    position: relative;
    width: 100%;
    height: 700px;
    margin: 40px 0;
    z-index: 3;
}

.main-image {
    position: absolute;
    left: 50%;
    top: 43%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: auto;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float 6s infinite ease-in-out;
    transform-origin: center center;
}

.floating-card img {
    width: 24px;
    height: 24px;
    opacity: 1;
	transition: all 0.3s ease;
}

.floating-card span {
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
	transition: all 0.3s ease;
}

.card-1 {
    top: 5%;
    left: 15%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -12%;
    animation-delay: -4s;
}

.card-3 {
    top: 35%;
    right: -25%;
    animation-delay: -3s;
}

.floating-card:hover img, .floating-card:hover span {
    transform: scale(1.05);
}

.floating-image {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: float 6s infinite ease-in-out;
    z-index: 3;
    backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.floating-image:hover img {
    transform: scale(1.05);
}

.image-1 {
    top: -10%;
    left: -120%;
    animation-delay: -2s;
    transform: rotate(-5deg);
	width: 275px;
    height: 180px;
}

.image-2 {
    top: 20%;
    left: -40%;
    animation-delay: -2s;
    transform: rotate(-5deg);
	width: 275px;
    height: 180px;
}

.image-3 {
    top: -6%;
    right: -20%;
    animation-delay: -1s;
    transform: rotate(3deg);
    animation-name: float-top;
	width: 275px;
    height: 180px;
}

.image-4 {
    bottom: 15%;
    right: -32%;
    animation-delay: -5s;
    transform: rotate(5deg);
	animation-name: float-right;
	width: 275px;
    height: 180px;
}

/* Image-1 Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(-5deg);
    }
    25% {
        transform: translateY(-10px) translateX(3px) rotate(-3deg);
    }
    50% {
        transform: translateY(-15px) translateX(0) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) translateX(-3px) rotate(-7deg);
    }
}

/* Image-2 Animation */
@keyframes float-right {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(5deg);
    }
    25% {
        transform: translateY(-10px) translateX(-3px) rotate(7deg);
    }
    50% {
        transform: translateY(-15px) translateX(0) rotate(5deg);
    }
    75% {
        transform: translateY(-10px) translateX(3px) rotate(3deg);
    }
}

/* Image-3 Animation */
@keyframes float-top {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(3deg);
    }
    25% {
        transform: translateY(-10px) translateX(-3px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) translateX(0) rotate(3deg);
    }
    75% {
        transform: translateY(-10px) translateX(3px) rotate(1deg);
    }
}

/* Scroll Down Arrow */
.scroll-arrow-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-arrow ion-icon {
    font-size: 24px;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsiveness */
@media (max-width: 1440px) {
    .hero-text-content {
        padding-right: 120px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-image-group {
        height: 650px;
    }

    .main-image {
        width: 400px;
    }
}

@media (max-width: 1280px) {
    .hero-section {
        min-height: 105vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 0 40px;
    }

    .hero-text-content {
        padding-right: 0;
        margin-left: 0;
    }

    .intro-content {
        padding-top: 20px;
    }

    .intro-content p {
        font-size: 16px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.2;
        width: 75%;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
        width: 75%;
    }

    .hero-image-group {
        height: 500px;
        margin: 0;
    }

    .main-image {
        width: 340px;
        transform: translate(-50%, -50%) translateX(-75px);
    }

    .floating-card {
        transform: scale(0.9);
    }

    .card-1 {
        top: 0%;
        left: -80%;
    }

    .card-2 {
        bottom: 15%;
        left: -30%;
    }

    .card-3 {
        top: 70%;
        right: 10%;
    }

    .floating-image {
        width: 150px;
        height: 150px;
    }

    .image-1 {
        top: 75%;
        left: -65%;
    }

    .image-2 {
        top: 25%;
        left: -25%;
    }

    .image-3 {
        top: -5%;
        right: 25%;
    }

    .image-4 {
        bottom: -5%;
        right: 50%;
    }
}

@media (max-width: 992px) {
    .hero-section {
        justify-content: flex-start;
    }

    .intro-content {
        padding: 0 0 80px;
        text-align: center;
    }

    .intro-content h1 {
        font-size: 42px;
        margin-bottom: 10px;
        padding-bottom: 0;
    }

    .intro-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        padding: 0 20px;
        gap: 20px;
        align-items: center;
        margin-top: 80px;
    }

    .hero-text-content {
        margin: 0 0 0 40px;
        padding: 0;
        text-align: left;
        width: 100%;
    }

    .hero-title {
        font-size: 38px;
        margin-bottom: 20px;
        line-height: 1.2;
        width: 100%;
    }

    .hero-description {
        font-size: 16px;
        margin: 0 0 30px 0;
        width: 90%;
    }

    .hero-buttons {
        justify-content: flex-start;
        gap: 15px;
    }

    .primary-btn, .secondary-btn {
        padding: 12px 18px;
    }

    .hero-image-group {
        height: 400px;
        position: relative;
        margin: 0;
    }

    .main-image {
        width: 260px;
        top: 50%;
        padding-left: 100px;
    }

    .card-1 {
        top: -5%;
        left: -20%;
    }

    .card-2 {
        bottom: -65%;
        left: -65%;
    }

    .card-3 {
        top: 85%;
        right: 45%;
    }

    .image-1 {
        top: 95%;
        left: -85%;
    }

    .image-2 {
        top: -30%;
        left: -80%;
    }

    .image-3 {
        top: -15%;
        right: 25%;
    }

    .image-4 {
        bottom: -60%;
        right: 40%;
    }
}

@media (max-width: 786px) {
    .hero-section {
        padding: 80px 0 40px;
    }

    .intro-content {
        padding-top: 20px;
    }

    .hero-text-content {
        margin-left: 10px;
        width: 110%;
    }

    .hero-title {
        font-size: 40px;
        width: 100%;
    }

    .hero-description {
        font-size: 16px;
        width: 100%;
    }

    .hero-image-group {
        height: 450px;
    }

    .main-image {
        width: 275px;
        transform: translate(-50%, -50%) translateX(-20px) translateY(-30px);
        padding-left: 60px;
    }

    .floating-card {
        transform: scale(0.8);
    }

    .floating-image {
        width: 120px;
        height: 120px;
    }

    .card-1 {
        top: -5%;
        left: -25%;
    }

    .card-2 {
        bottom: 5%;
        left: -35%;
    }

    .card-3 {
        top: 75%;
        right: 15%;
    }

    .image-1 {
        top: 90%;
        left: -85%;
    }

    .image-2 {
        top: -25%;
        right: 45%;
    }

    .image-3 {
        bottom: -30%;
        right: 25%;
    }

    .image-4 {
        bottom: -25%;
        right: 40%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        padding: 0;
        justify-content: flex-start;
    }

    .intro-content {
        padding: 100px 0 0;
        text-align: center;
    }

    .intro-content h1 {
        font-size: 28px;
        margin-bottom: 8px;
        text-align: center;
    }

    .intro-content p {
        font-size: 14px;
        margin-bottom: 8px;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 10px;
        margin-top: 10px;
        text-align: center;
    }

    .hero-text-content {
        margin: 0;
        padding: 0;
        text-align: center;
        width: 90%;
    }

    .hero-title {
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 14px;
        margin: 0 auto 20px;
        line-height: 1.5;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        justify-content: center;
        font-size: 14px;
    }

    .hero-image-group {
        height: 260px;
        margin-top: 20px;
        position: relative;
    }

    .main-image {
        width: 200px;
        top: 40%;
        transform: translate(-50%, -50%) translateY(20px);
        padding-left: 0;
    }

    .floating-card {
        padding: 8px;
        border-radius: 10px;
    }

    .floating-card span {   
        font-size: 10px;
    }

    .floating-card img {
        width: 20px;
        height: 20px;
    }

    .card-1 {
        top: 65%;
        left: 0;
    }

    .card-2 {
        display: none;
    }

    .card-3 {
        top: 0%;
        right: 40%;
    }

    .floating-image {
        width: 90px;
        height: 90px;
    }

    .image-1 {
        top: 2%;
        left: 2%;
    }

    .image-2 {
        top: 100%;
        left: 60%;
    }

    .image-3 {
        bottom: 10%;
        right: 10%;
    }

    .image-4 {
        bottom: -35%;
        right: 70%;
    }

    .scroll-arrow-container {
        bottom: 15px;
    }

    .scroll-arrow {
        width: 32px;
        height: 32px;
    }
}
/* --- Hero Section End --- */


/* --- Sub Components Section Start --- */
.sub-components {
	padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	text-align: center;
    z-index: 2;
}
.top-text-body {
    position: relative;
    margin-bottom: 0; 
    z-index: 3;
	margin-top: 0;
	padding-top: 20px;
	margin-bottom: -10px;
}

.top-text-body h1 {
    font-size: 38px;
	font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
}

.top-text-body p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    max-width: 800px;
}

.top-text-body h1 span {
    color: var(--accent-color);
}

.sub-component-container {
	max-width: 100vw;
	width: 100%;
	margin: 0 20px;
	padding: 40px 0;
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
    z-index: 2;
}

.sub-component-item {
	position: relative;
	border-radius: 24px;
	height: 250px;
	width: 400px;
	overflow: hidden;
	cursor: pointer;
	margin: 0 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.8);
}

.sub-components .image-wrapper {
	width: 100%;
	height: 100%;
}

.sub-components .image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease-in-out;
}

.sub-components .item-content {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 0;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sub-components .sub-component-item h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	text-shadow: 0 0 20px rgba(0, 0, 0, 1);
	text-align: center;
	margin: 0;
}

.sub-components .card-arrow {
	position: absolute;
	top: 20px;
	right: 24px;
	color: #fff;
	font-size: 28px;
	transform: translate(0, -10px);
	opacity: 0;
	transition: all 0.3s ease-in-out;
}

.sub-components .sub-component-item:hover .card-arrow {
	opacity: 1;
	transform: translate(0, 0);
}

.sub-components .sub-component-item:hover .image-wrapper img {
	transform: scale(1.05);
}

.sub-components .sub-component-item:hover .item-content {
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

/* Responsiveness */
@media screen and (max-width: 1280px) {
    .sub-components {
        margin-top: 0 !important;
    }
    .sub-component-item {
        width: 350px;
        height: 200px;
    }

    .sub-components {
        margin: 20px 0;
    }
}

@media screen and (max-width: 992px) {
    .sub-components {
        width: 98%;
        margin: 20px auto;
    }

    .sub-component-container {
        margin: 0;
        max-width: 100%;
        gap: 28px;
    }

    .sub-component-item {
        width: 220px;
        height: 150px;
        margin: 0;
        border-radius: 16px;
    }

    .sub-component-item .item-content h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .top-text-body {
        padding: 10px 0;
    }

    .top-text-body h1 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .sub-components {
        padding: 10px 0;
    }

    .sub-component-container {
        margin: 0;
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 80%;
    }

    .sub-component-item {
        height: 160px;
        width: 100%;
        margin: 0;
        border-radius: 16px;
    }

    .sub-component-item .item-content h3 {
        font-size: 18px;
    }

    .sub-component-item .card-arrow {
        font-size: 24px;
        right: 12px;
        top: 12px;
    }
}
/* --- Sub Components Section End --- */