:root {
    /* Corporate Blue Theme Variables */
    --bg-color: #ffffff; 
    --bg-gradient: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
    --text-color: #1a202c;
    --text-muted: #4a5568;
    
    --primary-color: #0f4c81; /* Corporate Navy Blue */
    --primary-light: #2c659e;
    
    --secondary-color: #d4af37; /* Elegant Gold */
    --secondary-light: #eadd93;
    
    /* Clean Card UI */
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --nav-bg: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --bg-gradient: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --secondary-color: #fbbf24;
    --card-bg: #1e293b;
    --card-border: #334155;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(15, 23, 42, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Roboto', sans-serif;
}

body {
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    padding-bottom: 80px; 
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

header .logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

header .logo i {
    color: var(--secondary-color);
}

/* Desktop Nav */
.desktop-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--primary-color);
    background: rgba(15, 76, 129, 0.05);
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Bottom Navbar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-around;
    padding: 12px 0 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    width: 60px;
}

.nav-item i {
    font-size: 1.3rem;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active i {
    transform: scale(1.1);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Corporate Card */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Image Integration */
.img-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.img-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--card-border);
}
.img-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

p {
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--card-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-solid {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff;
}

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

/* Hero Section with Image */
.hero-bg {
    position: relative;
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(15, 76, 129, 0.9) 0%, rgba(15, 76, 129, 0.6) 100%);
    padding: 80px 40px;
    color: #fff;
}
[data-theme="dark"] .hero-overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-overlay h1, .hero-overlay p {
    color: #fff;
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Responsive */
@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
    body {
        padding-bottom: 0;
    }
}
@media (max-width: 767px) {
    header .desktop-nav {
        display: none;
    }
    .hero-overlay {
        padding: 50px 20px;
    }
}
