37012-vm/assets/css/custom.css
2025-12-17 05:38:04 +00:00

212 lines
4.4 KiB
CSS

/* TPS Petroleums LLP Custom Styles */
:root {
--tps-green: #2E7D32;
--tps-dark-blue: #1A237E;
--tps-white: #FFFFFF;
--tps-light-grey: #F5F5F5;
--tps-dark-grey: #333333;
--font-headings: 'Montserrat', sans-serif;
--font-body: 'Open Sans', sans-serif;
}
body {
font-family: var(--font-body);
color: var(--tps-dark-grey);
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-headings);
font-weight: 700;
}
.navbar {
transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.navbar-brand {
font-family: var(--font-headings);
font-weight: 700;
font-size: 1.5rem;
}
.navbar.scrolled {
background-color: var(--tps-white);
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#hero {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/228095/pexels-photo-228095.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
background-size: cover;
background-position: center;
color: var(--tps-white);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
#hero h1 {
font-size: 3.5rem;
font-weight: 800;
}
#hero p {
font-size: 1.25rem;
max-width: 800px;
margin: 1rem auto;
}
.btn-primary {
background-color: var(--tps-green);
border-color: var(--tps-green);
font-weight: 600;
padding: 0.75rem 1.5rem;
transition: background-color 0.3s, border-color 0.3s;
}
.btn-primary:hover {
background-color: #256528;
border-color: #256528;
}
.btn-secondary {
background-color: transparent;
border-color: var(--tps-white);
color: var(--tps-white);
font-weight: 600;
padding: 0.75rem 1.5rem;
transition: background-color 0.3s, color 0.3s;
}
.btn-secondary:hover {
background-color: var(--tps-white);
color: var(--tps-dark-grey);
}
footer {
background-color: var(--tps-light-grey);
}
.section-title {
font-weight: 800;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 3px solid var(--tps-green);
display: inline-block;
}
#about .card {
border: none;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#about .card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}
.icon-circle {
width: 60px;
height: 60px;
background-color: rgba(46, 125, 50, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--tps-green);
}
#product ul li svg {
vertical-align: middle;
}
/* Quality Assurance Section */
#quality .card {
border: none;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#quality .card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}
/* Logistics & Traceability Section */
#logistics .list-unstyled li div {
font-size: 1.05rem;
}
#logistics .feather {
width: 30px; /* Slightly larger icons */
height: 30px;
}
/* Sustainability Section */
#sustainability .feather {
width: 30px;
height: 30px;
}
#sustainability ul li div {
font-size: 1.05rem;
}
/* Contact Section */
#contact form {
background-color: var(--tps-white);
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.section-title-decorative {
font-weight: 800;
margin-bottom: 1rem;
position: relative;
display: inline-block;
}
.section-title-decorative::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
background-color: var(--tps-green);
}
#hero {
background: linear-gradient(45deg, rgba(46, 125, 50, 0.8), rgba(26, 35, 126, 0.8)), url('https://images.pexels.com/photos/228095/pexels-photo-228095.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
background-size: cover;
background-position: center;
}
/* Specifications & Comparison Sections */
#specifications .table,
#comparison .table {
font-size: 1.1rem;
}
#specifications .table-bordered,
#comparison .table-bordered {
border-color: #dee2e6;
}
.table thead.table-dark th {
background-color: var(--tps-dark-blue);
border-color: var(--tps-dark-blue);
}
#comparison .text-success {
color: var(--tps-green) !important;
font-weight: 600;
}
#comparison .text-danger {
color: #dc3545 !important;
font-weight: 600;
}