/* =========================
   IPS 2026 — Consolidated Modern Stylesheet
   Motif: #1f2a44 (blue), #7e1416 (red), #c3b192 (khaki)
========================= */

:root {
    --ips-blue: #1f2a44;
    --ips-red: #7e1416;
    --ips-khaki: #c3b192;
    --ips-white: #ffffff;
    --ips-gray: #f5f6f7;
    --ips-dark: #0f1624;

    --radius: 6px;
    --shadow: 0 4px 14px rgba(0,0,0,0.08);
    --transition: 0.25s ease;
}

/* =========================
   GLOBAL RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--ips-red);
    color: var(--ips-khaki);
    line-height: 1.6;
	padding
}

/* =========================
   HEADER
========================= */
header {
    width: 100%;
    background: var(--ips-blue);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
	height: 75px;
}
body {
    padding-top: 75px; /* match header height */
}


header .container {
    max-width: 1300px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: center;
}

header nav li {
    display: flex;
}

header nav a {
    text-decoration: none;
    color: var(--ips-khaki);
    font-weight: 600;
    transition: var(--transition);
    padding: 6px 4px;
}

header nav a:hover {
    color: var(--ips-white);
}

/* =========================
   HERO
========================= */
.hero {
    height: 72vh;
    background: url('../images/hshake.jpg') no-repeat;
    background-size: cover;
    
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
    margin-top: 0px;
}
.hero a {
    color: var(--ips-white);
    font-size: 1.2rem;
    text-decoration: none;
    background: rgba(0,0,0,0.4);
    padding: 12px 22px;
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.hero a:hover {
    background: rgba(0,0,0,0.6);
}



/* =========================
   TITLES
========================= */
h2.section-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 18px;
    color: var(--ips-khaki);
}

h2.section-title span {
    color: var(--ips-white);
    font-weight: 700;
}

/* =========================
   SERVICES GRID
========================= */
.services-grid {
	max-width: 1000px;
	
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 0 auto;
}

.service-card {
    background: var(--ips-blue);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    color: var(--ips-khaki);
}



.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--ips-khaki);
    color: var(--ips-blue);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: var(--ips-khaki);
}

.service-card a {
    color: var(--ips-khaki);
    font-weight: 600;
    text-decoration: none;
	
   
}
	

.service-card a:hover {
    color: var(--ips-red);
}

/* Desktop default */
.service-col {
    padding-left: 65px;
}



/* =========================
   CONTACT SECTION
========================= */
.contact-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-box {
    background: var(--ips-blue);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--ips-khaki);
}

.contact-box h3 {
    margin-bottom: 12px;
}

.contact-box a {
    color: var(--ips-white);
    text-decoration: none;
    font-weight: 600;
}

.contact-box a:hover {
    color: var(--ips-khaki);
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 40px 0;
    background: var(--ips-blue);
    color: var(--ips-khaki);
    margin-top: 80px;
}

footer a {
    color: var(--ips-khaki);
    text-decoration: none;
    margin: 0 8px;
}

footer a:hover {
    color: var(--ips-white);
}

/* =========================
   LANDING OVERLAY (Modern)
========================= */

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;

    background:
       
        url('../img/landing.jpg') no-repeat center center fixed;

    background-size: cover;

    transition: transform 1.1s ease;
    transform: translateY(0); /* start fully covering */
}
.page-overlay.hide {
    transform: translateY(-100%); /* slide up like a curtain */
}

.scroll-arrow {
    width: 28px;
    height: 28px;
    border-right: 4px solid var(--ips-khaki);
    border-bottom: 4px solid var(--ips-khaki);
    transform: translateX(-50%) rotate(45deg);
    position: absolute;
    left: 50%;
    bottom: 240px;

    opacity: 0.9;
    transition: opacity 0.2s ease;
    cursor: default;
}

.scroll-arrow:hover {
    opacity: 0.6;
}

/* Floating panels / shadow boxes */
.shadow-box {
    background-color: var(--ips-blue);
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    margin: 20px auto;
	
	max-width: 1000px;
	
	
}

.shadow-box-khaki {
    background-color: var(--ips-khaki);
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    margin: 20px auto;
	
	max-width: 1000px;
	color: var(--ips-blue);
}
	


.shadow-box img {
    
    height: auto;
    display: block; /* removes tiny bottom gap */
    border-radius: 6px; /* optional, matches your motif */
}

.pic {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.shadow-box a{
	color: var(--ips-khaki);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--ips-khaki);
    border-radius: 3px;
}

@media (max-width: 700px) {

    /* shrink padding so things fit */
    header .container {
        padding: 12px 16px;
    }

    /* Replace long name with IPS */
    .site-title {
        font-size: 0;
    }
    .site-title::after {
        content: "IPS";
        font-size: 1.6rem;
        color: var(--ips-khaki);
        font-weight: 700;
		
    }

    /* show hamburger */
    .mobile-toggle {
        display: flex;
    }

    /* hide entire nav (not just ul) on mobile by default */
    header nav {
        display: none;
    }

    /* when nav-open, show nav as dropdown */
    body.nav-open header nav {
        display: block;
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        background: var(--ips-blue);
        box-shadow: var(--shadow);
    }

    body.nav-open header nav ul {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 20px;
    }
	
	.shadow-box .service-col {
        display: block !important;
        padding-left: 20px !important; /* replaces the 65px desktop indent */
    }

    .shadow-box .service-col ul {
        padding-left: 20px !important;
    }
	
	.service-col {
        padding-left: 0 !important;
    }
	
	.hero {
        background-position: calc(50% - 30px) center;
    }



}