﻿/* ================= GLOBAL STYLES ================= */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background: #ffffff; /* White background */
	color: #000000; /* Black text */
	overflow-x: hidden;
	scroll-behavior: smooth; /* smooth scroll */
}

/* ================= HEADER ================= */
header {
	width: 100%;
	padding: 20px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(10px);
	background: #ffffff; /* White header background */
}

	header .logo img {
		height: 50px;
		width: auto;
		border-radius: 8px;
		padding: 2px;
	}

nav ul {
	display: flex;
	gap: 30px;
	list-style: none;
}

nav a {
	color: #000000; /* Black text */
	text-decoration: none;
	font-size: 1rem;
	transition: 0.3s;
}

	nav a:hover {
		color: #ff0000; /* Red hover */
	}

/* Hamburger Icon */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 6px;
	z-index: 1100;
}

	.hamburger span {
		width: 28px;
		height: 3px;
		background: #000000;
		transition: 0.3s;
	}

/* ================= HERO SECTION ================= */
.hero {
	display: flex;
	flex-direction: column; /* Stack content vertically */
	justify-content: center;
	align-items: center;
	text-align: center; /* Center all text */
	padding: 200px 20px 100px;
}

.hero-content h1 {
	font-size: 3rem;
	color: #ff0000; /* Red heading */
	margin-bottom: 20px;
}

.hero-content p {
	font-size: 1.2rem;
	max-width: 600px;
	color: #000000; /* Black paragraph */
	margin-bottom: 30px;
}

.btn {
	display: inline-block;
	padding: 12px 28px;
	background: #ff0000;
	color: white;
	border-radius: 8px;
	text-decoration: none;
	transition: 0.3s;
}

	.btn:hover {
		background: #cc0000;
		transform: translateY(-3px);
	}

/* Remove hero image */
.hero-image {
	display: none;
}

/* Responsive adjustments */
@media (max-width: 900px) {
	.hero {
		padding: 150px 20px 60px;
	}

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

	.hero-content p {
		font-size: 1.1rem;
	}
}

@media (max-width: 600px) {
	.hero {
		padding: 120px 20px 40px;
	}

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

	.hero-content p {
		font-size: 1rem;
	}
}

/* ================= ABOUT SECTION ================= */
.about-section {
	background: #ffffff;
	padding: 80px 10%;
	color: #000000;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.about-image {
	width: 50%; /* Make it half the container width */
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	margin: 0 auto; /* Center on smaller screens */
	transition: transform 0.5s ease;
}

	.about-image img {
		width: 100%;
		display: block;
		transition: transform 0.5s ease;
	}

	.about-image:hover img {
		transform: scale(1.05);
	}

.about-content h2 {
	font-size: 38px;
	color: #ff0000;
	margin-bottom: 20px;
	position: relative;
}

	.about-content h2::after {
		content: '';
		display: block;
		width: 60px;
		height: 4px;
		background: #ff0000;
		margin-top: 8px;
		border-radius: 2px;
	}

.about-content p {
	line-height: 1.7;
	margin-bottom: 20px;
	color: #000000;
	opacity: 0.9;
}

.about-btn {
	display: inline-block;
	padding: 14px 28px;
	background: #ff0000;
	color: white;
	border-radius: 8px;
	transition: 0.3s;
	font-weight: 500;
}

	.about-btn:hover {
		background: #cc0000;
		transform: translateY(-3px);
	}

/* ================= PROJECTS SECTION ================= */
.projects-section {
	background: #f9f9f9;
	padding: 80px 10%;
	text-align: center;
	position: relative;
}

	.projects-section h2 {
		font-size: 40px;
		color: #ff0000;
		margin-bottom: 15px;
	}

.project-subtitle {
	opacity: 0.7;
	margin-bottom: 50px;
	color: #000000;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.project-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 10px 25px rgba(0,0,0,0.05);
	transition: all 0.4s ease;
	overflow: hidden;
	position: relative;
}

	.project-card:hover {
		transform: translateY(-10px);
		box-shadow: 0 15px 35px rgba(0,0,0,0.1);
	}

	.project-card img {
		width: 100%;
		height: 220px;
		object-fit: cover;
		border-radius: 15px;
		transition: transform 0.4s ease;
	}

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

	.project-card h3 {
		color: #ff0000;
		font-size: 24px;
		margin: 15px 0 10px;
	}

	.project-card p {
		color: #000000;
		opacity: 0.85;
		line-height: 1.5;
		font-size: 0.95rem;
	}


/* ================= SERVICES SECTION ================= */
.services-section {
	background: #ffffff;
	padding: 80px 10%;
	color: #000000;
	position: relative;
}

.services-title {
	font-size: 38px;
	color: #ff0000;
	text-align: center;
	margin-bottom: 15px;
}

.services-subtitle {
	text-align: center;
	color: #000000;
	opacity: 0.7;
	margin-bottom: 50px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.service-card {
	background: #fff5f5;
	border-radius: 20px;
	padding: 30px 20px;
	text-align: center;
	box-shadow: 0 10px 25px rgba(0,0,0,0.05);
	transition: all 0.4s ease;
}

	.service-card:hover {
		transform: translateY(-10px);
		box-shadow: 0 15px 35px rgba(0,0,0,0.1);
	}

.service-image img {
	width: 100px;
	height: 100px;
	object-fit: contain;
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
	transform: scale(1.1);
}

.service-content h3 {
	color: #ff0000;
	font-size: 22px;
	margin-bottom: 12px;
}

.service-content p {
	color: #000000;
	opacity: 0.85;
	line-height: 1.6;
	font-size: 0.95rem;
}

.service-btn {
	display: inline-block;
	margin-top: 15px;
	padding: 10px 22px;
	background: #ff0000;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	transition: 0.3s;
}

	.service-btn:hover {
		background: #cc0000;
		transform: translateY(-3px);
	}

/* ================= CONTACT SECTION ================= */
.contact-section {
	padding: 60px 10%;
	background: #ffffff;
	color: #000000;
	font-family: Arial, sans-serif;
	position: relative;
}

	.contact-section h2 {
		text-align: center;
		font-size: 38px;
		margin-bottom: 10px;
		color: #ff0000;
	}

.contact-subtitle {
	text-align: center;
	opacity: 0.8;
	margin-bottom: 40px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.contact-info h3 {
	margin-bottom: 15px;
	color: #ff0000;
}

.contact-info p {
	margin-bottom: 15px;
	line-height: 1.6;
	color: #000000;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 900px) {
	.about-container, .project-grid, .services-grid, .contact-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.about-image {
		width: 80%; /* Slightly larger on tablets for readability */
		margin-bottom: 30px;
	}
}

@media(max-width: 400px) {
	.about-content h2,
	.projects-section h2,
	.services-title,
	.contact-section h2 {
		font-size: 28px;
	}
}

/* ================= MOBILE NAVIGATION ================= */
@media (max-width: 900px) {
	nav {
		position: fixed;
		top: 70px;
		right: -100%;
		width: 70%;
		height: 100vh;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(8px);
		padding-top: 40px;
		transition: 0.4s ease;
		z-index: 1000;
	}

		nav ul {
			flex-direction: column;
			align-items: start;
			gap: 25px;
			padding-left: 30px;
		}

			nav ul li a {
				font-size: 1.3rem;
				padding: 5px 0;
			}

	.hamburger {
		display: flex;
	}

	nav.active {
		right: 0;
	}

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

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

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

/* ================= FIXED HEADER OFFSET FOR ANCHORS ================= */
section::before {
	content: "";
	display: block;
	height: 140px; /* same as header height */
	margin-top: -80px; /* negative margin */
	visibility: hidden;
}

/* Confirmation Popup Style */
.confirmation-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111;
    color: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(255,0,0,0.5);
    font-family: 'Arial', sans-serif;
    animation: popupFade 0.5s ease;
}

.confirmation-popup h2 {
    margin-bottom: 15px;
    color: #ff0000;
}

.confirmation-popup p {
    margin-bottom: 20px;
}

.confirmation-popup button {
    background: #ff0000;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.confirmation-popup button:hover {
    background: #ff5555;
}

/* Fade-in animation */
@keyframes popupFade {
    from {opacity: 0; transform: translate(-50%, -60%);}
    to {opacity: 1; transform: translate(-50%, -50%);}
}


/* Fade Animation */
@keyframes fadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

