/*
Theme Name: SkillGalaxy
Theme URI: https://www.skillgalaxy.com
Author: Bitsoft International, Inc.
Author URI: https://www.skillgalaxy.com
Description: SkillGalaxy - All-in-One Online Staffing Marketplace connecting Employers, Candidates, and Suppliers
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skillgalaxy
Tags: staffing, recruitment, jobs, employment, business
*/

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    background: #f5f5f5;
}

a { color: #0073aa; text-decoration: none; }
a:hover { color: #e74c3c; text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ===========================
   HEADER
=========================== */
#header {
    background: #1a2a3a;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

#header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

#logo a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

#logo img { height: 40px; margin-right: 10px; }

/* ===========================
   NAVIGATION
=========================== */
#main-nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

#main-nav ul li a {
    color: #cdd6e0;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#main-nav ul li a:hover,
#main-nav ul li.current-menu-item a {
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
}

#main-nav .login-btn a {
    background: #27ae60;
    color: #fff;
    border-radius: 4px;
}
#main-nav .login-btn a:hover {
    background: #2ecc71;
}

/* ===========================
   HERO / BANNER
=========================== */
.hero-section {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 60%, #3498db 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero-section h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary { background: #e74c3c; color: #fff; }
.btn-primary:hover { background: #c0392b; color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.btn-secondary:hover { background: #fff; color: #1a2a3a; text-decoration: none; }

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
    background: #2c3e50;
    color: #fff;
    padding: 25px 20px;
}

.stats-bar .stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #3498db;
}

.stat-item .stat-label {
    font-size: 13px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   FEATURES / SERVICES SECTION
=========================== */
.features-section {
    background: #fff;
    padding: 70px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: #1a2a3a;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 35px 30px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.feature-card h3 {
    font-size: 20px;
    color: #1a2a3a;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p { color: #666; line-height: 1.7; font-size: 15px; }

.feature-card .btn { margin-top: 20px; font-size: 14px; padding: 10px 24px; }

/* ===========================
   HOW IT WORKS
=========================== */
.how-it-works {
    background: #f0f4f8;
    padding: 70px 20px;
}

.steps-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-item {
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 18px;
}

.step-item h3 { font-size: 18px; color: #1a2a3a; margin-bottom: 10px; }
.step-item p { color: #666; font-size: 14px; }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section {
    background: #1a2a3a;
    color: #fff;
    padding: 70px 20px;
}

.testimonials-section .section-header h2 { color: #fff; }
.testimonials-section .section-header p { color: #aaa; }

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

.testimonial-card {
    background: #243447;
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid #3498db;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 15px;
    line-height: 1.8;
    color: #cdd6e0;
    margin-bottom: 20px;
}

.testimonial-author { font-weight: 600; color: #3498db; }

/* ===========================
   PAGE CONTENT (inner pages)
=========================== */
.page-banner {
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.page-banner h1 { font-size: 36px; font-weight: 700; }
.page-banner p { font-size: 18px; opacity: 0.85; margin-top: 10px; }

.page-content-wrap {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.content-section {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.content-section h2 {
    font-size: 26px;
    color: #1a2a3a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #3498db;
}

.content-section p { color: #555; margin-bottom: 16px; line-height: 1.8; }

.content-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.content-section ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.contact-info-item {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    border: 1px solid #e8e8e8;
}

.contact-info-item .ci-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-info-item h4 { color: #1a2a3a; margin-bottom: 6px; }
.contact-info-item p { color: #555; font-size: 14px; }

.contact-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    margin-bottom: 20px;
    font-family: inherit;
    color: #444;
    transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.contact-form textarea { height: 150px; resize: vertical; }

/* ===========================
   FOOTER
=========================== */
#footer {
    background: #111d2b;
    color: #aaa;
    padding: 50px 20px 20px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #243447;
    margin-bottom: 25px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #3498db; text-decoration: none; }

.footer-col p { font-size: 14px; line-height: 1.7; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
}

.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: #3498db; }

/* ===========================
   MOBILE RESPONSIVE
=========================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    #main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #1a2a3a;
        padding: 15px 20px;
        border-top: 1px solid #243447;
    }

    #main-nav.open { display: block; }

    #main-nav ul {
        flex-direction: column;
        gap: 5px;
    }

    #main-nav ul li a { display: block; padding: 10px 12px; }

    .hero-section h1 { font-size: 28px; }
    .hero-section p { font-size: 16px; }

    .steps-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { text-align: center; justify-content: center; }
}
