File: //home/jibhires/brightsolutionsindia.com/style.css
/* ===== Global Styles ===== */
:root {
--primary: #0056b3; /* Primary blue */
--secondary: #ff6b00; /* Accent orange */
--dark: #2c3e50; /* Dark blue-gray */
--light: #f8f9fa; /* Light gray */
--text: #333333; /* Main text color */
--text-light: #666666; /* Secondary text */
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--text);
margin: 0;
padding: 0;
background-color: #f5f7fa;
}
/* ===== Background Image with Overlay ===== */
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background:
linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
url('../images/background.jpg') center/cover fixed no-repeat;
color: #333;
}
/* For sections where you want full-color background (override) */
.hero-section,
.services-section,
.contact-section {
background: white !important; /* Solid white background for content sections */
}
/* For transparent cards (if needed) */
.service-card {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(5px);
border: 1px solid rgba(0, 0, 0, 0.05);
}
/* ===== Header & Navigation ===== */
.header {
background: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
padding: 0.5rem 2rem;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo img {
height: 50px;
}
.nav-menu {
display: flex;
list-style: none;
gap: 1.5rem;
margin: 0;
padding: 0;
}
.nav-menu a {
color: var(--dark);
text-decoration: none;
font-weight: 600;
padding: 0.5rem 1rem;
border-radius: 4px;
transition: all 0.3s ease;
}
.nav-menu a:hover {
color: var(--primary);
background: rgba(0, 86, 179, 0.1);
}
/* ===== Hero Section ===== */
.hero {
background: linear-gradient(135deg, var(--primary), #003366);
color: white;
padding: 5rem 2rem;
text-align: center;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
max-width: 800px;
margin: 0 auto 2rem;
}
.cta-button {
display: inline-block;
background: var(--secondary);
color: white;
padding: 0.8rem 2rem;
border-radius: 4px;
text-decoration: none;
font-weight: bold;
transition: background 0.3s ease;
}
.cta-button:hover {
background: #e05d00;
}
/* ===== Services Section ===== */
.services {
padding: 4rem 2rem;
max-width: 1200px;
margin: 0 auto;
}
.section-title {
text-align: center;
margin-bottom: 3rem;
color: var(--dark);
}
.service-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.service-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.service-card:hover {
transform: translateY(-10px);
}
.service-card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.service-content {
padding: 1.5rem;
}
.service-content h3 {
color: var(--primary);
margin-top: 0;
}
/* ===== Footer ===== */
.footer {
background: var(--dark);
color: white;
padding: 3rem 2rem;
text-align: center;
}
.footer-links {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 2rem;
}
.footer-links a {
color: white;
text-decoration: none;
}
.footer-links a:hover {
text-decoration: underline;
}
/* ===== Responsive Design ===== */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
padding: 1rem;
}
.nav-menu {
margin-top: 1rem;
}
.hero {
padding: 3rem 1rem;
}
.hero h1 {
font-size: 2rem;
}
.service-grid {
grid-template-columns: 1fr;
}
}