* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.appointment-form select {
    width: 100%;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.05rem;
    font-family: inherit;
    background: white;
    cursor: pointer;
}

.appointment-form select:focus {
    outline: none;
    border-color: #3b82f6;
}
.appointment-form select:hover {
    border-color: #3b82f6;
}

html, body {
    height: 100%;
}
button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}
body {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background: linear-gradient(to right, #93c5fd, #1e3a8a);
    color: white;
    position: relative;
    padding: 5px 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	display: flex;
    flex-direction: column;
	gap: 18px;
}

.header-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
	padding-top: 8px;   /* space above logo/nav row */
    padding-bottom: 8px; /* space below logo/nav row */
	padding-right: 15px;
}

/**change**/
.logo {
    height: 70px;
    width: auto;
    flex-shrink: 0;
}
/**change**/
.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    line-height: 1;
}
/**change**/
.logo-title {
	font-size: 2.6rem;
    font-weight: 800;

    font-family: "Poppins", system-ui, sans-serif;

    color: #111827;

    letter-spacing: 0.3px;
    line-height: 1;
}
/**change**/
.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}



.call-us {
    position: absolute;
    top: 10px;
    right: 80px;
    font-style: italic;
    font-size: 0.95rem;
	padding-top: 10px;
	opacity: 0.7;
	
}

.signIn-btn {
    background: rgba(255,255,255,0.15);
    border: 2px solid white;
    border-radius: 25px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.signIn-btn:hover {
    background: white;
    color: #1e3a8a;
}

/**change**/
nav {
    margin-top: 20px;
    padding-top: 20px;
    flex: 1;
}
/**change**/
nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* pushes nav to right */
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap; /* keeps it horizontal */
}
/**change**/
nav ul li {
    white-space: nowrap;
}
/**change**/
nav ul li a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 8px 5px; /* gives all tabs equal height */
}


/**CHANGE**/
nav a {
    color: white;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;          /* locks weight */
    padding: 8px 5px;          /* same on normal + hover */
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: #050b1a;
}

main {
    flex: 1;
    text-align: center;
    padding: 60px 20px 60px 20px;
}


/* =========================
   CONTACT PAGE
========================= */

.contact-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;

    max-width: 1300px;
    width: 100%;

    margin: 0px auto 20px auto;
    padding: 0 40px;
}

/* BLUE DIVIDER */
.contact-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 70%;
    transform: translateX(-50%);
    width: 4px;
    background: #1e3a8a;
    opacity: 0.95;
}

/* FORM SIDE */
.contact-form {
    flex: 3;
    text-align: left;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-form .row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .row.full {
    flex-direction: column;
}

/* INPUT BOXES */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.1rem;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.contact-form button {
	background: #eff6ff;
    border-radius: 6px;
    background-color: #475569;
    color: white;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 1rem;
	box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.contact-form button:hover {
    background-color: #3b82f6;
}

/* MAILING INFO */
.mailing-info {
    flex: 1;
    background-color: transparent;
    padding-left: 50px;
    border-radius: 0;
    height: fit-content;
    text-align: left;
	min-width: 250px;
}

.mailing-info h2 {
    margin-bottom: 20px;
    font-size: 1.3rem;
	color: #1e3a8a;
}

.mailing-info p {
    line-height: 2;
    font-size: 1.05rem;
}

/* PAGE TEXT */
h1 {
    padding-bottom: 10px;
    text-align: left;
    padding-left: 80px;
}

.header-paragraph p {
    text-align: left;
    padding-bottom: 70px;
    padding-left: 80px;
}

.paragraph p {
    text-align: left;
    padding-left: 130px;
    padding-bottom: 20px;
}

.mail-logo {
    max-width: 60px;
    padding-bottom: 10px;
	padding-left:0;
	padding-top: 60px;
}

/* MAP */
.map-container {
    max-width: 1400px;
    margin: 10px auto 0 auto;
    padding: 15px 40px 20px 40px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}
/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* FOOTER BASE */
footer {
    background: linear-gradient(to right, #93c5fd, #1e3a8a);
    color: white;
    padding: 40px 70px;
}

/* 3-COLUMN LAYOUT */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* LEFT NAV */
.footer-left h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-left ul {
    list-style: none;
    padding: 0;
}

.footer-left ul li {
    margin-bottom: 8px;
}

.footer-left ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.footer-left ul li a:hover {
    opacity: 1;
    color: #475569;
}

/* CENTER */
.footer-center {
    text-align: center;
    flex: 1;
    font-size: 14px;
    opacity: 0.9;
	padding-left: 120px;
}

.footer-center p {
    margin: 5px 0;
}

/* RIGHT SIDE */
.footer-right {
    text-align: right;
    font-size: 14px;
    opacity: 0.85;
    max-width: 220px;
}

/* BACK TO TOP BUTTON */
.back-to-top {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #93c5fd;
    text-decoration: none;
    transition: 0.2s ease;
}

.back-to-top:hover {
    color: white;
    text-decoration: underline;
}


.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: white;
    width: 320px;

    list-style: none;
    padding: 10px 0;
    margin: 0;

    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);

    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;

    color: #1e3a8a;
    text-decoration: none;
    font-size: 14px;
	white-space: normal;
}

.dropdown-menu li a:hover {
    background: #eff6ff;
    color: #1e3a8a;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.contact-header {
    max-width: 1300px;
    margin: 0 auto 70px auto;
    padding: 0 40px;
    background: none;
    box-shadow: none;
}

.contact-header h1 {
    text-align: left;
    font-size: 3rem;
    color: #1e3a8a;
    padding: 0;
    margin-bottom: 20px;
}

.contact-header p {
    text-align: left;
    max-width: 800px;
    margin: 0;
    color: #475569;
    line-height: 1.9;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.appointment-section {
    max-width: 1100px;
    margin: 0px auto 120px auto;
    padding: 0 40px;
    text-align: left;
	background-color: #eff6ff !important;
}

.appointment-form {
    margin-top: 20px;
}

.appointment-form .row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.appointment-form .row.full {
    flex-direction: column;
}

.appointment-form input,
.appointment-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.05rem;
    font-family: inherit;
    background: white;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.appointment-form button {
    background-color: #475569;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.appointment-form button:hover {
    background-color: #3b82f6;
}

.paragraph1 p {
    text-align: left;
    padding-left: 230px;
    padding-bottom: 20px;
}

.nav-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;

    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;

    transform: rotate(45deg);

    margin-left: 6px;
    margin-bottom: 4.5px;

    transition: transform 0.3s ease, color 0.3s ease;
}

.dropdown:hover .nav-arrow {
    transform: rotate(-135deg);
}

.appointment-section,
.contact-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: 40px;
}

.section-title-find-us {
	font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
	padding-top: 100px;
	
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: #64748b;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.contact-form-area {
    flex: 3;
}


/* =========================
   RESPONSIVE OVERRIDES
   ========================= */
@media (max-width: 1350px) {
	.nav-arrow {
        display: none;
    }
	
    header {
        padding: 10px 30px;
    }
	.logo {
		padding-left: 20px;
	}

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-right {
        text-align: center;
    }

    .content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-center {
        padding-left: 0;
    }
	nav ul li:nth-child(4) {
		margin-right: 15px; 
	}
}
	
	
@media (max-width: 1024px) {
	.nav-arrow {
        display: none;
    }
	
    header {
        padding: 10px 30px;
    }
	.logo {
		padding-left: 20px;
	}

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-right {
        text-align: center;
    }

    .content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-center {
        padding-left: 0;
    }



    
	/* REMOVE DIVIDER LINE */
    .contact-container::after {
        display: none;
    }
}


/* tablets / phones */
@media (max-width: 768px) {
	header {
        padding: 15px;
    }
	
	.hero-left {
        text-align: center;
    }

    .hero-btn,
    .hero-link {
        display: block;
        margin: 12px auto 0 auto;
        width: fit-content;
    }
	.nav-arrow {
        display: none;
    }

    .call-us {
        top: 10px;
        right: 15px;
        font-size: 0.75rem;
		white-space: nowrap;
    }

    nav ul {
        justify-content: center;
        gap: 12px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left p {
        font-size: 14px;
    }

    .services-showcase {
        flex-direction: column;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-points {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        padding-left: 0;
        max-width: none;
        width: 100%;
    }

    .footer-left ul {
        padding: 0;
    }

    .footer-left ul li {
        text-align: center;
    }

    /* =========================
       CONTACT FORM FIX (ADDED)
       ========================= */

    .contact-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }

    /* REMOVE DIVIDER LINE */
    .contact-container::after {
        display: none;
    }

    .mailing-info {
        padding-left: 0;
        margin-top: 10px;
        border-top: 2px solid #e5e7eb;
        padding-top: 20px;
    }

    .contact-form,
    .appointment-form {
        width: 100%;
    }

    .contact-form .row,
    .appointment-form .row {
        flex-direction: column;
    }
}

@media (max-width: 1100px) {
    header {
        position: relative;
        padding: 15px 20px;
    }
	.services-showcase {
        flex-direction: column;
    }

    .call-us {
        position: absolute;
        top: 3px;
        right: 12px;
        margin: 0;
        text-align: right;
        font-size: 0.85rem;
		white-space: nowrap;
    }

    /* logo + text stay together */
    .header-brand {
		padding-top: 40px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .logo {
        height: 60px;
        padding-left: 0;
    }
	
	.logo-title {
        font-size: 2.2rem; 
    }

    .logo-subtitle {
        font-size: 0.8rem; 
    }

    .logo-text {
        text-align: left;
    }

    /* FORCE NAV TO NEXT LINE */
    nav {
        flex-basis: 100%;
        width: 100%;
        margin-top: 15px;
		padding-top: 0;
    }
	
	.nav-arrow {
        display: none;
    }

    nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;   /* DON'T WRAP */
        gap: 10px;
    }

    nav a {
        font-size: 0.75rem;
    }

    nav ul li:nth-child(3),
    nav ul li:nth-child(4) {
        margin-right: 0 !important;
    }
	.footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        padding-left: 0;
        max-width: none;
        width: 100%;
    }

    .footer-left ul {
        padding: 0;
    }

    .footer-left ul li {
        text-align: center;
    }
	.dropdown-menu {
		display: none !important;
	}
	/* REMOVE DIVIDER LINE */
    .contact-container::after {
        display: none;
    }
}


/* phones */
@media (max-width: 480px) {
	
    .call-us {
        position: absolute;
        top: 3px;
        right: 12px;
        margin: 0;
        text-align: right;
        font-size: 0.7rem;
		white-space: nowrap;
    }

    .logo-title {
        font-size: 1.9rem;
    }

    .logo-subtitle {
        font-size: 0.70rem;
    }

   

    nav a {
        font-size: 0.75rem;
    }

    .nav-arrow {
        display: none;
    }

	.footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        padding-left: 0;
        max-width: none;
        width: 100%;
    }

    .footer-left ul {
        padding: 0;
    }

    .footer-left ul li {
        text-align: center;
    }
	.services-showcase {
        flex-direction: column;
    }
	nav ul {
        display: grid !important;
        grid-template-columns: repeat(4, auto);
        justify-content: center;
        gap: 8px 12px;
		flex-wrap: wrap;   /* IMPORTANT FIX */
    }
	
	nav ul li {
		text-align: center;
	}

    nav ul li:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }
	.dropdown-menu {
		display: none !important;
	}

    nav ul li:nth-child(6) {
        grid-column: 3;
        grid-row: 2;
    }
	/* REMOVE DIVIDER LINE */
    .contact-container::after {
        display: none;
    }

    /* force login + sign up to stay together in a row */
    .signIn-btn {
        display: inline-block;
        margin-top: 10px;
    }
}
