@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Poppins:wght@300;400;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #05070a;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* নেভিবার - ঝাক্কাস ডিজাইন */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #00d2ff;
}

.logo { display: flex; align-items: center; gap: 12px; font-family: 'Orbitron', sans-serif; }
.logo img { height: 50px; width: 50px; border-radius: 50%; border: 2px solid #00d2ff; }
.nav-brand { color: #00d2ff; font-weight: bold; font-size: 1.2rem; letter-spacing: 2px; }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 25px; }
nav ul li a { text-decoration: none; color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; }

/* হিরো সেকশন - RIVERSTONE টাইটেল */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(5, 7, 10, 0.8), rgba(5, 7, 10, 0.95)), url('/images/coming-soon.png');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    letter-spacing: 15px;
    margin-bottom: 10px;
    color: #fff;
}

/* সাইক্লিং টেক্সট - গ্লো থাকবে */
.cycling-area {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 0 0 20px currentColor;
}

/* বাটন পালস - পুরোটা একসাথে পালস করবে */
.btn-futuristic {
    padding: 15px 40px;
    border: 2px solid #00d2ff;
    color: #00d2ff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.entire-pulse {
    animation: fullPulse 2s infinite ease-in-out;
}

@keyframes fullPulse {
    0% { transform: scale(1); box-shadow: 0 0 0px rgba(0, 210, 255, 0); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(0, 210, 255, 0.6); }
    100% { transform: scale(1); }
}

.white-pulse { border-color: #fff; color: #fff; animation-name: whiteFullPulse; }
@keyframes whiteFullPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(255, 255, 255, 0.4); }
    100% { transform: scale(1); }
}

/* সার্ভিস সেকশন (সেই তিনটি বক্স) */
.services {
    padding: 100px 8%;
    background: #05070a;
    text-align: center;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: #00d2ff;
    margin-bottom: 60px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background: rgba(22, 27, 34, 0.6);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 255, 0.1);
    width: 320px;
    transition: 0.4s;
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); border-color: #00d2ff; }
}

.service-card h3 { font-family: 'Orbitron', sans-serif; margin: 20px 0; color: #fff; }
.service-card p { color: #94a3b8; line-height: 1.6; }
.service-card .icon { font-size: 50px; }

/* অক্ষর এনিমেশন ক্লাস */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(-50px);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Portfolio Page Styling */
.portfolio-section {
    padding: 120px 8% 80px;
    background: #05070a;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.project-card {
    background: rgba(22, 27, 34, 0.7);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 255, 0.1);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #00d2ff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 210, 255, 0.2);
}

.project-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover .project-img-container img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
    text-align: left;
}

.project-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.project-info p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tech-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 210, 255, 0.1);
    color: #00d2ff;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.view-btn {
    display: inline-block;
    margin-top: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom: 2px solid #00d2ff;
    transition: 0.3s;
}

.view-btn:hover {
    color: #00d2ff;
    letter-spacing: 1px;
}

/* Modal (Pop-up) Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #0b0e14;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: 20px;
    border: 1px solid #00d2ff;
    padding: 40px;
    position: relative;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.modal-video-area iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
}

.modal-text-area h2 {
    font-size: 2rem;
    color: #00d2ff;
    margin-bottom: 20px;
}

.modal-tools { margin-bottom: 20px; }
.modal-desc {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 30px;
}

.ss-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.ss-grid img {
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.ss-grid img:hover { transform: scale(1.05); border-color: #00d2ff; }

/* Responsive Modal */
@media (max-width: 900px) {
    .modal-grid { grid-template-columns: 1fr; }
    .modal-video-area iframe { height: 250px; }
}

.orbitron { font-family: 'Orbitron', sans-serif; text-transform: uppercase; letter-spacing: 2px; }