/* static/companyapp/assets/css/custom.css */

/*
========================================================
Custom Styles for DigitalSecurity➊
========================================================
*/

/* --- Table of Contents ---
1. Global & Typography
2. Header & Navigation
3. Hero Sections
4. Buttons & Links
5. Service Cards
6. Team Cards
7. Animations & Utilities
-----------------------------*/

/* 1. Global & Typography */
:root {
  --primary-color: #0d6efd; /* Bootstrap Blue for consistency */
  --secondary-color: #0ea5e0; /* A vibrant accent blue */
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --text-color: #444444;
  --text-light: #777777;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: calc(50% - 30px);
}

/* 2. Header & Navigation */
#header {
    transition: all 0.5s;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#header.header-scrolled {
    background: var(--dark-color);
}

/* --- LOGO FIX --- */
#header .logo img {
    max-height: 50px; /* Adjust this value as needed */
    margin-right: 10px;
}

#header .logo h5 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}

/* 3. Hero Sections */
#hero.hero-animated-bg {
    width: 100%;
    min-height: 80vh;
    background: linear-gradient(45deg, #0b1d33, #1e3a5f, #0056b3, #0ea5e0);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#hero .hero-container h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#hero .hero-container h2 {
    color: rgba(255, 255, 255, 0.85);
    margin: 15px 0 30px 0;
    font-size: 22px;
    font-weight: 400;
}

/* 4. Buttons & Links */
.btn-get-started {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin-top: 20px;
    color: #fff;
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-get-started:hover {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

/* 5. Service Cards */
.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid #eef0f2;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.12);
}

.service-card .icon {
    margin: 0 auto 20px auto;
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.service-card .icon i {
    color: #fff;
    font-size: 28px;
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card h4 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: 0.3s;
}

.service-card h4 a:hover {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}


/* 6. Team Cards */
.team-card {
    background: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-card .img-container {
    position: relative;
    padding-top: 20px;
    background: #f8f9fa;
}

.team-card .img-container img {
    width: 150px; /* Control team member image size */
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin: 0 auto;
    object-fit: cover;
}

.team-card .member-info {
    padding: 25px 15px;
}

.team-card h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--dark-color);
}

.team-card span {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 15px;
}

.team-card .social a {
    color: var(--text-light);
    font-size: 18px;
    margin: 0 5px;
    transition: 0.3s;
}

.team-card .social a:hover {
    color: var(--primary-color);
}
