/* ============================================
   FageraTech - Main Stylesheet
   Cybersecurity & Data Science Theme
   ============================================ */
      /* ============================================
   HEADER & NAVIGATION - MATCHES header.php
   ============================================ */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #0d1117;
    border-bottom: 2px solid #00ff88;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
}

header .logo img {
    height: 55px;
    width: auto;
    max-height: 55px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.3));
}

header nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

header nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding: 8px 4px;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #00ff88;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff88;
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

/* Mobile header */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }

    header nav {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav a {
        font-size: 14px;
    }

    header .logo img {
        height: 45px;
    }
}

/* -------- Google Fonts -------- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600;700&display=swap');

/* -------- Root Variables -------- */
:root {
    --primary-color: #00ff88;
    --secondary-color: #0d1117;
    --accent-color: #00d4ff;
    --dark-bg: #0a0e14;
    --card-bg: #131a22;
    --text-light: #e6edf3;
    --text-muted: #8b949e;
    --gradient-1: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-2: linear-gradient(45deg, #0d1117 0%, #1a2332 100%);
    --shadow-cyber: 0 0 30px rgba(0, 255, 136, 0.1);
    --border-cyber: 1px solid rgba(0, 255, 136, 0.2);
}
.logo-img{
    height:auto;
    width:40px;  /*reduce logo size*/
}
nav a{
    text-decoration:none;
    colour:black;
    font-size:18px;
    font-weight:bold;
}
nav{
    display:flex;
    gap:25px;   /*space between links*/
}
nav a:hover{color:blue;}

/* -------- Global Styles -------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0e14;
    color: #e6edf3;
    padding-top: 76px;
    overflow-x: hidden;
}

/* -------- Scrollbar -------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d1117;
}
::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 4px;
}

/* -------- Highlight Text -------- */
.highlight {
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -------- Section Badge -------- */
.section-badge {
    display: inline-block;
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 255, 136, 0.2);
    margin-bottom: 1rem;
}

/* ============================================
   HEADER / NAVIGATION - COMPLETE FIX
   NO WARNINGS - USING DIRECT COLORS
   ============================================ */

/* Main navbar - DARK background */
.navbar {
    background: #0d1117;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ff88;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    min-height: 76px;
}

/* Navbar when scrolled */
.navbar.scrolled {
    background: #0a0e14;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
    min-height: 68px;
}

/* Logo container */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}
header {display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 50px;
    background-color:#0d1117;
}


/* Logo image */
.logo-img {
    height: auto;
    width: 120px;
    max-height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.2));
    transition: all 0.3s ease;
    display: block;
}

/* Shrink logo on scroll */
.img {
    height: 120px;
    max-height: 120px;
    border-radius: 50%;/*add circular effect*/
    object-fit: cover;/*make img fit in the container*/
    display: block;
    margin:0 auto;
    
}



/* Brand text */
.brand-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    white-space: nowrap;
}


/* Shrink brand text on scroll */
.navbar.scrolled .brand-text {
    font-size: 1.2rem;
}

/* Navigation links container */
.navbar-nav {
    gap: 0.3rem;
    align-items: center;
}

.navbar-nav .nav-item {
    position: relative;
}

/* ===== NAVIGATION LINKS - WHITE & VISIBLE ===== */
.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    opacity: 0.9;
}

/* Hover effect - GREEN */
.navbar-nav .nav-link:hover {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.08);
    opacity: 1;
    transform: translateY(-2px);
}

/* Active link - GREEN */
.navbar-nav .nav-link.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    opacity: 1;
}

/* Underline effect */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #00ff88;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: transparent;
}

.navbar-toggler:hover {
    border-color: #00ff88;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu background */
.navbar-collapse {
    background: #0d1117;
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #0d1117 0%, #1a2332 100%);
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #8b949e;
    max-width: 550px;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2.5rem;
    margin-right: 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    border: none;
    color: #0d1117;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    color: #0d1117;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #e6edf3;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00ff88;
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff88;
}

.stat-label {
    color: #8b949e;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: #0d1117;
    padding-top: 5rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #131a22;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #00ff88;
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.feature-item h5 {
    color: #e6edf3;
    margin-bottom: 0.2rem;
}

.feature-item p {
    color: #8b949e;
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: #0a0e14;
    padding-top: 5rem;
}

.service-card {
    background: #131a22;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #00ff88;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #00ff88;
    color: #0d1117;
    transform: scale(1.1);
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: #8b949e;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
    background: #0d1117;
    padding-top: 5rem;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h5 {
    color: #00ff88;
    font-weight: 600;
}

.portfolio-overlay p {
    color: #8b949e;
    margin: 0;
}

/* ============================================
   TEAM SECTION
   ============================================ */
   .team{
    diisplay:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:40px;
    padding:50px 20px;
   }

   .team-image img {
    width:100px;
    height:100px;
    border-radius:50%;
    margin:0 auto 15px;
    overflow:hidden;
   } 

   
.team-section {
    background: #0a0e14;
    padding-top: 5rem;
}

.team-card{
    background:transparent;
    border: none;
    box-shadow:none;
    text-align:center;
    padding:20px;
}

.team-card:hover {
    transform:none;
    
}



.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h5 {
    color:#fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-info .position {
    color: #00ff88;
    font-size: 16px;
    font-weight: 600;
    margin-bottom:10px;
}

.team-info .bio {
    color: #8b949e;
    max-width: 350px;
    margin: auto;
    line-height: 1.6;
    }

/*name*/
.team-info h3{
    color:#fff;
    font-size: 28px;
    margin-bottom: 5px;
}

/*social icons*/
.team-social a {
    justify-content: center;
    align-items: center;
    display: inline-flex;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #8b949e;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: #00ff88;
    color: #0d1117;
    transform: translateY(-3px);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: #0d1117;
    padding-top: 5rem;
}

.testimonial-card {
    background: #131a22;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00ff88;
}

.testimonial-text {
    color: #8b949e;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.client-info h6 {
    margin: 0;
    font-weight: 600;
}

.client-info span {
    color: #8b949e;
    font-size: 0.85rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: #0a0e14;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contact-info-card {
    background: #131a22;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: #00ff88;
    margin-top: 0.2rem;
}

.contact-item h6 {
    color: #e6edf3;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: #8b949e;
    margin: 0;
}

.contact-form .form-control {
    background: #131a22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e6edf3;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
    background: #131a22;
    color: #e6edf3;
}

.contact-form .form-control::placeholder {
    color: #8b949e;
}

.contact-form .btn {
    padding: 0.8rem;
    border-radius: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0d1117;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e6edf3;
}

.footer h5 i {
    color: #00ff88;
    margin-right: 0.5rem;
}

.footer .text-muted {
    color: #8b949e;
}

.footer ul {
    padding: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.7rem;
}

.footer ul li a {
    color: #8b949e;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: #00ff88;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #8b949e;
    text-align: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00ff88;
    color: #0d1117;
    transform: translateY(-3px);
}

.contact-info li {
    color: #8b949e;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info li i {
    color: #00ff88;
    width: 20px;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 2rem 0;
}

.footer p {
    color: #8b949e;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Mobile Navigation */
    .navbar-nav {
        gap: 0.2rem;
        padding: 1rem 0;
        background: #0d1117;
        border-radius: 12px;
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        color: #ffffff;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(0, 255, 136, 0.1);
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }
    
    .navbar {
        min-height: 68px;
        padding: 0.5rem 0;
    }
    
    .navbar.scrolled {
        min-height: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .logo-img {
        height: 35px;
        max-height: 35px;
    }
    
    .navbar.scrolled .logo-img {
        height: 30px;
        max-height: 30px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .navbar.scrolled .brand-text {
        font-size: 1rem;
    }
    
    /* Mobile nav items */
    .navbar-nav {
        background: #0d1117;
        padding: 0.8rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.7rem 1.2rem;
        color: #ffffff;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(0, 255, 136, 0.1);
    }
    
    .hero-section {
        min-height: 90vh;
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 30px;
        max-height: 30px;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.portfolio-item,
.team-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}