/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #D35400; /* Warm Orange/Brown - Business Formal */
    --primary-hover: #E67E22;
    --primary-light: #FDF8F5;
    --text-main: #2C3E50;
    --text-light: #7F8C8D;
    --bg-color: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #EAECEF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout & Components
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    background-color: var(--white);
}

.section.bg-light {
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-top: -30px;
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 18px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    padding: 10px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    background: none;
    border: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #F4E8E1 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card-desc {
    font-size: 15px;
    color: var(--text-light);
    flex-grow: 1;
}

/* Case Card */
.case-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-img {
    width: 100%;
    height: 200px;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 40px;
    border-bottom: 1px solid var(--border-color);
}

.case-content {
    padding: 30px;
}

.case-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.case-tag {
    font-size: 12px;
    padding: 4px 10px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
}

.case-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.case-meta strong {
    color: var(--text-main);
}

.case-result {
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1A252F;
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about .logo-icon {
    background-color: var(--white);
    color: var(--primary-color);
}

.footer-desc {
    color: #BDC3C7;
    font-size: 14px;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #BDC3C7;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #BDC3C7;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2C3E50;
    color: #7F8C8D;
    font-size: 14px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 36px; }
}

@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border-color);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--bg-color);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .grid-4, .grid-3, .grid-2 { 
        grid-template-columns: 1fr; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section {
        padding: 50px 0;
    }
}
