*{
	margin: 0;
	padding: 0;
	font-family: 'Satoshi', sans-serif;
}

li{
	list-style: none;
}

a{
	text-decoration: none;
}

html, body {
	background-color: #232323;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%; 
	height: -webkit-fill-available; /* Apple's native full-screen command */
	height: 100dvh; /* Modern dynamic fallback */
	overflow: hidden;
}

.main-wrapper {
	background-color: #FFFCF7;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	height: -webkit-fill-available; /* Forces it to the very bottom edge */
	height: 100dvh;
	z-index: 2; 
	transform-origin: top center;
	overflow: hidden;
	box-shadow: 0px 30px 50px rgba(0,0,0,0.4);
}

nav{
	display: flex;	
	justify-content: space-between;
	padding: 30px 70px;
}

nav img{
	height: 40px;
	width: auto;
	opacity: 0;
}

/* Replace old 'nav svg' rules with this */
.menu-btn {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	opacity: 0; 
	pointer-events: none;
}

.icon-hamburger, .icon-close {
	position: absolute;
}

.icon-close {
	opacity: 0; /* X icon starts fully invisible */
}

nav button {
	font-size: 15px;
	letter-spacing: -0.08rem;
	font-weight: 500;
	padding: 10px 20px;
	height: fit-content;
	border: 1px solid #000;
	border-radius: 30px;
	cursor: pointer;
	background-color: transparent;
	color: #000; /* ADD THIS to force black text */
	-webkit-appearance: none; /* ADD THIS to remove iOS styling */
	transition: background-color .4s ease, color .4s ease;
}

nav button:hover{
	background-color: #1E1E1E;
	color: #FFF;
}

/* Keeps the nav visible on top of the menu */
nav {
	position: relative;
	z-index: 100; 
}

nav svg {
	cursor: pointer;
}

.menu-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	z-index: 50;
}

.menu-overlay ul {
	display: flex;
	flex-direction: column;
	gap: 40px;
	text-align: center;
}

.menu-overlay ul li a {
	font-size: 64px;
	font-weight: 500;
	color: #B5B4B3;
	letter-spacing: -0.08rem;
}

.menu-overlay .active-item{
	color: #000;
}

.menu-overlay a:not(.active-item):hover{
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.hero{
	margin: 11.11% 9.0278% 9.0278%;
	display: flex;
	flex-direction: column;
}


.hero-stars{
	display: flex;
}

.hero-top .hero-stars {
	width: 43.4%;
	justify-content: space-between;
}

.hero-stars svg{
	width: 34.043%;
	height: auto;
}

.hero-top{
	margin-left: 8.218%;
	width: 91.782%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* overflow: hidden;  <--- REMOVED */
}

.hero-top h2{
	font-size: 64px;
	text-align: right;
	max-width: 480px;
	font-weight: 500;
	letter-spacing: -0.08rem;
	line-height: 55px;
	padding-bottom: 15px; 
}

.hero-mid{
	padding-top: 120px;
}

.hero-mid ul{
	display: flex;
	gap: 100px;
}

.hero-mid ul li a{
	color: #000;
	font-size: 16px;
	font-weight: 500;
	transition: text-decoration .4s ease;
}

.hero-mid ul li a:hover{
	text-decoration: underline;
}

.hero-bottom{
	margin-top: 70px;
	align-self: center;
}

.hero-bottom img{
	height: 283px;
	width: auto;
}



/*==============
	ABOUT JOLT
==============*/

.aboutJolt {
	display: flex;
	flex-direction: column;
	margin: 10.4167% 9.0278% 12.5% 9.0278%;
	position: absolute;
	top: 0;
	bottom: 0; /* <--- ADD THIS */
	left: 0;
	right: 0;
	opacity: 0; 
	pointer-events: none;
}

.aboutJoltTop{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.aboutJoltTop .hero-stars {
	width: 13.56%; 
}

.aboutJoltTop .hero-stars svg {
	width: 100%;
	height: auto;
}

.aboutJoltTop span{
	font-size: 64px;
	font-weight: 500;
}

.title-mask {
    overflow: hidden;
    display: inline-block; 
}

.title-text {
    display: inline-block; 
}

.aboutJoltTop span .smallHead{
	font-size: 20px;
}

.aboutJoltMid {
	display: flex;
	justify-content: center;
	align-items: center; /* Centers vertically */
	flex: 1; /* Consumes remaining vertical space */
}

/* Make sure .aboutJoltBottom stays at the bottom */
.aboutJoltBottom {
	display: flex;
	justify-content: center;
	margin-top: 40px; 
}
.aboutJoltBottom{
	margin-top: 40px;
}

.aboutJoltMid p{
	font-size: 64px;
	font-weight: 500;
	text-align: center;
	max-width: 915px;
	letter-spacing: -0.08rem;
	line-height: 80px;
	color: #B5B4B3;
}

.aboutJoltBottom p{
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 500;
	max-width: 365px;
}


/*===================
	POWERED BY JOLT
===================*/

.poweredJolt {
	display: flex;
	flex-direction: column;
	margin: 10.4167% 9.0278% 12.5% 9.0278%;
	position: absolute;
	/* height: 100%; <--- DELETE THIS LINE */
	top: 0;
	bottom: 0; /* <--- ADD THIS */
	left: 0;
	right: 0;
	opacity: 0; 
	pointer-events: none;
}

.poweredJoltMid {
	display: flex;
	flex-direction: column;
	gap: 30px;
	justify-content: center;
	flex: 1; /* Add this to consume the remaining space! */
	/* margin-top: 8%; <--- DELETE THIS LINE */
}

.midOne,
.midTwo,
.midThree{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.joltMidTitle{
	font-size: 64px;
	font-weight: 500;
	text-transform: uppercase;
}

.joltMidTitleNo{
	font-size: 12px;
	font-weight: 500;
}

.joltMidInfo{
	font-size: 16px;
	font-weight: 400;
	text-align: center;
	color: #000;
	max-width: 554px;
	text-transform: uppercase;
}

.midTwo,
.midThree{
	color: #B5B4B3;
}


/*==============
	FOOTER
===============*/

.ctaJolt h2 {
	font-size: 64px;
	font-weight: 500;
	letter-spacing: -0.08rem;
	max-width: 850px;
	margin-bottom: 30px;
}

.work-btn {
	font-size: 15px;
	letter-spacing: -0.08rem;
	font-weight: 500;
	padding: 10px 20px;
	border: 1px solid #000;
	border-radius: 30px;
	cursor: pointer;
	background-color: transparent;
	color: #000; /* ADD THIS to force black text */
	-webkit-appearance: none; /* ADD THIS to remove iOS styling */
	transition: background-color .4s ease, color .4s ease;
}

.work-btn:hover {
	background-color: #1E1E1E;
	color: #FFF;
}

.jolt-footer {
	background-color: #232323;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 43.55vh;
	z-index: 1; 
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 50px 70px 30px 70px;
	box-sizing: border-box;
	color: #FFF;
}

.ctaJolt {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: auto;        
	bottom: 0;        
	left: 0;
	width: 100%;
	height: 56.45vh; 
	opacity: 0;
	pointer-events: none;
	text-align: center;
}

.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	font-weight: 400;
}

.footer-links {
	display: flex;
	gap: 30px;
}

.footer-links a {
	color: #FFF;
	transition: opacity 0.3s ease;
}

.footer-links a:hover {
	opacity: 0.6;
}

.contact-info {
	color: #FFF;
}

/* Forces any auto-generated phone links to be white! */
.contact-info a,
.contact-info a:link,
.contact-info a:visited {
	color: #FFF !important;
	text-decoration: none !important;
}

.footer-mid {
	text-align: center;
}

.giant-jolt {
	width: 370px;
	height: auto;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #FFF;
}

.footer-bottom span a{
	text-decoration: none;
	color: #FFF;
	transition: opacity 0.3s ease;
}

.footer-bottom span a:hover{
	opacity: 0.6;
}



/*===================
	CONTACT JOLT
===================*/

.contactJolt {
	display: flex;
	flex-direction: column;
	margin: 10.4167% 9.0278% 12.5% 9.0278%;
	position: absolute;
	/* height: 100%; <--- DELETE THIS LINE */
	top: 0;
	bottom: 0; /* <--- ADD THIS */
	left: 0;
	right: 0;
	opacity: 0; 
	pointer-events: none;
}

.contactFormContainer {
	margin-top: 80px;
	padding: 0 5%;
	display: flex;
	justify-content: center;
}

.jolt-contact-form {
	width: 100%;
	max-width: 1100px;
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.form-row {
	display: flex;
	justify-content: space-between;
	gap: 80px;
}

.form-row.full-width {
	flex-direction: column;
}

.input-group {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.input-group-left{
	justify-content: flex-end;
	text-align: right;
}

.input-group label {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.04rem;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	color: #000;
}

.input-group label span {
	font-size: 13px;
	font-weight: 500;
}

.num-right { margin-left: 6px; }
.num-left { margin-right: 6px; }

.input-group input,
.input-group select,
.input-group textarea {
	border: none;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	background: transparent;
	padding: 10px 0;
	font-size: 18px;
	color: #000;
	outline: none;
	transition: border-bottom-color 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
	border-bottom: 1px solid #000;
}

.select-input {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
	cursor: pointer;
	padding-right: 30px;
}

.send-btn {
	align-self: flex-start;
	margin-top: 20px;
}



/*==================
====================
	RESPONSIVE DESIGN
====================
==================*/

/* --- TABLET / SMALL DESKTOP (Max Width: 1024px) --- */
@media (max-width: 1024px) {
	nav button,
	.work-btn {
    	font-size: 12px;
    }

    nav img {
    	height: 30px;
    }

	.hero-top h2{
		font-size: 44px;
		max-width: 360px;
		line-height: 45px;
    	padding-bottom: 5px;
	}

	.hero-mid ul li a{
		font-size: 14px;
	}

	.hero-bottom img {
    	height: 183px;
    }

    .aboutJolt,
    .poweredJolt,
    .contactJolt{
    	margin: 13.4167% 9.0278% 12.5% 9.0278%;
    }

    .aboutJoltTop span {
    	font-size: 44px;
    }

    .aboutJoltTop span .smallHead {
    	font-size: 16px;
	}

	.aboutJoltMid p { font-size: 50px; max-width: 695px; line-height: 70px; }

	.aboutJoltBottom p {
	    font-size: 14px;
	    max-width: 295px;
	}

	.joltMidTitle {
		font-size: 44px;
	}

	.joltMidInfo {
	    font-size: 14px;
	    max-width: 404px;
	}

	.icon-hamburger{
		width: 30px;
	}

	.icon-close{
	    width: 20px;
	}

	.menu-overlay ul li a {
    	font-size: 44px;
    }

    .menu-overlay ul {
    	gap: 25px;
    }

    .ctaJolt h2 {
    	font-size: 44px;
    	max-width: 520px;
    }

    .footer-links{
    	gap: 20px;
    }

    .footer-top,
    .footer-bottom{
    	font-size: 10px;
    }

    .giant-jolt{
    	width: 250px;
    }

    .input-group label {
    	font-size: 16px;
    }

    .input-group input, .input-group select, .input-group textarea{
    	font-size: 16px;
    }

    .contactFormContainer{
    	padding: 0 5%;
    	margin-top: 40px;
    }

    .jolt-contact-form{
    	gap: 40px;
    }
}

/* --- MOBILE / PORTRAIT TABLET (Max Width: 768px) --- */
@media (max-width: 768px) {
	/* Global Spacing */
	nav { padding: 25px 5%; }

	.hero, .aboutJolt, .poweredJolt, .contactJolt {
		margin: 12vh 5% 2vh 5%;
        display: flex;
        flex-direction: column;
	}

    /* Hero Section Fluid Math */
    .hero-top { margin-left: 0; width: 100%; }
    .hero-top .hero-stars {
        flex-direction: column; justify-content: space-between;
        width: 18%; aspect-ratio: 160 / 470; gap: 0;
    }
    .hero-top .hero-stars svg { width: 100%; height: auto; }
    
    .hero-top h2 { font-size: 36px; line-height: 38px; max-width: 250px; padding-bottom: 8px; }
    
    .hero-mid { padding-top: 6vh; }
    .hero-mid ul { gap: 20px; flex-wrap: wrap; justify-content: center; }
    
    .hero-bottom { margin-top: 5vh; }
    .hero-bottom img { height: 70px; } /* Shrunk from 100px to prevent crowding */

    /* About Section */
    .aboutJoltTop .hero-stars { width: 18%; }
    .aboutJoltTop span { font-size: 32px; }
   .aboutJoltMid p { font-size: 26px; line-height: 38px; }

    /* Powered By Section */
    .poweredJoltMid { gap: 20px; }
    .joltMidTitle { font-size: 28px; }
    .joltMidInfo { font-size: 13px; }

    /* Contact Form Stacking & Mobile Scrolling */
    .contactFormContainer {
    	padding: 0;
        margin-top: 4vh;
        max-height: 60vh;         
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 10px;
        padding-bottom: 20px;
    }
    /* Mobile Scrollbar */
    .contactFormContainer::-webkit-scrollbar { width: 4px; }
    .contactFormContainer::-webkit-scrollbar-track { background: transparent; }
    .contactFormContainer::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.2); border-radius: 10px; }

    .form-row { flex-direction: row; gap: 15px; }
    .jolt-contact-form { gap: 25px; }
    .input-group label { font-size: 11px; }
    .input-group label span { font-size: 9px; }
    .input-group input, .input-group select, .input-group textarea { font-size: 14px; padding: 5px 0; }
    .input-group-left { justify-content: flex-end; text-align: right; }
    .send-btn { align-self: center; margin-top: 10px; }

    /* Footer & CTA */
    .ctaJolt h2 { font-size: 32px; line-height: 38px; max-width: 90%; }
    .jolt-footer { padding: 4vh 5% 2vh 5%; justify-content: space-around; }
    .footer-top { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .giant-jolt { width: 60%; } /* Shrunk from 80% */
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* --- EXTREME SHORT MOBILE SCREENS (Specifically targets the 750x586 zone) --- */
@media (max-width: 768px) and (max-height: 650px) {
    /* Push everything higher up */
    nav { padding: 15px 5%; }
    .hero, .aboutJolt, .poweredJolt, .contactJolt { margin-top: 10vh; }
    
    .hero-top h2 { font-size: 24px; line-height: 28px; max-width: 180px; }
    .hero-top .hero-stars { width: 14%; } /* Smaller stars */
    
    /* REARRANGE TRICK: Move Logo above links so it doesn't get clipped! */
    .hero-top { order: 1; }
    
    .hero-bottom { 
        order: 2; 
        margin-top: 2vh; 
        align-self: flex-end; /* Push it to the right */
    }
    .hero-bottom img { height: 40px; } /* Drastically shrink logo */
    
    .hero-mid { 
        order: 3; 
        padding-top: 3vh; 
    }
    .hero-mid ul { gap: 10px; }
    .hero-mid ul li a { font-size: 12px; }
    
    /* Aggressive compression for other sections */
    .aboutJoltTop span { font-size: 22px; }
    .aboutJoltMid p { font-size: 18px; line-height: 26px; }
    .aboutJoltBottom { margin-top: 15px; }
    .aboutJoltBottom p { font-size: 10px; }
    
    .poweredJoltMid { gap: 10px; }
    .joltMidTitle { font-size: 18px; }
    .joltMidInfo { font-size: 10px; line-height: 14px; }
    
    .contactFormContainer { max-height: 55vh; margin-top: 2vh; }
    .jolt-contact-form { gap: 15px; }
    .form-row { gap: 10px; }
    
    .ctaJolt h2 { font-size: 20px; line-height: 26px; }
    .giant-jolt { width: 40%; }
    .jolt-footer { padding: 2vh 5%; }
}

/* --- SMALL PORTRAIT MOBILE (Max Width: 480px) --- */
@media (max-width: 480px) {
	.hero-top h2 { font-size: 28px; line-height: 32px; max-width: 190px; }
	.aboutJoltMid p { font-size: 20px; line-height: 30px; }
	.menu-overlay ul li a { font-size: 32px; }
}

/* --- SHORT DESKTOP SCREENS (Wide Width, Squished Height) --- */
@media (max-height: 800px) and (min-width: 769px) {
	/* Pulled the top margin UP from 16vh to 12vh so content isn't pushed off the bottom */
	.hero, .aboutJolt, .poweredJolt, .contactJolt { margin: 12vh 9% 4vh 9%; }
	
	.hero-top h2, .aboutJoltTop span { font-size: 8vh; line-height: 1.1; padding-bottom: 5px; }
	.aboutJoltTop span .smallHead { font-size: 3vh; }
	.aboutJoltMid p { font-size: 7vh; line-height: 1.2; }
	
	/* BUG FIXED: Replaced the hardcoded 40px margin so this dynamically shrinks on short screens! */
	.aboutJoltBottom { margin-top: 3vh; }
	
	.joltMidTitle { font-size: 5vh; }
	.ctaJolt h2 { font-size: 7vh; margin-bottom: 2vh; }

	.hero-mid { padding-top: 4vh; }
	.hero-bottom { margin-top: 4vh; }
	.hero-bottom img { height: 18vh; } /* Shrunk slightly to ensure it never clips */
	
	.poweredJoltMid { gap: 2.5vh; }
	
	.contactFormContainer { 
		margin-top: 4vh; 
		max-height: 55vh;         
		overflow-y: auto;         
		overflow-x: hidden;
		padding-right: 15px;      
	}

	.contactFormContainer::-webkit-scrollbar { width: 5px; }
	.contactFormContainer::-webkit-scrollbar-track { background: transparent; }
	.contactFormContainer::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.2); border-radius: 10px; }
	.contactFormContainer::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.5); }

	.jolt-contact-form { gap: 3vh; }
	.form-row { gap: 40px; }
	.input-group label { margin-bottom: 2px; }
	.input-group input, .input-group select, .input-group textarea { padding: 5px 0; }
	
	.jolt-footer { padding: 4vh 70px 2vh 70px; justify-content: space-around; }
	.giant-jolt { width: 25vh; }
}

/* --- SHORT TO MID-HEIGHT DESKTOP (Width > 1024px, Height < 1000px) --- */
@media (min-width: 1025px) and (max-height: 1000px) {
    /* 1. Tighten the Hero Section */
    .hero { 
        margin-top: 8vh; 
        margin-bottom: 5vh; 
    }
    
    .hero-top h2 {
        font-size: min(64px, 8vh); /* Dynamically shrinks text as height drops */
        line-height: 1.1;
        max-width: 400px;
    }

    .hero-bottom img {
        height: 22vh; /* Scales the logo down relative to screen height */
        width: auto;
    }

    /* 2. Fix the About Jolt Clipping */
    .aboutJolt { 
        margin-top: 10vh; 
        margin-bottom: 5vh; 
    }

    .aboutJoltMid p {
        font-size: min(64px, 7vh); /* Prevents the main text from pushing the bottom out */
        line-height: 1.2;
    }

    .aboutJoltBottom {
        margin-top: 3vh; /* Uses height-based spacing instead of fixed pixels */
    }

    /* 3. Tighten the Powered By Section */
    .poweredJoltMid {
        gap: 3vh; /* Shrinks the gap between the three services */
    }

    .joltMidTitle {
        font-size: min(64px, 7vh);
    }
}
















