/* Custom CSS for CyberWatch Hive - Multi-Page Website */

:root {
    --primary-color: #dc3545;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff !important;
    margin-left: 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #1a0a0a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-left {
    position: relative;
    z-index: 3;
    padding: 6rem 3rem 6rem 5rem;
    animation: heroSlideLeft 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroSlideLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-badge-pill {
    background: rgba(220,53,69,0.15);
    border: 1px solid rgba(220,53,69,0.5);
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #dc3545;
    border-radius: 50%;
    animation: blink 1.4s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 0.3rem;
    letter-spacing: -1px;
    text-shadow: 0 0 40px rgba(220,53,69,0.2);
}

.hero-title-accent {
    background: linear-gradient(90deg, #dc3545, #ff6b6b, #ff9a9a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0%; }
    50%  { background-position: 100%; }
    100% { background-position: 0%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 2.2rem;
}

.hero-btns {
    margin-bottom: 2.5rem;
}

.hero-btn-ghost {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    background: transparent;
    transition: all 0.3s ease;
}

.hero-btn-ghost:hover {
    border-color: #dc3545;
    background: rgba(220,53,69,0.15);
    color: #ff6b6b;
    transform: translateY(-2px);
}

.hero-trust-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}

.hero-trust-item i {
    color: #dc3545;
    font-size: 1rem;
}

/* RIGHT visual panel */
.hero-right {
    position: relative;
    z-index: 3;
    padding: 4rem 4rem 4rem 2rem;
    justify-content: center;
    align-items: center;
    animation: heroSlideRight 0.9s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroSlideRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-visual {
    position: relative;
    width: 480px;
    height: 420px;
}

.hero-img-frame {
    position: absolute;
    inset: 30px 0 0 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(220,53,69,0.3);
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(1.1);
    animation: imgZoom 12s ease-in-out infinite alternate;
}

@keyframes imgZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220,53,69,0.15) 0%, transparent 60%, rgba(0,0,0,0.4) 100%);
}

/* Floating cards */
.hero-float-card {
    position: absolute;
    background: rgba(15,15,15,0.92);
    border: 1px solid rgba(220,53,69,0.35);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    z-index: 5;
    white-space: nowrap;
}

.hero-float-card i {
    font-size: 1.4rem;
}

.hero-float-card--tl { top: 10px; left: -20px; }
.hero-float-card--br { bottom: 20px; right: -10px; }
.hero-float-card--tr { top: 50%; right: -15px; transform: translateY(-50%); }

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes floatUpMid {
    0%, 100% { transform: translateY(-50%); }
    50%       { transform: translateY(calc(-50% - 10px)); }
}

.float-anim-1 { animation: floatUp 4s ease-in-out infinite; }
.float-anim-2 { animation: floatUp 5s 1s ease-in-out infinite; }
.float-anim-3 { animation: floatUpMid 4.5s 0.5s ease-in-out infinite; }

/* Spinning ring */
.hero-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px dashed rgba(220,53,69,0.4);
    animation: spin 12s linear infinite;
    z-index: 2;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Scan line */
.hero-scan {
    position: absolute;
    inset: 30px 0 0 30px;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
}

.hero-scan::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(220,53,69,0.8), transparent);
    animation: scanLine 3s linear infinite;
    box-shadow: 0 0 12px rgba(220,53,69,0.6);
}

@keyframes scanLine {
    from { top: 0; opacity: 1; }
    90%  { opacity: 1; }
    to   { top: 100%; opacity: 0; }
}

/* Hero overlay (keep for backward compat) */
.hero-overlay { display: none; }

/* Responsive hero */
@media (max-width: 991px) {
    .hero-left {
        padding: 5rem 2rem 3rem;
        text-align: center;
    }
    .hero-title { font-size: 3rem; }
    .hero-trust-row { justify-content: center; }
    .hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
}

/* Section Styles */
.section-light {
    background-color: var(--light-bg);
}

.section-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-dark .section-title::after {
    width: 80px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-5px);
}

.service-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 1.5rem;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Team Cards */
.team-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.team-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-8px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.team-card h5 {
    font-weight: 700;
    color: var(--text-dark);
}

/* Contact Section */
.contact-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-box:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-box h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-box p {
    color: var(--text-light);
    margin: 0;
}

.contact-box a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-box a:hover {
    color: #ff6b6b;
}

/* Button Styles */
.btn-danger {
    background: var(--primary-color);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #000 !important;
    border-top: 2px solid var(--primary-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-dark .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    .service-icon {
        font-size: 2rem;
    }

    .about-image {
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b6b;
}

/* Print Styles */
@media print {
    .navbar,
    footer {
        display: none;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
}

.contact-info-icon {
    font-size: 2.5rem;
}

.contact-info-card h5 {
    color: var(--text-dark);
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form .form-control,
.contact-form .form-select {
    border-color: #ddd;
    border-radius: 5px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Team Member Cards */
.team-member-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    color: var(--text-dark);
}

.team-member-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-10px);
}

.team-member-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-image img {
    transform: scale(1.1);
}

.team-member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .team-member-overlay {
    opacity: 1;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: white;
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
}

.team-member-info {
    padding: 1.5rem;
}

.team-member-info h5 {
    color: var(--text-dark);
    font-weight: 700;
}

/* Service Detail Cards */
.service-detail-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-detail-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-5px);
}

.service-detail-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--text-dark);
    font-weight: 700;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Mission & Vision Cards */
.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.mission-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-5px);
}

.mission-icon {
    font-size: 3rem;
}

/* Value Cards */
.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
}

.value-icon {
    font-size: 2.5rem;
}

/* Benefit Icon */
.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Team Value Card */
.team-value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-value-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-5px);
}

/* Map Container */
.map-container {
    border: 3px solid var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
}

/* Stat Box */
.stat-box {
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-dark .stat-number {
    color: #ff6b6b;
}

.stat-box p {
    font-size: 1.1rem;
    margin: 0;
}

/* Process Cards */
.process-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.process-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-10px);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    border-radius: 50%;
    margin: 0 auto;
}

.process-card h5 {
    font-weight: 700;
    color: var(--text-dark);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-8px);
}

.testimonial-stars {
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.testimonial-author img {
    border: 2px solid var(--primary-color);
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    transform: translateY(-8px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h5 {
    color: var(--text-dark);
    font-weight: 700;
}

.project-tag {
    display: inline-block;
    background: rgba(220, 53, 69, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Newsletter Form */
.newsletter-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.newsletter-form .btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

/* Pulse Button Animation */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.pulse-btn {
    animation: pulse-btn 2s infinite;
}

/* Hover Link */
.hover-link {
    transition: color 0.3s ease;
}

.hover-link:hover {
    color: var(--primary-color) !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: #ff6b6b;
    transform: translateY(-3px);
}

/* Hero title gradient (kept for other pages) */
.hero-title-old {
    background: linear-gradient(135deg, #fff 60%, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About page image badge */
.about-img-wrap {
    display: inline-block;
    width: 100%;
}

.about-img-badge {
    position: absolute;
    bottom: -1rem;
    right: 1rem;
}

/* Mini stat boxes (about page) */
.mini-stat-box {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        min-height: 250px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .team-member-image {
        height: 250px;
    }

    .service-detail-card img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-header {
        min-height: 200px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header .lead {
        font-size: 0.9rem;
    }

    .contact-info-card {
        margin-bottom: 1rem;
    }

    .service-detail-card img {
        height: 150px;
    }

    .team-member-image {
        height: 200px;
    }
}
