/* Custom Green Color Scheme for GBI Energy */
:root {
    --primary: #0F6938;
    --primary-rgb: 15, 105, 56;
    --primary-dark: #0b4e2a;
    --primary-light: #138b48;
}

/* Text colors */
.text-primary {
    color: #0F6938 !important;
}

/* Background colors */
.bg-primary {
    background-color: #0F6938 !important;
}

/* Button styles */
.btn-primary {
    background-color: #0F6938;
    border-color: #0F6938;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0b4e2a;
    border-color: #0b4e2a;
}

.btn-outline-primary {
    color: #0F6938;
    border-color: #0F6938;
}

.btn-outline-primary:hover {
    background-color: #0F6938;
    border-color: #0F6938;
    color: white;
}

/* Link colors */
a {
    color: #0F6938;
}

a:hover {
    color: #0b4e2a;
}

/* Custom components */
.icon-circle {
    background-color: #0F6938;
}

.service-benefit-icon {
    background: rgba(15, 105, 56, 0.1);
}

.step-number {
    background: #0F6938;
}

.value-icon {
    color: #0F6938;
}

/* Timeline */
.timeline::after {
    background-color: #0F6938;
}

.timeline-item::after {
    border: 4px solid #0F6938;
}

/* Form controls */
.form-control:focus {
    border-color: #0F6938;
    box-shadow: 0 0 0 0.25rem rgba(15, 105, 56, 0.25);
}

.form-check-input:checked {
    background-color: #0F6938;
    border-color: #0F6938;
}

/* Navbar active state */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .show > .nav-link {
    color: #0F6938;
}

/* Pagination */
.page-link {
    color: #0F6938;
}

.page-link:hover {
    color: #0b4e2a;
}

.page-item.active .page-link {
    background-color: #0F6938;
    border-color: #0F6938;
}

/* Progress bars */
.progress-bar {
    background-color: #0F6938;
}

/* Custom utility classes */
.text-primary {
    color: #0F6938 !important;
}

.border-primary {
    border-color: #0F6938 !important;
}

/* Card hover effects */
.card:hover .value-icon {
    color: #0F6938;
}

/* Override Bootstrap primary color in components */
.alert-primary {
    color: #0a3d20;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.badge.bg-primary {
    background-color: #0F6938 !important;
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(32%) sepia(64%) saturate(60%) hue-rotate(87deg) brightness(95%) contrast(90%);
}

/* Custom button styles */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0F6938;
    --bs-btn-border-color: #0F6938;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b4e2a;
    --bs-btn-hover-border-color: #0a4525;
    --bs-btn-focus-shadow-rgb: 15, 105, 56;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a4525;
    --bs-btn-active-border-color: #093c20;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0F6938;
    --bs-btn-disabled-border-color: #0F6938;
}

.btn-outline-primary {
    --bs-btn-color: #0F6938;
    --bs-btn-border-color: #0F6938;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0F6938;
    --bs-btn-hover-border-color: #0F6938;
    --bs-btn-focus-shadow-rgb: 15, 105, 56;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0F6938;
    --bs-btn-active-border-color: #0F6938;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0F6938;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0F6938;
    --bs-gradient: none;
}

/* Custom background utilities */
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--primary-rgb), var(--bs-bg-opacity)) !important;
}

/* Text color utilities */
.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--primary-rgb), var(--bs-text-opacity)) !important;
}

/* Hero section adjustments for green theme */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}







/* Custom styles for GBI Energy */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Footer Styles */
footer a:hover {
    color: #0F6938 !important;
    transition: color 0.3s ease;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #0F6938;
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    display: none;
    transition: all 0.3s ease;
}

.back-to-top.show {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.border-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}


/* Hero Slider Styles */
.carousel-item {
    height: 90vh;
    min-height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Service Card Styles */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image-container {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 63, 5, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-image-container:hover .card-overlay {
    opacity: 1;
}

/* Stats Section */
.stat-item {
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Animation for elements */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* About Page Styles */
/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 82, 155, 0.9), rgba(0, 82, 155, 0.8)), url('https://placehold.co/1200x800/00529B/FFFFFF/png?text=GBI+Energy') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0;
}

/* Mission & Vision Cards */
.mission-vision-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    height: 100%;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: #0F6938;
}

/* Core Values Cards */
.value-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.value-icon {
    transition: all 0.3s ease;
    color: #0F6938;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

/* Shadow hover utility */
.shadow-hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #0F6938;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid #0F6938;
    border-radius: 50%;
    top: 15px;
    right: -13px;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even)::after {
    left: -13px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Team Cards */
.team-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
}

 

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-vision-card .card-body {
        padding: 2rem !important;
    }
    
    .value-card .card-body {
        padding: 1.5rem !important;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #0F6938;
    margin: 15px auto;
}

.bg-primary {
    background-color: #0F6938 !important;
}

.btn-primary {
    background-color: #0F6938;
    border-color: #0F6938;
}

.btn-primary:hover {
    background-color: #003A6D;
    border-color: #003A6D;
}

.text-primary {
    color: #0F6938 !important;
}

/* Services Page Specific Styles */
.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.service-row {
    padding: 40px 0;
}

.service-features .list-group-item {
    border: none;
    padding: 0.5rem 0;
    background: transparent;
}

.service-benefit-icon {
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    margin: 0 auto;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 0;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: #0F6938;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
    
    .service-row {
        padding: 20px 0;
    }
}

.about-hero {
    background: url('assets/images/about/hero-bg.jpg'),linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
}

.team-card {
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    height: 500px;
    object-fit: cover;
}

/* Mission & Vision Cards */
.mission-vision-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Core Values Cards */
.value-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.value-icon {
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

/* Shadow hover utility */
.shadow-hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #0F6938;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid #0F6938;
    border-radius: 50%;
    top: 15px;
    right: -13px;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even)::after {
    left: -13px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-vision-card .card-body {
        padding: 2rem !important;
    }
    
    .value-card .card-body {
        padding: 1.5rem !important;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
}