/* Modern Reset & Root Variables */
:root {
    --bg-dark: #030a16; /* সাইবার সিকিউরিটি থিমের ডিপ নেভি ব্লু */
    --card-bg: rgba(20, 27, 45, 0.6);
    --primary-cyan: #00f0ff;
    --primary-purple: #7000ff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #0b192f 0%, var(--bg-dark) 100%);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Glassmorphism Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(9, 14, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    gap: 15px;
}

.brand-logo {
    height: 45px;
    filter: drop-shadow(0 0 8px var(--primary-cyan));
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-cyan);
}

.btn-nav {
    border: 1px solid var(--primary-cyan);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--primary-cyan) !important;
}

.btn-nav:hover {
    background: var(--primary-cyan);
    color: #000 !important;
    box-shadow: 0 0 15px var(--primary-cyan);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,240,255,0.15) 0%, rgba(9,14,23,0) 70%);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-cyan);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn-primary {
    background: var(--primary-cyan);
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.7);
    transform: translateY(-2px);
}

/* Sections Common */
.services-section, .video-section, .tech-section, .team-section {
    padding: 80px 0;
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Premium Glass Cards (Services) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: 0.4s;
    text-align: left;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

/* Service Details List */
.service-list-card {
    display: flex;
    flex-direction: column;
}

.service-details {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
}

.service-details li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.service-details li i {
    color: var(--primary-cyan);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* -------------------------------------
   MULTIPLE VIDEOS (PERFECT FIT & GLOW)
---------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.video-container {
    width: 100%;
    background: #000;
    border-radius: 15px;
    border: 2px solid rgba(0, 240, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
    overflow: hidden;
}

/* Facebook iframe responsive */
.video-container iframe {
    width: 100%;
    height: 450px; /* 👉 FB এর জন্য এই height দরকার */
    border: none;
}

/* -------------------------------------
   PORTFOLIO IMAGES (PERFECTLY UNIFORM)
---------------------------------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 240, 255, 0.3); /* স্পষ্ট সায়ান বর্ডার */
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.portfolio-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #090e17;
    border: 1px solid rgba(255, 255, 255, 0.1); /* ইমেজের ভেতর হালকা বর্ডার */
}

.portfolio-card h4 {
    color: var(--text-main);
    font-size: 1.1rem;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.team-image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-purple));
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
}

.team-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-purple);
    color: #fff;
    font-size: 0.75rem;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(112, 0, 255, 0.4);
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.team-card .designation {
    color: var(--primary-cyan);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Premium Footer Design */
.main-footer {
    background: rgba(9, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.footer-container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary-cyan);
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    filter: drop-shadow(0 0 5px var(--primary-cyan));
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.footer-slogan {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--primary-cyan);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--primary-cyan);
}

/* Links Column */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--primary-purple);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 8px;
}

/* Contact Column */
.contact-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info i {
    color: var(--primary-cyan);
    font-size: 1.1rem;
    margin-top: 4px;
}

/* Copyright Bar */
.footer-copyright {
    text-align: center;
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-copyright span {
    color: var(--primary-cyan);
    font-weight: 600;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.8);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-logo, .footer-socials, .contact-info p {
        justify-content: center;
    }
    .footer-links a {
        justify-content: center;
    }
}
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid #00f0ff;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    margin-left: 15px;
    position: relative;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 1px solid #00f0ff;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 15px;
    position: relative;
}

.hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #00f0ff;
    border-radius: 2px;
}

.hamburger-wrap {
    position: relative;
}

.hamburger-dropdown {
    display: block;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: #0d1b2a;
    border: none;
    border-left: 1px solid rgba(0,240,255,0.2);
    border-radius: 0;
    z-index: 99999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    overflow-y: auto;
    transition: right 0.35s ease;
    padding-top: 70px;
}

.hamburger-dropdown.open { right: 0; }

.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99998;
}

.menu-overlay.open { display: block; }

.drawer-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #00f0ff;
    font-size: 1.3rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: none;
    border-bottom: 1px solid #1e3a5f;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .mobile-nav-links { display: block; }
}

.hamburger-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #1e3a5f;
    font-size: 15px;
    transition: background 0.2s;
}

.hamburger-dropdown a:last-child { border-bottom: none; }
.hamburger-dropdown a:hover { background: #1e3a5f; color: #00f0ff; }