/* ============================================================
   ITAVAIL MAKEOVER - DESIGN SYSTEM
   Brand: #001C55 (deep navy), Red CTAs, Light gray #F0F0F0 bg
   ============================================================ */

/* ---- RESET ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1em;
    line-height: 1.6;
}

body {
    background-color: #F0F0F0;
    min-width: 385px;
}

/* ---- BUTTONS ---- */
.btn {
    cursor: pointer;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.btn-red {
    background-color: #FC0301;
    color: #F0F0F0;
}

.btn-red:hover {
    background-color: #C62828;
}

.btn-rect {
    display: inline-block;
    text-decoration: none;
    padding: 1em;
	margin:0em;
    border-radius: 0.3em;
}

.btn-wide {
    width: 100%;
    max-width: 360px;
}

/* ---- CARD CONTAINER (for courses/solutions/chat) ---- */
.card-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3em 1.5em;
}

.card {
    background: #F0F0F0;
    border-radius: 0.75em;
    padding: 2.5em 2em;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 1);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
    background: #F0F0F0;
    padding: 0.75em 1.5em;
    border-bottom: 1px solid #c2bdbdcf;
}

.header-inner {
    display: flex;
    justify-content: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75em;
}

.logo-img {
    width: auto;
}

/* ============================================================
   SECTION 1 (HERO)
   ============================================================ */
#section1,
#products-section {
    background: #001C55;	
	background-image: url('images/heroBg.jpg');
    background-repeat: repeat-x;
    background-position: bottom;	
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.topbar {
	font-size:1em;
	font-weight: 800;
	color: #F0F0F0;
	text-align: center;
    margin-top: 1em;
}

.section1-inner {
    position: relative;
    z-index: 1;
    padding: 4em 1.5em 2em;
}

.section1-inner h1 {
    color: #F0F0F0;
    font-size: clamp(1.6em, 3.5vw, 2.4em);
    font-weight: 800;
    margin-bottom: 0.6em;
}

.section1-sub {
    color: #F0F0F0;
	font-weight: 800;
    max-width: 680px;
    margin: 0 auto 1.8em;
}

.section1-buttons {
    display: flex;
    gap: 10em;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section 1 bottom bar */
.section1-tagline-bar {
	text-align:center;	
    align-items: center;
    width: 100%;
    background: #001C55;
    padding: 0.7em 2em;
    color: #F0F0F0;
    font-size: 0.8em;
    flex-wrap: wrap;
}

.tagline-text {
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

@media (max-width: 750px) {
	.section1-buttons {
		flex-direction: column;
		align-items: center;
		gap: 1em;
	}

	.section1-buttons .btn {
		width: 100%;
		max-width: 260px;
	}

    .section1-tagline-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   ABOUT US SECTION
   ============================================================ */
#about {
    background: #F0F0F0;
    background-image: url('images/aboutHero.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;	
    padding: 4em 1.5em;
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3em;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 450px;
}

.about-label {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 700;    
    letter-spacing: 2px;
    color: #5B8EC9;
    margin-bottom: 0.5em;
}

.about-heading {
    color: #001C55;
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 700;
    margin-bottom: 0.8em;
}

.about-text p {
    color: #4E657A;
    font-size: 1.05em;
    max-width: 520px;
}

@media (max-width: 750px) {
	#about {
		background-image: none;
	}

    .about-inner {
        flex-direction: column;
        text-align: center;
    }
    .about-text p {
        max-width: none;
    }
}
/* ============================================================
   List SECTION
   ============================================================ */
#list {
    background: #F0F0F0;
    padding: 1em 1.5em;
}

.list-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.list-section {
    border: 1px solid #c2bdbdcf;
	border-radius: 1em;
	padding : 2em;
}

.list-head {
    color:#001C55;
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 700;
}

.list-title {
    letter-spacing: 2px;
    color: #FC0301;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.list-section ul {
    padding-left : 2em;
	line-height:2em;
}

.list-section p {
    color: #4E657A;
    font-size: 1.05em;
	line-height:2em;
}

@media (max-width: 750px) {
    .list-inner {
        flex-direction: column;
    }
    .list-section p {
        max-width: none;
    }
}

/* ============================================================
   OUR SOLUTIONS SECTION
   ============================================================ */
#solutions-home {
	position: relative;
    background: #024992;
    background-image: url('images/rightWhiteWave.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;	
    padding: 4em 1.5em;	
}

#solutions-home .products-grid {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
}

#solutions-home .products-col {
    color: #F0F0F0;
    padding: 1em 0;
	width:30%;
}

#solutions-home .products-col h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 0.6em;
}

#solutions-home .products-col p {
    font-size: 0.95em;
    color: #F0F0F0
    line-height: 1.7;
	width: 15em;
}
.products-label {
    letter-spacing: 2px;
    color: #F0F0F0;
    margin-bottom: 0.5em;
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 700;
}

/* CTA Card */
.cta-card {
    position: absolute;
    top: 5em;
    right:6em;
    z-index: 1;
}

.cta-card-inner {
    text-align: right;
    max-width: 200px;
}

.cta-icon {
    margin-bottom: 0.5em;
}

@media (max-width: 750px) {
	#solutions-home {
		background-image: none;
	}

	#solutions-home .products-grid {
		gap: 1em;
		justify-content: center;
		text-align: center;
	}

	#solutions-home .products-col {
		width: 80%;
		margin: 0 auto;
	}

	#solutions-home .products-col p {
		text-align: center;
		width: auto;
	}

    .cta-card {
        display: none;
    }
}

/* ============================================================
   PRODUCT SECTION
   ============================================================ */

.products-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.products-icon  img{
    width: 200px;
	margin-bottom: 1em;
}

.products-card {
    max-width: 900px;
}

.products-card .products-grid {
    display: flex;
    gap: 0;
}

.products-card .products-col {
    flex: 1;
    padding: 0 1.5em;
}

.products-card .products-col:first-child {
    border-right: 1px solid #c2bdbdcf;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.products-item {
    margin-bottom: 1.5em;
}

.products-item h4 {
    color:#001C55;
    font-weight: 700;
    margin-bottom: 0.25em;
}

.products-item h4 .star {
    color: #E63946;
    font-size: 1.1em;
}

.products-item p {
    color: #4E657A;
    font-size: 0.9em;
    line-height: 1.5;
}

.products-footnote {
    margin-top: 1.5em;
    padding-top: 1.5em;
    font-weight: 700;
    font-size: 0.9em;
}

.products-footnote .star {
    color: #E63946;
}

@media (max-width: 750px) {
    .products-card .products-grid {
        flex-direction: column;
    }
    .products-card .products-col:first-child {
        border-right: none;
        border-bottom: 1px solid #c2bdbdcf;
        padding-bottom: 0.5em;
        margin-bottom: 0.5em;
    }
    .products-card .products-col {
        padding: 0;
    }
}
/* ============================================================
   CHAT / FORM SECTION
   ============================================================ */
.form-card h2 {
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 0.3em;
}

.form-sub {
    text-align: center;
    color: #5B8EC9;
    font-size: 0.95em;
    margin-bottom: 2em;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.form-form {
    max-width: 580px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 1em;
}

.form-group {
    margin-bottom: 1em;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: 0.4em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75em 0.9em;
    border: 1px solid #c2bdbdcf;
    border-radius: 0.4em;
    font-size: 0.95em;
    background: #F0F0F0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 2px 2px 10px rgba(0, 28, 85, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    text-align: center;
    color: #888;
    font-size: 0.85em;
    margin: 1em 0 1.5em;
}

.form-form .btn-wide {
    display: block;
    margin: 0 auto;
}

/* ---- CHECKBOX GRID (for courses form) ---- */
#form-section {
    color:#001C55;
}
#form-section-label {
    display: block;
    font-weight: 700;
    font-size: 0.95em;
    margin-bottom: 0.8em;
}

.checkbox-grid {
    display: flex;
    gap: 1.5em;
    margin-bottom: 0.8em;
}

.checkbox-col {
    flex: 1;
}

.check-item {
    display: block;
    font-size: 0.9em;
    color: #4E657A;
    margin-bottom: 0.5em;
    cursor: pointer;
}

.check-item input {
    margin-right: 0.5em;
}



/* ---- JOB ROLE GRID (side-by-side role groups) ---- */
.job-role-grid {
    display: flex;
    gap: 2em;
    margin-bottom: 0.8em;
}

.job-role-col {
    flex: 1;
}

@media (max-width: 750px) {
    .checkbox-grid {
        flex-direction: column;
        gap: 0;
    }

    .job-role-grid {
        flex-direction: column;
        gap: 1em;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
	background: #001C55;
    padding: 2.5em 1.5em;
    text-align: center;
	font-weight: 600;
    color: #F0F0F0;
    border-top: 1px solid #c2bdbdcf;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-contact {
    margin-bottom: 1.2em;
}

.footer-contact a {
    color: #F0F0F0;
    text-decoration: none;
}

.footer-contact a:hover{
	color: #FC0301;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-bottom: 1.2em;
}

.footer-social a img {
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-social a img:hover {
    opacity: 1;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2em;
    margin-bottom: 1.2em;
}

.footer-nav a {
    text-decoration: none;
    font-weight: 600;
    color: #F0F0F0;
}

.footer-nav a:hover {
	color: #FC0301;
    opacity: 1;
}

.footer-copy {
    margin-bottom: 0.25em;
}

@media (max-width: 750px) {
	.footer-nav {
		gap: 0.6em;
	}
}

/* ============================================================
   FLOATING MENU
   ============================================================ */
.floating-menu {
    position: fixed;
    bottom: 1.5em;
    right: 1.5em;
    z-index: 1000;
}

.floating-menu-toggle {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    background: #FC0301;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.floating-menu-toggle:hover {
    background: #C62828;
}

.floating-menu-toggle span {
    display: block;
    width: 1.2em;
    height: 0.15em;
    background: #F0F0F0;
    border-radius: 0.1em;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-menu.open .floating-menu-toggle span:nth-child(1) {
    transform: translateY(0.45em) rotate(45deg);
}

.floating-menu.open .floating-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.floating-menu.open .floating-menu-toggle span:nth-child(3) {
    transform: translateY(-0.45em) rotate(-45deg);
}

.floating-menu-list {
    position: absolute;
    bottom: 3.8em;
    right: 0;
    background: #F0F0F0;
    border-radius: 0.5em;
    box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5em 0;
    min-width: 12em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5em);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.floating-menu.open .floating-menu-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-menu-list li {
    margin: 0;
}

.floating-menu-list a {
    display: block;
    padding: 0.65em 1.2em;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.floating-menu-list a:hover {
    background: #F0F0F0;
    color: #FC0301;
}
