/*
* OBS Theme: Stellar Indigo Theme
* Version: 1.0.0
* Description: The default frontend base theme featuring a cool gradient from #6e8efb to #a777e3. 
* Provides a clean, modern user experience.
* OBS Version Compatibility: 1.1.0+
* Author: ZeroTen Technologies LTD (https://zerotenweb.com.ng)
*/

/* --- THEME COLOR DEFINITIONS --- */
:root {
    --obs-primary-color: #6e8efb;    /* Indigo-Blue (Used for text accents, icons) */
    --obs-secondary-color: #a777e3;  /* Lavender-Purple (Used in gradient) */
    --obs-accent-color: #ffc107;     /* Yellow/Warning (Used for highlight buttons) */
    --obs-primary-hover: #5b7de8;    /* Darker Primary for hover states */
    --obs-dark-bg: #181818;          /* Contact Section Background (only used in final footer/contact bg) */
    --obs-deeper-dark-bg: #121212;   /* Footer Background */
}
/* ---------------------------------- */


body {
    font-family: Arial, sans-serif;
}

/* Button Primary (Standard Primary Button) */
.btn-primary {
    background-color: var(--obs-primary-color);
    border-color: var(--obs-primary-color);
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--obs-primary-hover);
    border-color: var(--obs-primary-hover);
    transform: scale(1.05);
}

/* Button Warning (Used for Hero Call-to-Action) */
.btn-warning {
    background: var(--obs-accent-color);
    border: none;
    color: #000;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-warning:hover {
    background: #e0a800;
    transform: scale(1.05);
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-size: 1rem;
    margin-right: 1rem;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: var(--obs-primary-color);
}

.nav-link.active {
    font-weight: bold;
    color: var(--obs-primary-color) !important;
}

/* Navbar Scroll Effect */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* --- HERO SECTION STYLES (HOMEPAGE) --- */
.hero-section {
    background: linear-gradient(135deg, var(--obs-primary-color), var(--obs-secondary-color));
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section h1 {
    font-size: calc(2rem + 1vw);
}

.hero-section p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-section .text-warning {
    color: var(--obs-accent-color) !important;
}

/* Outline Light Button (for Hero) */
.hero-section .btn-outline-light {
    border-color: #fff;
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 30px;
}

.hero-section .btn-outline-light:hover {
    background: #fff;
    color: var(--obs-primary-color);
}

.hero-section img {
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- END HERO SECTION STYLES --- */


/* About Section */
#about {
    background: #f9f9f9;
}
#about h2 {
    color: var(--obs-primary-color);
}
#about ul {
    padding-left: 0;
}
#about ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
#about .text-primary {
    color: var(--obs-primary-color) !important;
}
#about img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Services Section */
#services i {
    color: var(--obs-primary-color);
    transition: transform 0.3s ease-in-out;
}

#services i:hover {
    transform: scale(1.2);
}

#services h5 {
    font-size: 1.2rem;
}

/* Subscribe Section */
#subscribe {
    background: var(--obs-primary-color);
}

.subscribe-form {
    max-width: 500px;
    margin: auto;
}

.subscribe-form input {
    border-radius: 8px;
}

.subscribe-form .btn {
    background: var(--obs-dark-bg);
    border: none;
    color: #fff;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.subscribe-form .btn:hover {
    opacity: 0.9;
}

/* Contact Section */
#contact {
    /* This rule applies to the dark footer section content */
    background: var(--obs-dark-bg);
    color: #d1d1d1;
}

#contact h2 {
    color: var(--obs-primary-color) !important;
}

#contact .text-dark {
    /* Revert to Bootstrap default dark text (black/dark gray) 
       since the contact section background is now white (bg-white in view) */
    color: #212529 !important; 
}

#contact .text-primary, 
#contact .bi {
    color: var(--obs-primary-color) !important;
}

#contact a {
    /* Revert link color for the light background contact info area */
    color: #212529; 
}

#contact a:hover {
    color: var(--obs-primary-color);
}

#contact .card {
    /* Revert to standard light card colors for the contact form */
    background: #f8f9fa; /* bg-light */
    color: #212529;
    border-radius: 10px;
    border: none;
}

/* --- INPUT FIELD FIX --- */
#contact .form-control {
    /* Revert to default light/white background for input boxes */
    background: #fff;
    border-color: #ccc;
    color: #212529; /* Dark text */
}

#contact .form-control:focus {
    background: #fff;
    border-color: var(--obs-primary-color);
    box-shadow: 0 0 0 0.25rem rgba(110, 142, 251, 0.25);
}
/* --- END INPUT FIELD FIX --- */

#contact .form-label {
    font-weight: bold;
}

#contact .btn-primary {
    background: var(--obs-primary-color);
    border: none;
}

#contact .btn-primary:hover {
    background: var(--obs-primary-hover);
}

/* Footer */
footer {
    background: var(--obs-deeper-dark-bg);
    color: #d1d1d1;
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer a {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: var(--obs-accent-color);
}

footer .bi {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

footer .bi:hover {
    transform: scale(1.1);
    color: var(--obs-accent-color);
}

footer p, footer ul {
    line-height: 1.6;
}


/* --- STANDALONE PAGE HERO STYLES (For About/Contact) --- */

/* Page Hero for Light Background Pages (like About) */
.page-hero.light {
    background-color: #f8f9fa; 
    padding: 80px 0 40px; 
    text-align: center;
    color: #212529; 
}

.page-hero.light h1 {
    color: var(--obs-primary-color);
    font-weight: 700;
}

/* Page Hero for Primary Color Background Pages (like Contact) */
.page-hero.primary-bg {
    background-color: var(--obs-primary-color); 
    padding: 120px 0 60px; 
    text-align: center;
    color: #fff;
}

.page-hero.primary-bg h1 {
    font-weight: 700;
}