/* Scotia Consulting Group - Main Stylesheet */

/* ===== VARIABLES ===== */
:root {
    /* Primary Colors */
    --navy-blue: #1A365D;
    --charcoal-gray: #333F48;
    --light-blue: #4A90E2;
    --light-gray: #E5EAF2;
    
    /* Secondary Colors */
    --medium-blue: #2C5282;
    --dark-gray: #2D3748;
    --soft-blue: #EBF8FF;
    --white: #FFFFFF;
    --teal-green: #38A169;
    
    /* Text Colors */
    --primary-text: #333F48;
    --secondary-text: #718096;
    --light-text: #FFFFFF;
    --accent-text: #4A90E2;
    
    /* Fonts */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 15px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-blue);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--light-blue);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--medium-blue);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--navy-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--medium-blue);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--light-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #2B6CB0;
    color: var(--white);
}

.btn-accent {
    background-color: var(--teal-green);
    color: var(--white);
}
.btn-accent:hover {
    background-color: #2F855A;
    color: var(--white);
}


/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--navy-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--charcoal-gray);
    font-weight: 600;
    position: relative;
}

.nav-menu a:hover {
    color: var(--light-blue);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--light-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 60vh;
    min-height: 600px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--white);
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 54, 93, 0.6), rgba(44, 82, 130, 0.6));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--white);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    height: 80px;
    width: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--soft-blue);
    border-radius: 50%;
    color: var(--light-blue);
    font-size: 2rem;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
}

.service-content p {
    color: var(--secondary-text);
    margin-bottom: 20px;
}

/* ===== POSTING SECTION ===== */
.posting {
    background-color: var(--light-gray);
}

/* ===== TRAINING PROGRAMS SECTION ===== */
.training {
    background-color: var(--light-gray);
}

.training-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.training-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.training-icon {
    height: 80px;
    width: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--soft-blue);
    border-radius: 50%;
    color: var(--light-blue);
    font-size: 2rem;
}

.training-content {
    padding: 30px;
}

.training-content h3 {
    margin-bottom: 15px;
}

.training-content p {
    color: var(--secondary-text);
    margin-bottom: 20px;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background-color: var(--white);
}

.benefits-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
}

.benefit-icon {
    height: 70px;
    width: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--soft-blue);
    border-radius: 50%;
    color: var(--light-blue);
    font-size: 1.75rem;
}

.benefit-item h3 {
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--secondary-text);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding-right: 30px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--charcoal-gray);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #CBD5E0;
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--secondary-text);
    margin-top: 5px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-gray);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #A0AEC0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--light-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.875rem;
    color: #A0AEC0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 50px;
    width: 50px;
    background-color: var(--navy-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--light-blue);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 0 20px;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
        margin: 0 auto;
    }
    
    .contact-container,
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
    	font-size: 1.5rem;
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .service-card,
    .training-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}


.protected-phone {
    cursor: pointer;
    color: #FFFFFF;
    text-decoration: underline;
    display: inline-block;
}

.protected-phone:hover {
    color: #FFFFFF;
}

.white-link {
    color: var(--white) !important;
    text-decoration: none;
}
    .white-link:hover {
        color: var(--light-blue) !important;
        text-decoration: none;
    }






/* Updated styles for indentation and spacing */
ul {
    padding-left: 2em;
}

ul + h3 {
    margin-top: 1em;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: var(--navy-blue);
}


/* ===== EVENT SECTION ===== */
.event .subheading{
    font-size:1.25rem;
    color:var(--secondary-text);
    margin-top:-15px;
    margin-bottom:30px;
    line-height:1.4;
}
.event-info p{
    text-align:center;
    margin-bottom:10px;
}
.event-learning{
    max-width:700px;
    margin:0 auto 30px;
}
.event-learning ul{
    list-style:disc;
    padding-left:1.5rem;
}
.event-cta{
    text-align:center;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}
.event .subheading{margin-bottom:50px;}
.event-info{margin-bottom:30px;}
.event-cta{margin-top:30px;}
.event {
    background-color: var(--light-gray);
}


/* Styles specific to the checkout page */

.checkout-hero {
    padding-top: 140px;
}

.checkout-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

    .checkout-buttons > div {
        width: 100%;
    }



