﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/

body {
    background-image: url('../Images/bgPattern2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding-top: 80px; /* Add padding to account for fixed header */
    color: #2c3e50;
    line-height: 1.6;
}

a:link {
    color: #03c0dd;
    text-decoration: underline;
}

a:visited {
    color: #186d7c;
}

a:hover {
    color: #06697a;
    text-decoration: underline;
}

a:active {
    color: #03c0dd;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a252f;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #34495e;
}

h5, h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/
.row.justify-content-center {
    background: transparent !important;
}

/* Navigation Link Hover Override */
.navbar-dark .nav-link:hover {
    color: #12a704 !important; /* ComoLogo hover color */
}

/* Fixed Header Navigation */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}

/* Admin Panel Subtitle Color */
.admin-subtitle {
    color: rgb(3, 192, 221) !important;
}

/* Application Form Lead Text */
.lead {
    font-size: 1.5rem !important; /* Increased from default 1.25rem */
    font-weight: 500;
}
#page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

    #header {
        position: relative;
        margin-bottom: 0;
        color: #000;
        padding: 0;
    }

    #main {
        padding: 40px;
        background: transparent;
        margin-bottom: 30px;
        box-shadow: none;
        border-radius: 15px;
        border: none;
    }

    #footer {
        padding: 10px 0;
        text-align: center;
        line-height: normal;
        margin: 0;
        font-size: .9em;
    }

/* Site Title 
----------------------------------------------------------*/
#header .site-title {
    float: left;
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px;
    
    /*CSS3 properties*/
    text-shadow: 1px 1px 2px #111;
}

/* Login Display  
----------------------------------------------------------*/
#login {
    float: right;
    font-size: 1.1em;
    display: block;
    text-align: right;
    color: #000;
}

    #login li {
        margin: 0;
        display: inline;
        list-style: none;
        padding-left: 5px;
    }
    
    #login a:link, #login a:visited {
        color: #fff;
        text-decoration: none;
    }

    #login a:hover
    {
        color: #fff;
        text-decoration: underline;
    }

/* Tab Menu   
----------------------------------------------------------*/
ul#menu {
    clear: both;
    border-bottom: 1px #5c87b2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;

    }

        ul#menu li a {
            padding: 10px 20px;
            font-weight: bold;
            text-decoration: none;
            line-height: 2.8em;
            background-color: #f0fdff;
            color: #03c0dd;
            
            /*CSS3 properties*/
            -webkit-border-radius: 4px 4px 0 0;
            -moz-border-radius: 4px 4px 0 0;
            border-radius: 4px 4px 0 0;
        }

        ul#menu li a:hover {
            background-color: #ffffff;
            color: #02a8c4;
            text-decoration: none;
        }

        ul#menu li a:active {
            background-color: #e6f9fc;
            color: #03c0dd;
            text-decoration: none;
        }

        ul#menu li.selected a {
            background-color: #ffffff;
            color: #03c0dd;
        }
        
/* forms   
----------------------------------------------------------*/
fieldset {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

    fieldset legend {
        font-size: 1.1em;
        font-weight: bold;
        padding: 2px 4px 8px 4px;
    }
    
    fieldset ol {
        padding: 0;
        list-style: none;
    }
    
        fieldset ol li {
            padding-bottom: 5px;
        }
    
    fieldset label {
        display: block;
    }
    
    fieldset label.checkbox {
        display: inline;
    }
    
    fieldset input[type="text"], input[type="password"] {
        border: 1px solid #ccc;
        padding: 2px;
        font-size: 1.2em;
        color: #444;
        width: 300px;
    }

    fieldset input[type="submit"] {
        font-size: 1.2em;
        padding: 5px;
    }
    
 /* Information and errors  
----------------------------------------------------------*/  
.message {
    clear: both;
    border: 1px solid;
    margin: 10px 0px;
    padding: 15px 15px;
    
    /*CSS3 properties*/
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 2px 2px 5px #888;
    -moz-box-shadow: 2px 2px 5px #888;
    box-shadow: 2px 2px 5px #888;
}

.info {
    background: #bde5f8;
    color: #00529b;
}

.error {
    background: #ffe4e4;
    color: #be3e16;
}

.success {
    background: #dff2bf;
    color: #4f8a10;
}

input[type="text"].error-field, input[type="password"].error-field { 
    border: solid 1px #be3e16; 
    background-color: #ffe4e4;
}

.validation-error {
    display: inline;
    color: #be3e16;
    font-weight: bold;
    font-size: 1.1em;
}

    .validation-error:before {
        content: "»";
    }

/* Application Form Styles
----------------------------------------------------------*/
.application-form {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
}

.application-form h2 {
    color: #2c3e50;
    border-bottom: 3px solid #03c0dd;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
}

.application-form fieldset {
    margin: 30px 0;
    padding: 25px;
    border: 2px solid #e8f4fd;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.application-form fieldset legend {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    padding: 8px 15px;
    background: linear-gradient(135deg, #03c0dd, #02a8c4);
    border-radius: 8px;
    border: none;
}

.application-form ol li {
    margin-bottom: 15px;
    padding: 5px 0;
}

.application-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.application-form label.checkbox {
    display: inline;
    font-weight: normal;
    margin-left: 5px;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form input[type="number"],
.application-form select,
.application-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.application-form input[type="text"]:focus,
.application-form input[type="email"]:focus,
.application-form input[type="tel"]:focus,
.application-form input[type="number"]:focus,
.application-form select:focus,
.application-form textarea:focus {
    border-color: #03c0dd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 192, 221, 0.1);
    transform: translateY(-1px);
}

.application-form textarea {
    resize: vertical;
    min-height: 80px;
}

.application-form .form-actions {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.application-form .submit-button,
.application-form .reset-button {
    padding: 15px 35px;
    margin: 0 10px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.application-form .submit-button {
    background: linear-gradient(135deg, #03c0dd, #02a8c4);
    color: white;
    box-shadow: 0 4px 15px rgba(3, 192, 221, 0.3);
}

.application-form .submit-button:hover {
    background: linear-gradient(135deg, #02a8c4, #0288a3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 192, 221, 0.4);
}

.application-form .reset-button {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

.application-form .reset-button:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 165, 166, 0.4);
}

/* Required field indicator */
.application-form label:after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

.application-form label.checkbox:after {
    content: "";
}

/* Checkbox group styling */
.application-form .checkbox-group {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.application-form .checkbox-group label.checkbox {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.application-form .checkbox-group input[type="radio"],
.application-form .checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
    max-width: none;
}

.application-form .checkbox-group input[type="text"] {
    width: 200px;
    max-width: 200px;
    margin-left: 10px;
}

/* Conditional field styling */
.application-form #onlinePresenceDetails,
.application-form #otherLocations {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e8eef4;
}

.application-form #onlinePresenceDetails label,
.application-form #otherLocations label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .application-form {
        padding: 0 10px;
    }
    
    .application-form input[type="text"],
    .application-form input[type="email"],
    .application-form input[type="tel"],
    .application-form input[type="number"],
    .application-form select,
    .application-form textarea {
        max-width: 100%;
    }
    
    .application-form .form-actions {
        text-align: center;
    }
    
    .application-form .submit-button,
    .application-form .reset-button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .application-form .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .application-form .checkbox-group input[type="text"] {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }
}

/* Home Page Styles
----------------------------------------------------------*/
.hero-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0e62c213 0%, #17d1f1 100%);
    color: rgb(20, 37, 187);
    margin-bottom: 40px;
    border-radius: 8px;
}

.hero-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: rgb(197, 111, 14);
}

.hero-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: #28a745;
    color: white;
}

.cta-button.primary:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: blue;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: #5c87b2;
}

.features-section {
    margin: 50px 0;
    padding: 40px 20px;
}

.features-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #03c0dd;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8eef4;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item h4 {
    color: #03c0dd;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.application-process {
    background-color: #f8f9fa;
    padding: 50px 20px;
    margin: 50px 0;
    border-radius: 8px;
}

.application-process h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #03c0dd;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #03c0dd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h4 {
    color: #03c0dd;
    margin-bottom: 10px;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Responsive design for home page */
@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 2em;
    }
    
    .hero-text {
        font-size: 1.1em;
    }
    
    .cta-button {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
    
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
}