@import url('https://fonts.googleapis.com/css2?family=Lexend+Giga:wght@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&family=Rubik:ital,wght@0,300..900;1,300..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


:root{
	--font1: 'Poppins';
	--font2: 'Rubik';
	--font3: 'Ubuntu';
	--font4: 'Lexend Giga';

	--color1: #131c25;
	--color2: #eee;
	--color3: #3c82d7;
	--color4: #538cd1;
}


*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	list-style: none;
	outline: none;
}

html{
	font-size: 62.5%;
	scroll-behavior: smooth;
	/* border: 1px solid red; */
}

body{
	font-family: var(--font1), Arial, Helvetica, sans-serif;
	background: url(../imgs/binary-code.jpg) no-repeat center center fixed, #333;
	background-size: cover;
	background-blend-mode: multiply;
	color: var(--color3);
}

img{
	display: block;
	width: 20rem;
	height: 18rem;
}

h1{
	font-family: var(--font3), Arial, Helvetica, sans-serif;
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: 1.5px;
	opacity: .9;
	margin-bottom: 1rem;
}

h2{
	display: flex;
	align-items: center;
	font-family: var(--font1), Arial, Helvetica, sans-serif;
	font-size: 1.6rem;
	font-weight: 500;
	opacity: .8;
	margin-bottom: 1.5rem;
}
h2 i{
	font-size: .5rem !important;
	margin-inline: 1rem;
}


/* SECTION */
section{
	text-align: center;
	padding: 0 0 5rem;
}

section h3{
	font-size: 2.3rem;
	color: var(--color3);
	margin-bottom: .5rem;
}

section p{
	max-width: 600px;
	font-size: 1.5rem;
	opacity: .9;
	margin: 0 auto;
}


/* HEADER INFO */
header{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 5rem 1.5rem 0;
}

.header img{
	border-radius: 50%;
	margin-bottom: 1.5rem;
	border: 2px solid var(--color3);
}

.header p{
	max-width: 600px;
	font-size: 1.5rem;
	opacity: .9;
	margin: 0 auto;
}


/* NAV LINKS */
nav{
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	padding: 5rem 1.5rem 2.5rem;
}

.links .link{
	max-width: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 0;
	margin: 0 auto;
	background: #ddd;
	border: 1.5px solid var(--color2);
	border-radius: 10px;
	transition: .3s ease-in-out;
}
.links .link:hover{
	background: transparent;
	transform: scale(1.02);
	color: var(--color4);
	border: 1.5px solid var(--color4);
	box-shadow: 0 0 10px var(--color4);
}

.links a{
	color: var(--color1);
}

.links p{
	font-size: 1.5rem;
	font-weight: 500;
	padding: 0;
}

.link i{
	font-size: 2rem;
	color: var(--color1);
	padding: 0 1rem;
}
.link:hover i{
	color: var(--color4);
}

.link i:nth-of-type(2) {
	margin-left: auto;
}


/* MAIN */
main{
	width: 100%;
	padding: 0 1.5rem;
}


/* --- ABOUT SECTION --- */
.about-section {
    padding: 5rem 1.5rem; /* Space it out from the header */
}

.about-container {
    max-width: 700px; /* Keeps the text readable and "slim" */
    margin: 0 auto;
}

.about-card {
    background: url(../imgs/binary-code.jpg) no-repeat, #1b3148;
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    border: 1.5px solid var(--color3);
    border-radius: 10px;
    padding: 4rem 2rem;
    transition: 0.3s ease-in-out;
    text-align: center;
}

.about-card:hover {
    box-shadow: 0 0 15px var(--color4);
    transform: translateY(-3px);
}

.about-icon {
    font-size: 4rem;
    color: var(--color3);
    margin-bottom: 2rem;
    display: block;
}

.about-card h3 {
    font-family: var(--font3); /* Ubuntu */
    color: var(--color3);
    font-size: 2.3rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-card p {
    color: var(--color2); /* Light Gray */
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.about-card strong {
    color: var(--color4);
    font-weight: 500;
}

/* Three icons at the bottom of the card */
.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    border-top: 1px solid rgba(60, 130, 215, 0.2);
    padding-top: 2.5rem;
}

.about-stats span {
    font-size: 1.3rem;
    color: var(--color4);
    display: flex;
    flex-direction: column; /* Stack icon over text */
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font1); /* Poppins */
}

.about-stats i {
    font-size: 2rem;
}

/* Responsive Tweak for Mobile */
@media (max-width: 480px) {
	.about-card {
		padding: 4rem 1.5rem;
	}
    .about-card h3 {
        font-size: 2rem;
    }
	.about-card p {
		font-size: 1.4rem;
	}
	.about-section {
		padding: 5rem .5rem; /* Space it out from the header */
	}
}


/* PROJECT SECTION */
.project-section{
	padding-top: 5rem;
}

.project-grid{
	max-width: 1100px;
	margin: 5rem auto 2.5rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	padding: 0 1rem;
}

.project{
	display: block;
	text-decoration: none;
	border-radius: 10px;
	border: 1.5px solid #637182;
	background: url(../imgs/binary-code.jpg) no-repeat, #1b3148;
	background-blend-mode: multiply;
	background-position: center;
	padding: 1.5rem 0;
	overflow: hidden;
	color: var(--color2);
	transition: 0.3s ease;
}
.project:hover{
	transform: translateY(-5px);
	box-shadow: 0 0 10px #637182;
	background: url(../imgs/binary-code.jpg) no-repeat, #2a4865;
	background-position: top;
}

.project img{
	width: 100%;
	height: 350px;
	object-fit: cover;
}


/* PRICING PLAN */
.service-plan{
	padding-top: 2.5rem;
}

/* Container: Center everything and add side padding for mobile */
.package-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    justify-content: center;
	align-items: center;
    padding: 3rem 2rem 0; /* Ensures cards don't touch screen edges on mobile */
}

/* Individual Plan Card: The "Slim" logic */
.plan {
    background: url(../imgs/binary-code.jpg) no-repeat, #555;
	background-blend-mode: multiply;
	background-position: right;
    border: 1.5px solid var(--color3);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    
    /* SLIM SETTINGS */
    flex: 0 1 320px;  /* 280px is the "sweet spot" for a slim look */
    max-width: 320px; /* Strictly prevents it from growing wide on desktop */
	min-width: 300px;
    width: 100%;      /* Allows it to shrink if the screen is narrower than 280px */
    height: auto;
	display: flex;
	flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);

	transition: .3s ease-in-out;
}
.plan:hover{
	background: url(../imgs/binary-code.jpg) no-repeat, #444;
	background-position: top;
	box-shadow: 0 0 10px var(--color4);
}

/* Font-size */
.plan-name{
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.plan-description{
	font-size: 1.2rem;
	opacity: .8;
	margin-bottom: 2rem;
}

.plan-price{
	font-size: 3rem;
	color: var(--color4);
	margin-bottom: 2rem;
}

.payment-type{
	display: flex;
	gap: 1rem;
	font-size: 1.2rem;
	margin-bottom: 3rem;
	background: #111;
	padding: 1rem 2rem;
	text-align: center;
	border: 1.5px solid var(--color3);
	border-radius: 5px;
}

/* Ensure the list doesn't look cramped in a slim card */
.plan ul {
    list-style: none;
    padding: 0;
    font-size: 1.3rem; /* Slightly smaller font for slim cards */
	line-height: 2.5;
    text-align: left;
}

.plan ul i{
	margin-right: .3rem;
}

/* CTA Button stays consistent */
.plan a {
    display: block;
    margin-top: auto;
    color: var(--color1);
	background: var(--color3);
	border: 1.5px solid var(--color3);
	font-weight: 500;
    text-decoration: none;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1.4rem;
	margin-top: 2.5rem;
	transition: .3s;
}
.plan a:hover{
	color: var(--color3);
	background: transparent;
	box-shadow: 0 0 10px var(--color4);
}


/* --- TESTIMONIALS & REVIEW --- */
.testimonials {
    padding: 0 0 5rem;
    overflow: hidden; /* Keeps the page from breaking */
}

.testimonial-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto; /* Enables horizontal scroll */
    padding: 2rem 1.5rem 4rem;
	scroll-behavior: smooth; /* Essential for the JS transition */
    scrollbar-width: none; /* Hides scrollbar for Firefox */
    -ms-overflow-style: none; /* Hides scrollbar for IE/Edge */
}

/* Hide scrollbar for Chrome/Safari */
.testimonial-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 300px; /* Card width */
    background: url(../imgs/binary-code.jpg) no-repeat, #1b3148;
    background-blend-mode: multiply;
    background-size: cover;
    border: 1.5px solid var(--color3);
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: left;
    scroll-snap-align: center; /* Snaps to the center of the screen */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	opacity: .9; /* Dim cards slightly by default */
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    border-color: var(--color4);
    box-shadow: 0 0 10px var(--color4);
	opacity: 1;
    transform: scale(1);
}

.testimonial-card i {
    font-size: 2.5rem;
    color: var(--color3);
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-size: 1.4rem;
    color: var(--color2);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
}

.client-info {
    border-top: 1px solid rgba(60, 130, 215, 0.2);
    padding-top: 1.5rem;
}

.client-info strong {
    display: block;
    color: var(--color3);
    font-size: 1.3rem;
    font-family: var(--font3); /* Ubuntu */
}

.client-info span {
    font-size: 1.1rem;
    color: var(--color2);
    opacity: 0.7;
}

.scroll-hint {
    font-size: 1.2rem;
    color: var(--color3);
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
	animation: sideToSide 2s infinite ease-in-out;
}
@keyframes sideToSide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Mobile Tweak: Make cards slightly narrower so you see the next one peaking in */
@media (max-width: 480px) {
    .testimonial-card {
        flex: 0 0 260px;
    }
}


/* FOOTER SOCIALS */
.footer{
	width: 100%;
	padding: 5rem 0;
	text-align: center;
}
.socials{
	display: flex;
	justify-content: center;
	gap: 6rem;
	margin-bottom: 2.5rem;
}

.socials i{
	font-size: 2rem;
	color: var(--color3);
	border-radius: 50%;
	padding: 1rem;
}
.socials i:hover{
	color: var(--color4);
	box-shadow: 0 0 10px var(--color4);
}

.footer p{
	opacity: .9;
	font-size: 1.3rem;
	margin-bottom: 1.5rem;
}

.footer .a{
	opacity: .9;
	color: #8b66e3;
	text-decoration: underline;
	font-size: 1.3rem;
}
.footer .a:hover{
	color: #824cff;
}

.back-to-top{
	position: fixed;
	right: 3rem;
	bottom: 3rem;
	padding: 0;
	font-size: 4rem;
	color: var(--color3);
	display: none;
}

.back-to-top i{
	background: var(--color1);
	border: 3px solid var(--color3);
	border-radius: 50%;
	transition: .2s ease-in-out;
}

.back-to-top i:hover{
	color: var(--color1);
	background: var(--color3);
	box-shadow: 0 0 15px var(--color3);
}