/**
 * EMGVCI Custom Styles
 * ESMaulana Global Ventures Company Inc.
 *
 * Color Scheme (from PDF):
 * - Primary: #4a6b23 (Dark Olive Green - from logo)
 * - Secondary: #ccff00 (Bright Lime Yellow - PDF accents)
 * - Accent: #ff9800 (Warm Orange - petroleum theme)
 * - Dark: #0a0a0a (PDF black backgrounds)
 * - Light: #f5f5f5
 */

/* ===================================
   ROOT VARIABLES
   =================================== */
:root {
    --primary-color: #4a6b23;
    --secondary-color: #ccff00;
    --accent-color: #ff9800;
    --dark-color: #0a0a0a;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

/* ===================================
   BOOTSTRAP OVERRIDES
   =================================== */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #163a6a;
    border-color: #163a6a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 77, 139, 0.3);
}

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

.btn-success:hover {
    background-color: #3a5519;
    border-color: #3a5519;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, #3a5519 0%, var(--primary-color) 100%) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 50%, var(--primary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/page-1-img-1.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.5);
}

/* ===================================
   SECTIONS
   =================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===================================
   CARDS
   =================================== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #2d4415);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(74, 107, 35, 0.4), 0 0 20px rgba(204, 255, 0, 0.2);
}

/* ===================================
   FEATURE BOXES
   =================================== */
.feature-box {
    padding: 2.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0;
    position: relative;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    text-shadow: 0 0 20px rgba(204, 255, 0, 0.6);
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* ===================================
   CONTACT FORM
   =================================== */
.form-control {
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 77, 139, 0.15);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--dark-color);
    color: #ccc;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color) !important;
    transform: translateX(3px);
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   UTILITIES
   =================================== */
.bg-light-gray {
    background-color: #f8f9fa;
}

.text-gold {
    color: var(--secondary-color);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}
