/*==================================================
  H REAL ESTATE TECHNOLOGIES - PREMIUM STYLE
===================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0B1F3A;
    --secondary: #F4A825;
    --accent: #ff7b00;
    --white: #ffffff;
    --light: #f7f9fc;
    --text: #4a5568;
    --heading: #111827;
    --shadow: 0 20px 40px rgba(0, 0, 0, .06);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, .15);
    --radius: 20px;
    --transition: .4s ease;
    --container: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 17px;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: var(--container);
    margin: auto;
}

.section {
    padding: 120px 0;
}

.bg-light {
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: auto auto 70px;
}

.section-tag {
    display: inline-block;
    background: rgba(244, 168, 37, .15);
    color: var(--secondary);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header h2 {
    color: var(--heading);
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text);
    font-size: 18px;
}

/*======================
BUTTONS
=======================*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
}

.primary-btn {
    background: var(--secondary);
    color: #111;
}

.primary-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(244, 168, 37, .4);
}

.secondary-btn {
    border: 2px solid #fff;
    color: #fff;
    margin-left: 20px;
    background: transparent;
}

.secondary-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-5px);
}

/*======================
SCROLL PROGRESS
=======================*/
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: 10001;
    border-radius: 0 5px 5px 0;
}

/*======================
HEADER
=======================*/

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    border-bottom: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px;
}

.logo {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

.header.scrolled .logo {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 45px;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: .3s;
}

.header.scrolled .nav-links a {
    color: var(--heading);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: .3s;
    border-radius: 5px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
    color: var(--secondary);
}

.menu-btn {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.header.scrolled .menu-btn {
    color: var(--primary);
}

/*======================
HERO
=======================*/

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #051021, #133256);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 100px;
    /* Accounts for tall header */
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.hero-content {
    color: #fff;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .1);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 10px;
    backdrop-filter: blur(15px);
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 76px;
    line-height: 1.15;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 19px;
    margin-bottom: 45px;
    color: #d9d9d9;
    line-height: 1.8;
    max-width: 90%;
}

.hero-buttons {
    margin-bottom: 40px;
}

/*======================
HERO IMAGE & FLOATING CARD
=======================*/

.hero-image {
    position: relative;
}

.image-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
    border: 8px solid rgba(255, 255, 255, 0.1);
}

.image-card img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: 0.5s;
}

.image-card:hover img {
    transform: scale(1.05);
}

.floating-stat-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 25px 35px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: float 4s ease-in-out infinite alternate;
    color: var(--heading);
    border: 1px solid rgba(255, 255, 255, 1);
}

.floating-stat-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(244, 168, 37, 0.3);
}

.floating-stat-card h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.floating-stat-card p {
    margin: 0;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

/*======================
SCROLL DOWN
=======================*/

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    animation: bounce 2s infinite;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-size: 20px;
}

/*======================
HIGHLIGHTS
=======================*/

.highlights {
    margin-top: 100px;
    position: relative;
    z-index: 20;
}

.highlights .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.highlight-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.highlight-box:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.highlight-box i {
    font-size: 45px;
    color: var(--secondary);
    margin-bottom: 25px;
}

.highlight-box h3 {
    margin-bottom: 15px;
    color: var(--heading);
    font-size: 22px;
    font-weight: 700;
}

.highlight-box p {
    font-size: 15px;
    color: var(--text);
}

/*======================
TRUST SECTION
=======================*/
.trust-section {
    padding: 80px 0 20px;
    background: #fff;
}

.trust-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.trust-container p {
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
}

.trust-tags {
    display: flex;
    gap: 45px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-tags span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
    font-weight: 600;
    font-size: 18px;
}

.trust-tags span i {
    color: var(--secondary);
    font-size: 22px;
}

/*======================
SERVICES SECTION
=======================*/

.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 25px;
    padding: 45px 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .03);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: .4s;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 85px;
    height: 85px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 30px;
    transition: .4s;
}

/* Custom Icon Colors */
.service-card:nth-child(1) .service-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.service-card:nth-child(2) .service-icon {
    background: rgba(244, 168, 37, 0.1);
    color: var(--secondary);
}

.service-card:nth-child(3) .service-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.service-card:nth-child(4) .service-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.service-card:hover .service-icon {
    transform: rotate(12deg) scale(1.1);
}

.service-card:nth-child(1):hover .service-icon {
    background: #25D366;
    color: #fff;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.service-card:nth-child(2):hover .service-icon {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 15px 30px rgba(244, 168, 37, 0.3);
}

.service-card:nth-child(3):hover .service-icon {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.service-card:nth-child(4):hover .service-icon {
    background: #8b5cf6;
    color: #fff;
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

.service-card h3 {
    color: var(--heading);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.service-card p {
    margin-bottom: 25px;
    font-size: 16px;
}

.service-card ul {
    padding-left: 20px;
}

.service-card ul li {
    list-style: none;
    margin-bottom: 12px;
    font-size: 16px;
    position: relative;
}

.service-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -22px;
    color: var(--secondary);
    font-size: 12px;
    top: 5px;
}

/*======================
ABOUT SECTION
=======================*/
.about {
    background: var(--light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-image::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(244, 168, 37, .15);
    border-radius: 40px;
    left: -40px;
    top: -40px;
    z-index: -1;
}

.about-image::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(11, 31, 58, .10);
    border-radius: 50%;
    right: -30px;
    bottom: -30px;
    z-index: -1;
}

.about-content h2 {
    font-size: 46px;
    color: var(--heading);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: 25px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.a-stat h3 {
    font-size: 38px;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 800;
    line-height: 1;
}

.a-stat p {
    font-weight: 600;
    font-size: 15px;
    color: var(--heading);
    margin: 0;
}

/*======================
VISION & MISSION
=======================*/
.vision {
    background: #fff;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vision-card {
    background: linear-gradient(145deg, #fff, #f8f9fa);
    border-radius: 30px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, .03);
}

.vision-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.vision-icon {
    width: 100px;
    height: 100px;
    background: rgba(244, 168, 37, .12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 30px;
    color: var(--secondary);
    font-size: 40px;
}

.vision-card h3 {
    color: var(--heading);
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
}

.vision-card p {
    font-size: 18px;
}

/*======================
STATS
=======================*/
.stats {
    background: linear-gradient(135deg, #051021, #133256);
    color: #fff;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-box {
    text-align: center;
    padding: 50px 30px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, .1);
}

.stat-box i {
    font-size: 42px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.stat-box h2 {
    color: var(--secondary);
    font-size: 60px;
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1;
}

.stat-box p {
    color: #ddd;
    font-size: 18px;
    font-weight: 500;
}

/*======================
APP SECTION
=======================*/
/*======================
APP SECTION
=======================*/
.app {
	background: var(--light);
}

.app-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.app-content h2 {
	font-size: 46px;
	color: var(--heading);
	margin-bottom: 25px;
	font-weight: 700;
	line-height: 1.2;
}

.app-content p {
	margin-bottom: 35px;
	font-size: 18px;
}

.app-features {
	margin-bottom: 40px;
}

	.app-features .feature {
		display: flex;
		align-items: center;
		margin-bottom: 20px;
		font-size: 18px;
		font-weight: 500;
	}

		.app-features .feature i {
			color: var(--secondary);
			font-size: 24px;
			margin-right: 18px;
		}

.app-image {
	text-align: center;
}

/* CSS Phone Frame */
.phone-mockup {
	position: relative;
	width: 300px;
	height: 620px;
	margin: auto;
	background: #fff;
	border: 14px solid #111; /* The black bezel */
	border-radius: 45px;
	box-shadow: 0 40px 80px rgba(0,0,0,.2);
	animation: float 6s ease-in-out infinite;
	overflow: hidden; /* Keeps the inner screen rounded */
}

/* The Notch */
.phone-notch {
	position: absolute;
	top: -1px;
	left: 50%;
	transform: translateX(-50%);
	width: 140px;
	height: 30px;
	background: #111;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	z-index: 10;
}

/* Screen Area */
.phone-screen {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f8f9fa, #e2e8f0);
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

	/* For when you add your real image later */
	.phone-screen img {
		width: 100%;
		height: 100%;
		object-fit: cover; /* Ensures your screenshot fills the screen perfectly */
		border-radius: 0;
		border: none;
		animation: none;
	}

/* Temporary Placeholder Styling */
.placeholder-content {
	text-align: center;
	color: #a0aec0;
}

	.placeholder-content i {
		font-size: 60px;
		color: var(--secondary);
		margin-bottom: 15px;
		opacity: 0.8;
	}

	.placeholder-content p {
		font-size: 20px;
		font-weight: 700;
		color: var(--heading);
		margin: 0;
		line-height: 1.3;
	}

/*======================
WHY CHOOSE US
=======================*/
.why {
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: #fff;
    border-radius: 25px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, .03);
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.why-card i {
    width: 90px;
    height: 90px;
    margin: auto auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 38px;
    transition: .4s;
}

.why-card:nth-child(1) i {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

.why-card:nth-child(2) i {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.12);
}

.why-card:nth-child(3) i {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.why-card:nth-child(4) i {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
}

.why-card:hover i {
    transform: rotate(15deg) scale(1.15);
}

.why-card h3 {
    color: var(--heading);
    margin-bottom: 18px;
    font-size: 24px;
}

/*======================
FEATURED PROJECT
=======================*/
.project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    font-size: 36px;
    color: var(--heading);
    margin-bottom: 20px;
    font-weight: 700;
}

.project-info p {
    margin-bottom: 35px;
    font-size: 17px;
}

.project-features {
    margin-bottom: 40px;
}

.project-features li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    color: var(--heading);
}

.project-features li i {
    width: 45px;
    height: 45px;
    background: rgba(244, 168, 37, .15);
    color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 18px;
    font-size: 18px;
}

/*======================
CEO MESSAGE
=======================*/
.ceo {
    background: linear-gradient(135deg, #051021, #133256);
    position: relative;
}

.ceo-card {
    max-width: 900px;
    margin: auto;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 70px 60px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.ceo-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    border-radius: 50%;
    border: 4px solid var(--secondary);
    padding: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.ceo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ceo-card h2 {
    margin-bottom: 25px;
    font-size: 38px;
}

.ceo-card p {
    color: #e0e0e0;
    font-size: 20px;
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 35px;
}

.ceo-card h3 {
    color: var(--secondary);
    font-size: 24px;
}

.ceo-card span {
    color: #aaa;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/*======================
CONTACT
=======================*/
.contact {
    background: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 46px;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--heading);
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.contact-item i {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(244, 168, 37, .12);
    color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-right: 25px;
}

.contact-item h4 {
    color: var(--heading);
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
}

.contact-form {
    background: var(--light);
    padding: 60px 50px;
    border-radius: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 20px 25px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: .3s;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 5px rgba(244, 168, 37, .15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 200px;
}

.contact-form button {
    width: 100%;
}

/*======================
FOOTER
=======================*/
.footer {
    background: #051021;
    color: #a0aec0;
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    color: #fff;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 800;
}

.footer-logo span {
    color: var(--secondary);
}

.footer p {
    line-height: 1.8;
}

.footer h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 22px;
}

.footer ul li {
    margin-bottom: 15px;
}

.footer ul li a {
    color: #a0aec0;
    transition: .3s;
    font-size: 16px;
}

.footer ul li a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--secondary);
    color: #111;
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 25px;
    width: 100%;
    outline: none;
    font-size: 15px;
}

.newsletter-form button {
    background: var(--secondary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #111;
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
}

.newsletter-form button:hover {
    background: var(--accent);
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    font-size: 15px;
}

/*======================
FLOATING & TOP BTN
=======================*/
.whatsapp {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
    z-index: 999;
    transition: .3s;
}

.whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
}

#topBtn {
	position: fixed;
	right: 35px;
	bottom: 110px;
	width: 55px;
	height: 55px;
	border: none;
	border-radius: 50%;
	background: var(--secondary);
	color: #111;
	font-size: 20px;
	cursor: pointer;
	display: none; /* JS changes this to flex */
	justify-content: center; /* Centers horizontally */
	align-items: center; /* Centers vertically */
	padding: 0; /* Removes default button padding */
	box-shadow: 0 15px 40px rgba(0,0,0,.15);
	z-index: 999;
	transition: .3s;
}

#topBtn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-5px);
}

/*======================
ANIMATIONS
=======================*/
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes floatSmall {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -15px);
    }
}

/* Reveal Classes controlled by JS */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.show,
.reveal-left.show,
.reveal-right.show,
.reveal-scale.show {
    opacity: 1;
    transform: translate(0) scale(1);
}

.floating {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
    filter: blur(30px);
}

.circle1 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: -100px;
    left: -100px;
    animation: float 8s infinite alternate;
}

.circle2 {
    width: 300px;
    height: 300px;
    background: #ffffff;
    right: 10%;
    top: 20%;
    animation: float 6s infinite alternate-reverse;
}

.circle3 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    right: -150px;
    bottom: -150px;
    animation: float 10s infinite alternate;
}

/*======================
RESPONSIVE
=======================*/
@media (max-width: 1200px) {

    .highlights .container,
    .services-grid,
    .stats-grid,
    .why-grid {
        gap: 20px;
    }

    .hero h1 {
        font-size: 60px;
    }
}

@media (max-width: 991px) {
    .menu-btn {
        display: block;
        z-index: 1001;
    }

    .navbar {
        position: fixed;
        top: 95px;
        right: -100%;
        width: 320px;
        height: calc(100vh - 95px);
        background: rgba(5, 16, 33, 0.98);
        backdrop-filter: blur(15px);
        transition: .4s;
        padding: 50px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .navbar.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
    }

    .nav-links a {
        color: #fff !important;
        font-size: 20px;
    }

    .hero-container,
    .about-container,
    .app-container,
    .contact-container,
    .project-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .project-info {
        padding: 50px 30px;
    }

    .project-features li {
        justify-content: center;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero p {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .secondary-btn {
        margin-left: 0;
    }

    .floating-stat-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
        width: max-content;
        animation: none;
    }

    .highlights .container,
    .services-grid,
    .why-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .about-image::before,
    .about-image::after {
        display: none;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-header h2,
    .about-content h2,
    .app-content h2,
    .contact-info h2 {
        font-size: 36px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .highlights .container,
    .services-grid,
    .why-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-box h2 {
        font-size: 50px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .app-features .feature {
        justify-content: center;
    }

    .contact-form {
        padding: 40px 25px;
    }

    .footer {
        text-align: center;
    }

    .social-links,
    .trust-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .floating-stat-card {
        padding: 15px 20px;
    }

    .floating-stat-card .icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .floating-stat-card h4 {
        font-size: 16px;
    }

    .app-image img {
        max-width: 260px;
        border-width: 10px;
    }
}


/* Compact Hero for inner pages */
.page-hero {
	min-height: 40vh;
	padding-top: 150px;
	padding-bottom: 60px;
	text-align: center;
}

/* Typography adjustments for legal text */
.policy-card {
	background: #fff;
	padding: 60px 80px;
	border-radius: 30px;
	box-shadow: var(--shadow);
	max-width: 1000px;
	margin: -80px auto 0; /* Pulls it up slightly over the hero */
	position: relative;
	z-index: 10;
}

.policy-content h3 {
	color: var(--heading);
	font-size: 22px;
	font-weight: 700;
	margin-top: 40px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

.policy-content p {
	margin-bottom: 15px;
	color: var(--text);
	font-size: 16px;
}

/* Restoring bullets for the policy list (since global CSS removes them) */
.policy-content ul {
	list-style-type: disc;
	padding-left: 25px;
	margin-bottom: 25px;
}

	.policy-content ul li {
		margin-bottom: 8px;
		color: var(--text);
		font-size: 16px;
	}

@media(max-width: 768px) {
	.policy-card {
		padding: 40px 25px;
		margin-top: -40px;
	}
}
