/* Restoring Features Grid Styles */

/* 1. Key Capabilities Grid (Features) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #302984;
    /* Brand Blue */
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(244, 185, 5, 0.1);
    /* Light Orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-wrapper i {
    font-size: 24px;
    color: #f4b905;
    /* Brand Orange */
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #302984;
    font-size: 1.5rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}


/* 2. Detailed Modules Grid (Comprehensive Applications) */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.module-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.module-item:hover {
    border-color: #f4b905;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.module-item i {
    font-size: 32px;
    color: #302984;
    /* Brand Blue */
    min-width: 40px;
    margin-top: 5px;
}

.module-content h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.25rem;
    font-weight: 700;
}

.module-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

/* 3. Intro Section Cards */
.intro-section {
    padding: 80px 0;
    background-color: #f8faff;
    border-bottom: 1px solid #e1e1e1;
}

.intro-header {
    margin-bottom: 25px;
    color: #302984;
    font-weight: 800;
}

.intro-lead {
    margin-bottom: 50px;
    color: #555;
    font-size: 1.25em;
    /* Match 'lead' class usually */
}

.intro-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s;
    border-bottom: 4px solid #f4b905;
    position: relative;
    overflow: hidden;
}

.intro-card:hover {
    transform: translateY(-5px);
}

.intro-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(48, 41, 132, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-icon-wrapper i {
    font-size: 36px;
    color: #302984;
}

.intro-card h4 {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.intro-card p {
    color: #777;
    font-weight: 500;
}


/* Dark Mode Overrides */
html.dark-mode .intro-section {
    background-color: #0d1117;
    border-bottom-color: #30363d;
}

html.dark-mode .intro-header {
    color: #f0f6fc;
}

html.dark-mode .intro-lead {
    color: #c9d1d9;
}

html.dark-mode .feature-card,
html.dark-mode .module-item,
html.dark-mode .intro-card {
    background: #161b22;
    border-color: #30363d;
    /* Only affects module-item and borders if set */
    border-bottom-color: #f4b905;
    /* Restore gold bottom border for intro cards */
    box-shadow: none;
    /* Often cleaner in dark mode */
}

html.dark-mode .feature-card h3,
html.dark-mode .module-content h4,
html.dark-mode .intro-card h4 {
    color: #f4b905;
    /* Orange Headlines in Dark Mode for consistency */
}

html.dark-mode .feature-card p,
html.dark-mode .module-content p,
html.dark-mode .intro-card p {
    color: #c9d1d9;
}

html.dark-mode .feature-icon-wrapper,
html.dark-mode .intro-icon-wrapper {
    background: rgba(244, 185, 5, 0.2);
}

html.dark-mode .module-item i,
html.dark-mode .intro-icon-wrapper i {
    color: #f4b905;
}

/* 4. Vision & Power Section */
.vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8faff 0%, #e8f0ff 100%);
}

.vision-header {
    font-size: 2.2em;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #302984;
    font-weight: 800;
}

.vision-quote {
    font-style: italic;
    font-size: 1.3em;
    color: #555;
    margin: 30px 0;
    padding: 20px 40px;
    border-left: 4px solid #f4b905;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

/* 5. Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.benefit-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid #f4b905;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
    font-size: 2.5em;
    color: #302984;
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

/* 6. Capabilities List */
.capabilities-section {
    padding: 80px 0;
}

.capabilities-header {
    font-size: 1.8em;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #302984;
    font-weight: 700;
}

.capabilities-list {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.capabilities-list ul {
    list-style: none;
    padding: 0;
}

.capabilities-list>ul>li {
    margin-bottom: 25px;
    padding-left: 35px;
    position: relative;
    line-height: 1.7;
    color: #333;
}

.capabilities-list>ul>li::before {
    content: "\f192";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #f4b905;
    font-size: 1.2em;
}

.capabilities-list>ul>li strong {
    color: #302984;
    font-weight: 700;
}

.capabilities-list ul ul {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 20px;
}

.capabilities-list ul ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.capabilities-list ul ul li::before {
    content: "\f105";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #302984;
}

/* 7. Enhanced CTA */
.cta-links {
    margin: 30px 0;
}

.cta-links .btn {
    margin: 5px 10px;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-links .btn-linkedin {
    background-color: #0077b5;
    color: white;
    border: none;
}

.cta-links .btn-linkedin:hover {
    background-color: #005885;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

/* Dark Mode Overrides for New Sections */
html.dark-mode .vision-section {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

html.dark-mode .vision-header {
    color: #f0f6fc;
}

html.dark-mode .vision-quote {
    color: #c9d1d9;
    background: rgba(48, 41, 132, 0.1);
    border-left-color: #f4b905;
}

html.dark-mode .benefit-card,
html.dark-mode .capabilities-list {
    background: #161b22;
    border-color: #30363d;
}

html.dark-mode .benefit-card h4,
html.dark-mode .capabilities-list>ul>li strong {
    color: #f4b905;
}

html.dark-mode .benefit-card p,
html.dark-mode .capabilities-list>ul>li {
    color: #c9d1d9;
}

html.dark-mode .benefit-card i {
    color: #f4b905;
}

html.dark-mode .capabilities-header {
    color: #f0f6fc;
}

html.dark-mode .capabilities-list ul ul li {
    color: #adbac7;
}