599 lines
11 KiB
CSS
599 lines
11 KiB
CSS
/*
|
|
* JPM Security & Services - Style 4
|
|
* A modern corporate design with dynamic elements
|
|
*/
|
|
|
|
:root {
|
|
--primary-dark: #1a1f2c;
|
|
--primary-light: #ffffff;
|
|
--accent-color: #3498db;
|
|
--accent-hover: #2980b9;
|
|
--text-dark: #2c3e50;
|
|
--text-light: #f8f9fa;
|
|
--gradient-start: #2c3e50;
|
|
--gradient-end: #3498db;
|
|
--border-color: #e9e9e9;
|
|
--bg-light: #f8f9fa;
|
|
--transition: all 0.3s ease;
|
|
}
|
|
|
|
/* General Styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: var(--text-dark);
|
|
background-color: var(--primary-light);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
section {
|
|
padding: 100px 0;
|
|
position: relative;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 15px 35px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
border-radius: 30px;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
position: relative;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
}
|
|
|
|
.btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
|
|
transition: 0.5s;
|
|
z-index: -1;
|
|
}
|
|
|
|
.btn:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
color: var(--primary-light);
|
|
border: none;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--primary-dark);
|
|
border: 2px solid var(--primary-dark);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: var(--primary-dark);
|
|
color: var(--primary-light);
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Top Bar */
|
|
.top-bar {
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
color: var(--primary-light);
|
|
padding: 10px 0;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.top-contact span {
|
|
margin-right: 20px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.top-contact i {
|
|
margin-right: 8px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.top-social {
|
|
text-align: right;
|
|
}
|
|
|
|
.top-social a {
|
|
color: var(--primary-light);
|
|
margin-left: 15px;
|
|
opacity: 0.8;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.top-social a:hover {
|
|
opacity: 1;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
background-color: rgba(255, 255, 255, 0.95);
|
|
padding: 20px 0;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.header.scrolled {
|
|
padding: 15px 0;
|
|
background-color: rgba(255, 255, 255, 0.98);
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo a {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo-img {
|
|
width: 50px;
|
|
height: 50px;
|
|
background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
|
|
background-size: contain;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
margin-right: 15px;
|
|
filter: brightness(0);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.logo:hover .logo-img {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.logo-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.logo-main {
|
|
font-size: 1.8rem;
|
|
font-weight: 800;
|
|
letter-spacing: 3px;
|
|
color: var(--primary-dark);
|
|
line-height: 1;
|
|
}
|
|
|
|
.logo-sub {
|
|
font-size: 0.7rem;
|
|
letter-spacing: 1.5px;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.main-nav {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.main-nav ul {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.main-nav ul li {
|
|
margin-left: 30px;
|
|
}
|
|
|
|
.main-nav ul li a {
|
|
color: var(--text-dark);
|
|
font-weight: 500;
|
|
padding: 5px 0;
|
|
position: relative;
|
|
}
|
|
|
|
.main-nav ul li a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--accent-color);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.main-nav ul li a:hover::after,
|
|
.main-nav ul li a.active::after {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-btn {
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
color: var(--primary-light);
|
|
padding: 10px 25px;
|
|
border-radius: 30px;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-btn:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero-section {
|
|
padding: 120px 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background-color: var(--bg-light);
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: 800;
|
|
margin-bottom: 1.5rem;
|
|
line-height: 1.2;
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
animation: fadeInUp 1s ease forwards;
|
|
}
|
|
|
|
.hero-content p {
|
|
font-size: 1.2rem;
|
|
color: var(--text-dark);
|
|
margin-bottom: 2rem;
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
animation: fadeInUp 1s ease 0.2s forwards;
|
|
}
|
|
|
|
.hero-btns {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
animation: fadeInUp 1s ease 0.4s forwards;
|
|
}
|
|
|
|
.hero-btns .btn {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.hero-image {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-img-container {
|
|
position: relative;
|
|
padding-bottom: 100%;
|
|
overflow: hidden;
|
|
border-radius: 20px;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hero-img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url('cytonn-photography-n95VMLxqM2I-unsplash.jpg');
|
|
background-size: cover;
|
|
background-position: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.hero-img-container:hover .hero-img {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.hero-shape {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: -100px;
|
|
width: 300px;
|
|
height: 300px;
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
border-radius: 50%;
|
|
opacity: 0.1;
|
|
transform: translateY(-50%);
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Features Section */
|
|
.features-section {
|
|
padding: 80px 0;
|
|
background-color: var(--primary-light);
|
|
}
|
|
|
|
.feature-box {
|
|
text-align: center;
|
|
padding: 40px 30px;
|
|
background: var(--primary-light);
|
|
border-radius: 15px;
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
|
|
transition: var(--transition);
|
|
height: 100%;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.feature-box::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
opacity: 0;
|
|
transition: var(--transition);
|
|
z-index: 0;
|
|
}
|
|
|
|
.feature-box:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.feature-box:hover::before {
|
|
opacity: 0.05;
|
|
}
|
|
|
|
.feature-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto 25px;
|
|
position: relative;
|
|
z-index: 1;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.feature-icon i {
|
|
font-size: 35px;
|
|
color: var(--primary-light);
|
|
}
|
|
|
|
.feature-box h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 15px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.feature-box p {
|
|
color: var(--text-dark);
|
|
margin-bottom: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Services Section */
|
|
.services-section {
|
|
padding: 100px 0;
|
|
background-color: var(--bg-light);
|
|
}
|
|
|
|
.service-card {
|
|
background: var(--primary-light);
|
|
padding: 40px 30px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
|
|
transition: var(--transition);
|
|
height: 100%;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.service-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
opacity: 0;
|
|
transition: var(--transition);
|
|
z-index: 0;
|
|
}
|
|
|
|
.service-card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.service-card:hover::before {
|
|
opacity: 0.05;
|
|
}
|
|
|
|
.service-icon {
|
|
width: 70px;
|
|
height: 70px;
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 25px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.service-icon i {
|
|
font-size: 30px;
|
|
color: var(--primary-light);
|
|
}
|
|
|
|
.service-content h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 15px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.service-content p {
|
|
color: var(--text-dark);
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.read-more {
|
|
color: var(--accent-color);
|
|
font-weight: 600;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.read-more i {
|
|
margin-left: 5px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.read-more:hover {
|
|
color: var(--accent-hover);
|
|
}
|
|
|
|
.read-more:hover i {
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeInUp {
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
transform: scale(1.05);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
/* Responsive Styles */
|
|
@media (max-width: 1199.98px) {
|
|
.hero-content h1 {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2.2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.main-nav {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-menu-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.hero-content {
|
|
text-align: center;
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.hero-shape {
|
|
display: none;
|
|
}
|
|
|
|
.about-content {
|
|
margin-top: 50px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
section {
|
|
padding: 60px 0;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.feature-box,
|
|
.service-card {
|
|
margin-bottom: 30px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.hero-content h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.section-subtitle::before {
|
|
width: 30px;
|
|
}
|
|
} |