/* Base */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    padding-top: 80px;
}

/* Logo */
.logo {
    height: 60px;
    padding: 4px;
    border-radius: 6px;
    background-color: white;
    filter: drop-shadow(0 0 4px white);
}

/* Header */
.site-header {
    background-color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1030;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('/securifi/images/slide1.jpg') no-repeat center center / cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* 🎯 Gradient Layer — Ensures .cyber-gradient-bg effect appears */
.hero.cyber-gradient-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #0f2027cc, #203a43cc, #2c5364cc);
    z-index: 0;
    pointer-events: none;
    animation: gradientMove 15s ease infinite;
    background-size: 400% 400%;
}

/* Optional extra effect */
.cyber-gradient-bg {
    position: relative;
    z-index: 1;
}

/* Ensure hero content is above background layers */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero .btn {
    padding: 12px 24px;
    border-radius: 5px;
}

/* Trust badges */
.trust-badges .badge {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.trust-badges .badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* CTA buttons */
.cta-buttons .btn {
    min-width: 200px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

.site-footer a {
    color: #ccc;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

/* Hero background animation */
.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 40%, rgba(255,255,255,0.05) 0%, transparent 60%),
                radial-gradient(circle at 80% 60%, rgba(255,255,255,0.03) 0%, transparent 60%);
    animation: moveBackground 15s infinite linear;
    z-index: 0;
}

@keyframes moveBackground {
    0% { background-position: 0 0, 100% 100%; }
    50% { background-position: 100% 50%, 0 50%; }
    100% { background-position: 0 0, 100% 100%; }
}

/* Glowing animated words */
.glow-word, .glow-keyword {
    color: #fff;
    animation: glowPulse 2s ease-in-out infinite alternate;
    font-weight: bold;
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 5px #ffffff88, 0 0 10px #ffffff55;
        filter: drop-shadow(0 0 4px white);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 15px #ffffffcc, 0 0 30px #ffffff99;
        filter: drop-shadow(0 0 10px rgba(255,255,255,0.8));
        transform: scale(1.05);
    }
    100% {
        text-shadow: 0 0 5px #ffffff88, 0 0 10px #ffffff55;
        filter: drop-shadow(0 0 4px white);
        transform: scale(1);
    }
}

.animate-logo {
    animation: glowPulse 2.5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hover-glow {
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.9));
    transform: scale(1.1);
}

/* Grid animation */
.cyber-grid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(20, 1fr);
    z-index: 0;
}

.grid-box {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.03);
    transition: all 0.3s ease;
}

/* Hero CTA Buttons */
.hero .btn-cyber {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}

.hero .btn-outline-cyber {
    border: 2px solid #fff;
    color: #fff;
}

.hero .btn-outline-cyber:hover {
    background: #fff;
    color: #000;
}

.hero .btn-cyber:hover {
    background: #222;
    border-color: #222;
    color: #fff;
}

/* Case Studies Section */
.bg-black-gradient {
    background: linear-gradient(145deg, #000000, #001219);
    border: 1px solid rgba(0, 250, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.case-study-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, rgba(0, 250, 255, 0) 20%,
                                        rgba(0, 250, 255, 0.3) 50%,
                                        rgba(0, 250, 255, 0) 80%);
    z-index: 1;
    animation: borderFlow 6s linear infinite;
}

@keyframes borderFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 250, 255, 0.1);
}

.icon-container {
    width: 60px;
    height: 60px;
    background: rgba(0, 250, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-badge {
    display: inline-block;
    background: rgba(0, 250, 255, 0.15);
    color: #00faff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 250, 255, 0.3);
}

.glow-text {
    text-shadow: 0 0 15px rgba(0, 250, 255, 0.5);
}

.text-cyan {
    color: #00faff !important;
}

.opacity-75 {
    opacity: 0.75;
}

/* About Page Timeline */
.cyber-timeline {
    position: relative;
    padding-left: 30px;
}

.cyber-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00faff, transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -45px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #00faff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 0 4px rgba(0, 250, 255, 0.2);
}

.timeline-content {
    background: rgba(0, 250, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #00faff;
}

/* Team & Values */
.team-card, .value-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-card:hover, .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 250, 255, 0.1);
    border-color: rgba(0, 250, 255, 0.3);
}

.team-img {
    height: 250px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 250, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
  background: linear-gradient(135deg, rgba(0, 250, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(0, 250, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 250, 255, 0.05);
  position: relative;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(0, 250, 255, 0.3);
}

/* Button styling if not already included */
.btn-cyber-sm {
  background: rgba(0, 250, 255, 0.1);
  border: 1px solid rgba(0, 250, 255, 0.4);
  color: #00faff;
  border-radius: 25px;
  padding: 8px 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-cyber-sm:hover {
  background: rgba(0, 250, 255, 0.25);
  color: #fff;
  box-shadow: 0 0 10px #00faff;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards ease-in-out;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
