/*
Theme Name: Kites Biz Pilot
Theme URI: https://kitesbizpilot.com
Author: Kites Biz Pilot Team
Description: A professional, minimalist theme for SME business analysis and ERP guidance.
Version: 2.6
Text Domain: kites-biz-pilot
*/

:root {
    --color-primary: #0056b3;
    /* Professional Blue */
    --color-accent: #008080;
    /* Teal */
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-light-gray: #f4f6f8;
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Reset & Basics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--color-accent);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: white;
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Header */
.site-header {
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background: white;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF4500;
    /* Vibrant Orange-Red for 'Kites' */
    display: flex;
    align-items: center;
}

.site-logo img,
.custom-logo-link img {
    max-height: 80px;
    width: auto;
    display: block;
}

.site-logo span {
    color: var(--color-accent);
}

/* Navigation */
/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation>ul>li {
    position: relative;
    /* Anchor for dropdown */
}

.main-navigation a {
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    padding: 10px 0;
}

.main-navigation a:hover {
    color: var(--color-primary);
}

/* Dropdown Menu Styles */
.main-navigation ul .sub-menu {
    display: none;
    /* Hide by default */
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--color-primary);
    min-width: 220px;
    z-index: 999;
    flex-direction: column;
    /* Stack vertically */
    gap: 0;
}

.main-navigation ul li:hover>.sub-menu {
    display: block;
    /* Show on hover */
}

.main-navigation ul .sub-menu li {
    border-bottom: 1px solid #eee;
}

.main-navigation ul .sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation ul .sub-menu a {
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #444;
}

.main-navigation ul .sub-menu a:hover {
    background: #f9f9f9;
    color: var(--color-primary);
}

/* Header CTA alignment */
.header-cta .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.site-footer h3,
.site-footer h4 {
    color: white;
}

.site-footer a {
    color: #aab7c4;
}

.site-footer a:hover {
    color: white;
}

.footer-widgets {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-branding {
    flex: 1;
    min-width: 250px;
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* --- Sections & Components --- */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f4f6f8 0%, #eef2f5 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 40px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.section-desc {
    font-size: 1.1rem;
    color: #666;
}

/* Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--color-primary);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-accent);
}

/* Comparison Section */
.comparison-section {
    background: white;
}

.comparison-box {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.compare-col {
    flex: 1;
    padding: 40px;
    border-radius: 8px;
}

.fail-col {
    background: #fff0f0;
    border-left: 5px solid #e74c3c;
}

.success-col {
    background: #f0fdf4;
    border-left: 5px solid #27ae60;
}

.compare-col h3 {
    margin-bottom: 20px;
}

.compare-col ul {
    list-style: none;
}

.compare-col li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.compare-col li:before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1rem;
}

.fail-col li:before {
    color: #e74c3c;
    content: '×';
}

.success-col li:before {
    color: #27ae60;
    content: '✓';
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Footer Layout Fixes */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-branding h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-branding p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact h4,
.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact p {
    color: #cbd5e1;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Social Links */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}