/*
Theme Name: Strong Alamin Portfolio
Theme URI: https://strongalamin.com
Author: Strong Alamin
Author URI: https://strongalamin.com
Description: Dark neon animated portfolio theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strong-alamin
*/

/* ====== Variables ====== */
:root{
  --bg-1: #0b0710;
  --bg-2: #12061b;
  --card: rgba(255,255,255,0.03);
  --muted: #bdb8d6;
  --accent-1: #8b4bff;
  --accent-2: #ff3fb1;
  --accent-3: #00f0ff;
  --glass-blur: 8px;
  --radius: 14px;
  --heading: 'Inter', system-ui, sans-serif;
}

/* ====== Reset ====== */
*{box-sizing:border-box}
html,body{
  height:100%;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  margin:0;
  padding:0;
}

body{
  font-family:var(--heading);
  background: radial-gradient(1200px 600px at 10% 20%, rgba(139,75,255,0.12), transparent),
            radial-gradient(1000px 500px at 90% 80%, rgba(255,63,177,0.07), transparent),
            linear-gradient(180deg,var(--bg-1),var(--bg-2));
  color:#e9e6f6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-y:auto;
  min-height:100vh;
}

a{color:inherit;text-decoration:none}

/* ====== Container ====== */
.container{
  max-width:1180px;
  margin:0 auto;
  padding:48px 20px;
  width:100%;
  box-sizing:border-box;
}

/* ====== Navbar ====== */
header{position:sticky;top:12px;z-index:30}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 18px;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 6px 20px rgba(6,3,18,0.6);
  width:100%;
  box-sizing:border-box;
}

.brand{display:flex;align-items:center;gap:12px}
.logo{
  width:46px;
  height:46px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:20px;
  background: linear-gradient(135deg,var(--accent-1),var(--accent-2));
  box-shadow:0 6px 18px rgba(139,75,255,0.18);
  animation:logoGlow 3s infinite alternate;
}

@keyframes logoGlow{0%{box-shadow:0 0 12px var(--accent-2)}100%{box-shadow:0 0 32px var(--accent-1)}}

nav ul{display:flex;gap:18px;align-items:center;margin:0;padding:0;list-style:none}
nav a:hover{opacity:0.95;transform:translateY(-2px)}

/* ====== Hero ====== */
.hero{
  display:grid;
  grid-template-columns:1fr;
  gap:30px;
  align-items:center;
  padding:44px 0;
  width:100%;
}

.hero-left{padding-right:10px}
.eyebrow{color:var(--muted);font-weight:600;margin-bottom:8px}
h1{font-size:54px;line-height:1.02;margin:6px 0 12px}
.gradient-text{
  background:linear-gradient(90deg,var(--accent-2),var(--accent-1),var(--accent-3));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-size:200% 200%;
  animation:gradientMove 4s linear infinite;
}

@keyframes gradientMove{0%{background-position:0% 50%}100%{background-position:100% 50%}}

p.lead{color:#bfb9d8;max-width:100%;margin-top:6px}
.cta-row{margin-top:20px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}

.btn{
  padding:12px 18px;
  border-radius:12px;
  border:0;
  font-weight:700;
  cursor:pointer;
  background:linear-gradient(135deg,var(--accent-1),var(--accent-2));
  color:white;
  box-shadow:0 8px 40px rgba(139,75,255,0.18);
  transition:transform .25s ease, box-shadow .25s ease;
}

.btn.secondary{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted)}
.btn:hover{transform:translateY(-4px);box-shadow:0 18px 50px rgba(139,75,255,0.24)}

/* hero right card */
.hero-right{position:relative;order:-1}
.device-card{
  border-radius:22px;
  padding:26px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow:0 18px 80px rgba(4,3,8,0.6);
  backdrop-filter:blur(10px);
  min-height:360px;
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:flex-start;
  width:100%;
  max-width:500px;
  margin:0 auto;
}

.avatar-3d{
  width:118px;
  height:118px;
  border-radius:18px;
  background:radial-gradient(circle at 30% 20%, rgba(255,255,255,0.06), rgba(0,0,0,0.2));
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:44px;
  color:white;
  box-shadow:0 12px 40px rgba(139,75,255,0.12)
}

/* floating / orbit */
.orbit{
  position:absolute;
  right:-40px;
  bottom:-40px;
  width:300px;
  height:300px;
  border-radius:50%;
  pointer-events:none;
}

.orbit .core{
  width:100px;
  height:100px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:30px;
  background:radial-gradient(circle, rgba(139,75,255,0.18), rgba(0,0,0,0.0));
  box-shadow:0 20px 80px rgba(106,0,255,0.18);
  filter:blur(0.2px)
}

.orbiter{position:absolute;top:50%;left:50%;transform-origin:-180px 0;opacity:0.95}
.orbiter svg{filter:drop-shadow(0 8px 30px rgba(0,0,0,0.5))}

/* work cards */
.section{padding:64px 0}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));gap:20px}
.card{
  padding:18px;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
  box-shadow:0 8px 40px rgba(6,3,18,0.45);
  min-height:140px;
  width:100%;
  box-sizing:border-box;
}

.card h4{margin:6px 0 6px}
.card p{color:var(--muted);font-size:14px}

/* floating animation */
@keyframes floatY{0%{transform:translateY(0)}50%{transform:translateY(-12px)}100%{transform:translateY(0)}}
.floating{animation:floatY 4s ease-in-out infinite}

/* small chips */
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.chip{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,0.02);font-weight:600;font-size:13px}

/* Services section */
.services-wrap{margin-top:30px}
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:18px}
.svc-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:20px;
  border-radius:14px;
  box-shadow:0 12px 50px rgba(6,3,18,0.5);
  text-align:center;
  position:relative;
  overflow:hidden;
  width:100%;
  box-sizing:border-box;
}

.svc-badge{
  width:72px;
  height:72px;
  border-radius:14px;
  display:grid;
  place-items:center;
  margin:0 auto 12px;
  background:linear-gradient(135deg,var(--accent-1),var(--accent-2));
  box-shadow:0 10px 30px rgba(139,75,255,0.12);
  transform:translateY(0);
  transition:transform .35s
}

.svc-card:hover .svc-badge{transform:translateY(-8px) rotate(-6deg)}
.svc-title{font-weight:700;margin:6px 0}
.svc-desc{color:var(--muted);font-size:14px}
.svc-logo-anim{position:absolute;right:-40px;top:-30px;opacity:0.12;transform:rotate(15deg)}

/* footer */
footer{padding:40px 0;text-align:center;color:var(--muted);font-size:14px}

/* subtle glass highlight under hero */
.glow-spot{position:absolute;left:8%;top:8%;width:300px;height:300px;border-radius:50%;filter:blur(120px);pointer-events:none;background:radial-gradient(circle at 30% 20%, rgba(139,75,255,0.16), transparent)}

/* small utilities */
.muted{color:var(--muted)}

/* About section styles */
#about .card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
#about .card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(139, 75, 255, 0.2); }

/* Reviews section styles */
#reviews .card { position: relative; }
#reviews .card::before {
  content: '"'; position: absolute; top: 10px; left: 15px; font-size: 60px;
  color: rgba(139, 75, 255, 0.1); font-family: serif;
}

/* Portfolio section styles */
#portfolio .card { transition: transform 0.3s ease; overflow: hidden; }
#portfolio .card:hover { transform: translateY(-10px); }
#portfolio .card img { transition: transform 0.5s ease; width: 100%; height: 200px; object-fit: cover; }
#portfolio .card:hover img { transform: scale(1.05); }

/* Smooth scroll behavior */
html { scroll-behavior: smooth; }

/* Animation delays for floating cards */
#reviews .card:nth-child(1) { animation-delay: 0.1s; }
#reviews .card:nth-child(2) { animation-delay: 0.2s; }
#reviews .card:nth-child(3) { animation-delay: 0.3s; }

/* Footer Styles */
.advanced-footer {
    background: linear-gradient(135deg, #0f0c1e, #1a103d);
    color: #fff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    width:100%;
    box-sizing:border-box;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    width:100%;
    box-sizing:border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
    width:100%;
}

.footer-column h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-column h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8b4bff, #5a35ff);
}

.footer-left p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-cta {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #8b4bff, #5a35ff);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 75, 255, 0.3);
}

.footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 75, 255, 0.5);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.footer-nav a:before {
    content: '→';
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
    padding-left: 25px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.contact-value {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.social-links {
    margin-top: 25px;
}

.social-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #8b4bff, #5a35ff);
    transform: translateY(-3px);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b4bff, #5a35ff);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(139, 75, 255, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 75, 255, 0.5);
}

.footer-copyright {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* === Reviews Section Dark Neon Style === */
#reviews {
  background: linear-gradient(180deg, #0a0a0f, #1a1a2e);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  width:100%;
  box-sizing:border-box;
}

#reviews h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #a855f7;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.7);
}

/* Cards */
#reviews .card {
  background: linear-gradient(145deg, #0a0a0f, #1a1a2e);
  border-radius: 15px;
  padding: 30px;
  width:100%;
  max-width:380px;
  height:350px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  /* Neon Glow */
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.4),
              0 0 30px rgba(168, 85, 247, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing:border-box;
}

#reviews .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.7),
              0 0 50px rgba(168, 85, 247, 0.5);
}

/* Review Text */
#reviews .card p {
  font-size: 16px;
  line-height: 1.6;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  color: #ddd;
}

/* Reviewer Name */
#reviews .card h3 {
  margin-top: 15px;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 0 6px rgba(168, 85, 247, 0.6);
}

/* Star Rating */
#reviews .card .stars {
  margin-top: 10px;
  font-size: 20px;
  color: #a855f7 !important;
  text-shadow: 0 0 8px #a855f7;
}

/* Profile Picture Wrapper */
.profile-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Profile Picture */
.profile-pic img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 3px solid #111;
}

/* Rotating Lighting Border */
.profile-wrapper::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #ff3fb1,
    #7a5fff,
    #00d4ff,
    #ff3fb1
  );
  animation: rotate 3s linear infinite;
  z-index: 1;
}

/* Glow Effect */
.profile-wrapper::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,63,177,0.25);
  filter: blur(15px);
  z-index: 0;
  animation: glow 4s ease-in-out infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glow {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

/* Typing Gradient Text */
.seo-text {
  font-weight: 800;
  font-size: 18px;
  background: linear-gradient(90deg, #ff3fb1, #7a5fff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #ff3fb1;
  width: 0ch;
  animation: typing 4s steps(40) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0ch; }
  to { width: 28ch; } /* "Hello! I am MD. ALAMIN MIA" টেক্সট অনুযায়ী */
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Poster Animation: Slide-in + Fade + Zoom + Float */
.animated-poster {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  animation: slideFadeZoom 2s ease forwards, floatPoster 4s ease-in-out infinite 2s;
}

/* Slide-in + Fade + Zoom */
@keyframes slideFadeZoom {
  0% {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Continuous float after load */
@keyframes floatPoster {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.01);
  }
}

/* Responsive fixes */
img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Main nav reset */
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav ul li {
  position: relative;
}

.nav ul li a {
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  display: block;
}

/* Parent menu items */
.header-menu li {
  position: relative !important;
}

/* Submenu hidden */
.header-menu .sub-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: rgba(11, 7, 16, 0.95) !important;
  padding: 10px 0 !important;
  border-radius: 10px !important;
  min-width: 200px !important;
  z-index: 10000 !important;
}

/* Submenu links */
.header-menu .sub-menu li a {
  display: block !important;
  padding: 10px 20px !important;
  color: #fff !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.header-menu .sub-menu li a:hover {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2)) !important;
  color: #fff !important;
  border-radius: 6px !important;
}

/* Show submenu on hover (desktop) */
.header-menu li:hover > .sub-menu {
  display: block !important;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-column h2 {
        font-size: 2rem;
    }
    
    .footer-column h3 {
        font-size: 1.5rem;
    }
    
    .footer-left p {
        margin-bottom: 30px;
    }
    
    .contact-item {
        margin-bottom: 25px;
    }
    
    .social-links {
        margin-top: 30px;
    }
    
    .scroll-to-top {
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
    }
    
    .hero {
        grid-template-columns: 1fr 460px;
        gap:40px;
    }
    
    .hero-right {
        order:1;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3,1fr);
    }
    
    .orbit {
        width:420px;
        height:420px;
    }
    
    .orbit .core {
        width:130px;
        height:130px;
        font-size:36px;
    }
}

/* Large Desktop Styles */
@media (min-width: 992px) {
    .footer-container {
        padding: 0 28px;
    }
    
    .footer-grid {
        gap: 50px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }
    
    h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .orbit {
        width: 250px;
        height: 250px;
        right: -20px;
        bottom: -20px;
    }
    
    .orbit .core {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }
    
    .glow-spot {
        width: 200px;
        height: 200px;
        left: 5%;
        top: 5%;
    }
    
    .device-card {
        min-height: 300px;
    }
    
    .nav {
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    #reviews .card {
        height: auto;
        min-height: 300px;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 575px) {
    .container {
        padding: 20px 10px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .footer-column h2 {
        font-size: 1.6rem;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .device-card {
        padding: 20px;
        min-height: 280px;
    }
    
    .avatar-3d {
        width: 100px;
        height: 100px;
        font-size: 36px;
    }
}
/* ====== Card Styles ====== */
/* সাধারণ কার্ড স্টাইল */
.card {
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
    box-shadow: 0 8px 40px rgba(6,3,18,0.45);
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 75, 255, 0.2);
}

.card h4 {
    margin: 10px 0 8px;
    font-size: 18px;
    color: #fff;
}

.card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* কার্ড ইমেজ স্টাইল */
.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* কার্ড বাটন স্টাইল */
.card .card-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    transition: all 0.3s ease;
    text-align: center;
}

.card .card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 75, 255, 0.3);
}

/* কার্ড আইকন স্টাইল */
.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: white;
}

/* সার্ভিস কার্ড স্টাইল */
.svc-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding: 25px 20px;
    border-radius: 14px;
    box-shadow: 0 12px 50px rgba(6,3,18,0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 75, 255, 0.3);
}

.svc-badge {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 10px 30px rgba(139, 75, 255, 0.12);
    transition: transform 0.35s ease;
    font-size: 36px;
    color: white;
}

.svc-card:hover .svc-badge {
    transform: translateY(-8px) rotate(-6deg);
}

.svc-title {
    font-weight: 700;
    margin: 10px 0;
    font-size: 20px;
    color: #fff;
}

.svc-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.svc-card .card-btn {
    margin-top: auto;
}

/* পোর্টফোলিও কার্ড স্টাইল */
.portfolio-card {
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
    box-shadow: 0 8px 40px rgba(6,3,18,0.45);
    transition: transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-card:hover {
    transform: translateY(-10px);
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-card-content {
    padding: 20px;
}

.portfolio-card h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #fff;
}

.portfolio-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 15px;
}

/* রিভিউ কার্ড স্টাইল */
.review-card {
    background: linear-gradient(145deg, #0a0a0f, #1a1a2e);
    border-radius: 15px;
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4),
                0 0 30px rgba(168, 85, 247, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7),
                0 0 50px rgba(168, 85, 247, 0.5);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 60px;
    color: rgba(139, 75, 255, 0.1);
    font-family: serif;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
    flex-grow: 1;
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details h4 {
    font-size: 16px;
    margin: 0 0 5px;
    color: #fff;
}

.reviewer-details .stars {
    color: #a855f7;
    font-size: 14px;
}

/* ====== Grid Systems ====== */
/* সাধারণ গ্রিড সিস্টেম */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

/* সার্ভিস গ্রিড */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

/* পোর্টফোলিও গ্রিড */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

/* রিভিউ গ্রিড */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

/* ====== Responsive Styles ====== */
/* ট্যাবলেট ভিউ */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .card {
        padding: 18px;
    }
    
    .card h4 {
        font-size: 17px;
    }
    
    .card p {
        font-size: 14px;
    }
}

/* মোবাইল ভিউ */
@media (max-width: 768px) {
    .grid-3, .grid-2, .services-grid, .portfolio-grid, .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .svc-card {
        padding: 20px 15px;
    }
    
    .svc-badge {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .svc-title {
        font-size: 18px;
    }
    
    .svc-desc {
        font-size: 14px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .card img {
        height: 140px;
    }
    
    .portfolio-card img {
        height: 180px;
    }
}

/* ছোট মোবাইল ভিউ */
@media (max-width: 480px) {
    .card {
        padding: 14px;
    }
    
    .card h4 {
        font-size: 16px;
    }
    
    .card p {
        font-size: 13px;
    }
    
    .svc-card {
        padding: 18px 12px;
    }
    
    .svc-badge {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .svc-title {
        font-size: 17px;
    }
    
    .card .card-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .review-card {
        padding: 16px;
    }
    
    .review-text {
        font-size: 15px;
    }
}
/* মোবাইল ভিউ ঠিক করার জন্য CSS */
@media (max-width: 768px) {
  /* কন্টেইনার এবং গ্রিড সিস্টেম */
  .portfolio-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  .portfolio-grid {
    display: grid !important;
    grid-template-columns: 1fr !important; /* মোবাইলে একটি কলাম */
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* কার্ড স্টাইল */
  .card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .card img {
    width: 100% !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  /* সেকশন স্টাইল */
  .section {
    padding: 40px 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .section-header {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto 30px !important;
    box-sizing: border-box !important;
  }
  
  /* বডি এবং HTML এলিমেন্ট */
  body, html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  /* ইমেজ এবং মিডিয়া */
  img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* ছোট মোবাইলের জন্য */
@media (max-width: 480px) {
  .section {
    padding: 30px 10px !important;
  }
  
  .card {
    padding: 15px !important;
  }
  
  .card img {
    max-height: 180px !important;
  }
  
  .card h3 {
    font-size: 16px !important;
  }
  
  .card p {
    font-size: 14px !important;
  }
}