@import url('https://fonts.googleapis.com/css2?family=Geist+Mono&family=Poppins:wght@300;400;600;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	line-height: 1.6;
	color: #ffffff;
	overflow-x: hidden;
}

:root {
	--primary-blue: #4a90e2;
}

/* ======================== */
/* NAVBAR */
/* ======================== */
header {
	background: #000000;
	padding: 1.5rem 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid #1a1a1a;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 3rem;
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.logo-text {
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	color: #ffffff;
	line-height: 1;
}

.logo-subtitle {
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	color: #888;
	margin-top: 0.2rem;
}

nav ul {
	display: flex;
	list-style: none;
	gap: 3rem;
}

nav a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: color 0.3s;
}

nav a:hover {
	color: #4a90e2;
}

.cta-nav {
	border: 2px solid #ffffff;
	padding: 0.5rem 1.5rem;
	border-radius: 3px;
	transition: all 0.3s;
}

.cta-nav:hover {
	background: #ffffff;
	color: #000000;
}

/* ======================== */
/* HERO */
/* ======================== */
.hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 250px 5% 120px;
	min-height: 55vh;
	background: linear-gradient(
			to bottom,
			var(--primary-blue) 0%,
			#000000 80%
	);
	color:white;
}

.hero-content h1 {
	font-size: 3.5rem;
	line-height: 1.1;
	margin-bottom: 20px;
}

.subtitle {
	color: #0088ff;
	font-weight: bold;
	margin-bottom: 30px;
}

.features {
	list-style: none;
}

.features li {
	margin-bottom: 15px;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
}

.check {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	text-align: center;
	line-height: 20px;
	font-size: 1rem;
	margin-right: 15px;
}

.hero-image {
	display: flex;
	flex: 1;
	justify-content: center;
	align-items: center;
}

.laptop-mockup {
	width: 100%;
	max-width: 700px;
	filter: drop-shadow(0 20px 60px rgba(74, 144, 226, 0.3));
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-20px); }
}

/* ======================== */
/* SECTIONS */
/* ======================== */
section {
	max-width: 1400px;
	margin: 0 auto;
	padding: 100px 3rem;
}

h2 {
	font-size: 3rem;
	margin-bottom: 1rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #000;
}

.section-subtitle {
	font-size: 1.1rem;
	color: #a8a8a8;
	margin-bottom: 3rem;
}

/* ================================= */
/* WHY YOU NEED A WEBSITE SECTION */
/* ================================= */
.why-section {
	background: #fff;
}

.why-section h2 {
	color: #000;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	margin-bottom: -50px;
}

.why-card {
	background: #0a0a0a;
	padding: 2.5rem;
	border: 1px solid #1a1a1a;
	border-radius: 5px;
	transition: all 0.3s;
}

.why-card:hover {
	border-color: #4a90e2;
	transform: translateY(-5px);
}

.why-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle, var(--primary-blue), #4a91e27d);
	border-radius: 3px;
}

.why-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.why-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	font-weight: 700;
	color: #fff;
}

.why-card p {
	color: #aaa;
	line-height: 1.8;
}

/* ======================== */
/* FAQ */
/* ======================== */
.faq-section {
	background: #fff;
}

.faq-section h2 {
	color: #000;
}

.faq-container {
	max-width: 1400px;
	margin: 0 auto;
	border-radius: 3px;
}

.faq-item {
	background: #0a0a0a;
	margin-bottom: 1rem;
	border: 1px solid #1a1a1a;
	border-radius: 5px;
	overflow: hidden;
}

.faq-question {
	padding: 1.5rem 2rem;
	font-size: 1.2rem;
	font-weight: 400;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s;
}

.faq-question:hover {
	background: #111;
}

.faq-toggle {
	font-size: 1.5rem;
	color: #4a90e2;
	transition: transform 0.3s;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-answer-content {
	padding: 0 2rem 1.5rem;
	color: #aaa;
	line-height: 1.8;
}

.faq-item.active .faq-answer {
	max-height: 500px;
}

.faq-item.active .faq-toggle {
	transform: rotate(45deg);
}

/* ======================== */
/* About Page */
/* ======================== */
.about-section {
	background: #ffffff;
	margin-top: 80px;
}

.about-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 5rem;
	align-items: start;
}

.about-text p {
	color: #a8a8a8;
}

.about-text h2 {
	color: #fff;
}

.about-text {
	background-color: #000;
	border-radius: 3px;
	padding: 30px;
}

.stat-item {
	margin-bottom: 2rem;
	border-left: 3px solid #4a90e2;
	padding-left: 1.5rem;
}

.stat-number {
	display: block;
	font-size: 2.5rem;
	font-weight: 900;
	color: #4a90e2;
}

.stat-label {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #555555;
}

.about-cta {
	display: inline-block;
	margin-top: 30px;
	padding: 14px 28px;
	border: 1px solid #4a90e2;
	border-radius: 3px;
	color: #4a90e2;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s;
}

.about-cta:hover {
	background: #4a90e2;
	color: #ffffff;
}

/* ======================== */
/* Service Page */
/* ======================== */
.services-section {
	margin-top: 80px;
}

.services-section h2 {
	color: #000;
}

.services-section h3 {
	color: var(--primary-blue);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
}

.service-card {
	background: #000;
	padding: 3rem;
	border-radius: 5px;
	transition: transform 0.3s;
}

.service-card:hover {
	transform: scale(1.05);
}

.service-card h3 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.service-card p {
	color: #ccc;
	line-height: 1.8;
}

/* ======================== */
/* Workflow Section */
/* ======================== */
.workflow-section {
	text-align: center;
	padding: 120px 3rem;
}

.workflow-section h2 {
	color: #000;
	margin-bottom: 60px;
}

.small-title {
	color: var(--primary-blue);
}

.workflow-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
	max-width: 1400px;
	margin: 0 auto;
}

.workflow-card {
	background: #0a0a0a;
	border: 1px solid #1a1a1a;
	border-radius: 5px;
	padding: 3rem 2.5rem;
	text-align: left;
	transition: all 0.3s ease;
	position: relative;
}

.workflow-card:hover {
	transform: translateY(-6px);
	border-color: var(--primary-blue);
}

.workflow-step {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 800;
	color: var(--primary-blue);
	margin-bottom: 1rem;
	letter-spacing: 2px;
}

.workflow-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	font-weight: 800;
	color: #fff;
}

.workflow-card p {
	color: #aaa;
	font-size: 0.95rem;
	line-height: 1.8;
}

.services-section {
	padding-bottom: 60px;
}

.workflow-section {
	padding-top: 80px;
}

/* ======================== */
/* Pricing Page */
/* ======================== */
.pricing-section {
	margin-top:80px;
}

.pricing-section h2 {
	color: #000;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.pricing-card {
	background: #0a0a0a;
	padding: 3rem;
	border: 1px solid #1a1a1a;
	border-radius: 5px;
	text-align: center;
	position: relative;
	transition: 0.3s;
}

.pricing-card.featured {
	border-color: #4a90e2;
	background: var(--primary-blue);
	transform: scale(1.05);
}

.pricing-card.featured .tier{
	color: #000;
}

.featured-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #000;
	padding: 0.2rem 1rem;
	font-size: 0.7rem;
	font-weight: 800;
	border-radius: 20px;
}

.tier {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #4a90e2;
}

.price {
	font-size: 2.5rem;
	font-weight: 900;
	margin-bottom: 2rem;
}

.price span {
	font-size: 0.9rem;
	color: #888;
}

.price-features {
	list-style: none;
	margin-bottom: 2rem;
	text-align: left;
}

.pricing-card.featured .price-features li {
	color: #fff;
}

.pricing-card.featured .price span {
	color: #e0e0e0;
}

.price-features li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #fff;
	color: #ccc;
	font-size: 0.9rem;
}

/* ======================== */
/* Contact Page */
/* ======================== */
.contact-section {
	margin-top: 60px;
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	background: #0a0a0a;
	padding: 4rem;
	border-radius: 5px;
	border: 1px solid #1a1a1a;
}

.contact-info p {
	color: #a8a8a8;
}

.contact-info, h2,  p strong {
	color: var(--primary-blue);
}

.contact-info {
	padding: 50px;
	border-radius: 3px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	border: 1px solid #fff;
	border-radius: 3px;
	padding: 50px;
}

.contact-form h2 {
	color: #fff;
}

.contact-form ::placeholder {
	color: #cbcbcb;
	opacity: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	background: #000;
	border: 1px solid #fff;
	padding: 1rem;
	color: #fff;
	font-family: inherit;
	border-radius: 3px;
}

.contact-form select {
	color: #cbcbcb;
}

.contact-form select option {
	color: #fff; /* White text for actual options in dropdown */
}

/* When a valid option is selected, change text to white */
.contact-form select:has(option:checked:not([disabled])) {
	color: #fff;
}

.contact-details li{
	margin-top: 2rem;
	line-height: 1.1;
	display: flex;
	align-items: center;
	gap: 1rem;
	color: #fff;
	margin-bottom: 1.2rem;
}

.contact-details li p {
	color: #fff;
}

.contact-details i {
	font-size: 1.5rem;
	color: var(--primary-blue);
}

/* ======================== */
/* Footer */
/* ======================== */
footer {
	background: #000000;
	padding: 80px 0;
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 3fr 1fr 1fr;
	gap: 4rem;
	padding: 0 3rem;
}

.footer-brand h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	color: var(--primary-blue);
	text-transform: none;
}

.footer-brand p {
	color: #888;
	line-height: 1.8;
	max-width: 500px;
	margin-bottom: 2rem;
}

.footer-column h3 {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	font-weight: 700;
	color: #ffffff;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 1rem;
}

.footer-links a {
	color: #888;
	text-decoration: none;
	transition: color 0.3s;
}

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

.footer-contact li {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: #888;
	margin-bottom: 1.2rem;
}

a {
/* remove underline of links */
text-decoration: none;
color: var(--main-light-color);
}

ul {
/* remove list bullet points */
list-style: none;
}

.footer-socials {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.social-circle {
	width: 15px;
	height: 15px;
	background: #ffffff;
	border-radius: 50%;
	display: inline-block;
}


.footer-bottom {
	display: flex;
	max-width: 1300px;
	margin: 40px auto 0;
	padding-top: 2rem;
	border-top: 1px solid #1a1a1a;
	text-align: start;
	color: #444;
	font-size: 0.85rem;
}

/* =========================== */
/* Hamburger hidden by default */
/* =========================== */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 25px;
	height: 18px;
	cursor: pointer;
}

.hamburger span {
	display: block;
	height: 3px;
	background: #fff;
	border-radius: 2px;
}

/* hamburger animation */
.hamburger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ======================== */
/* RESPONSIVENESS */
/* ======================== */
@media (max-width: 968px) {
	/* Hanburger */
	.nav-links {
		position: fixed;
		top: 70px; /* Adjust based on header height */
		right: -100%;
		background: #000;
		height: calc(100vh - 70px);
		width: 200px;
		flex-direction: column;
		padding: 2rem;
		gap: 2rem;
		transition: right 0.3s ease;
	}

	.nav-links.active {
		right: 0;
	}

	.hamburger {
		display: flex;
	}

	/* Hero */
	.hero {
		flex-direction: column;
		text-align: center;
	}

	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		max-width: 100%;
	}

	.hero-text h1 {
		font-size: 2.5rem;
	}

	.hero-features li {
		justify-content: center;
	}

	.hero-image {
		margin-top: 3rem;
		width: 100%;
	}

	.laptop-mockup {
		max-width: 100%;
		width: 100%;
		height: auto;
	}

	nav ul {
		gap: 1.5rem;
	}

	h2 {
		font-size: 2rem;
	}

	/* about */
	.about-grid,
	.contact-container {
		grid-template-columns: 1fr;
	}

	/* Services */
	.services-section {
		padding: 80px 1.5rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.service-card {
		padding: 2rem;
	}
	
	/* workflow */
	.workflow-grid {
		gap: 60px;
	}

	.contact-container {
		display: flex;
		justify-content: center;
		text-align: center;
		flex-direction: column;
		grid-template-columns: 1fr; /* Stack the form and info vertically */
		padding: 2rem; /* Reduce padding for smaller screens */
		gap: 2rem; /* Less gap between items */
	}

	.contact-info {
		padding: 2rem; /* Reduce padding */
		text-align: center; /* Center content */
	}

	.contact-form {
		padding: 2rem; /* Reduce padding */
	}

	.contact-details li {
		flex-direction: column; /* Stack icon + text */
		align-items: center;
		text-align: center;
		margin-top: 1rem;
		margin-bottom: 1rem;
		gap: 0.5rem;
	}

	.contact-details li i {
		font-size: 2rem; /* Slightly larger icons for clarity */
	}
	/* footer */
	.footer-container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-brand p { 
		margin: 0 auto 2rem;
	}

	.footer-contact li { justify-content: center; }
	.footer-socials { justify-content: center; }
	.footer-bottom { justify-content: center; }
}