/* ===== Global Styles ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background: #111;
    color: #fff;
}

/* ===== Header Section ===== */
header {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

header .header-image img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    animation: bgZoom 25s ease-in-out infinite alternate;
}

@keyframes bgZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

header .header-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

header .header-content {
    position: relative;
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

/* ===== Header Text Animation ===== */
header h1.fade-slide {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
    font-weight: 900;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s forwards;
    animation-delay: 0.3s;
    position: relative;
}

header p.fade-slide {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: #ddd;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s forwards;
    animation-delay: 0.6s;
}

header .btn.fade-slide {
    animation: fadeSlideUp 1s forwards;
    animation-delay: 0.9s;
}

/* Fade-slide keyframes */
@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== Premium Luxury Button ===== */
header .btn {
    display: inline-block;
    padding: 18px 58px;
    margin-top: 35px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;

    /* Premium Gradient */
    background: linear-gradient(135deg, #ff416c, #ff4b2b, #ffd700, #ff416c);
    background-size: 300% 300%;

    /* Strong & Beautiful Shadow */
    box-shadow: 
        0 8px 25px rgba(255, 65, 108, 0.45),
        0 15px 40px rgba(255, 215, 0, 0.3),
        inset 0 2px 8px rgba(255, 255, 255, 0.4);

    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover Effect - খুব প্রিমিয়াম */
header .btn:hover {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 
        0 15px 35px rgba(255, 65, 108, 0.6),
        0 25px 55px rgba(255, 215, 0, 0.45),
        inset 0 3px 12px rgba(255, 255, 255, 0.5);
    
    background-position: 100% 50%;
}

/* Inner Shine Effect */
header .btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: -1;
    opacity: 0.6;
}

header .btn:hover::before {
    left: 120%;
}

/* Optional: Extra Glow on Hover */
header .btn:hover {
    filter: brightness(1.15) saturate(1.2);
}

/* Active / Click Effect */
header .btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

header .btn:hover {
    transform: translateY(-7px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255,65,108,0.6), 0 15px 50px rgba(255,215,0,0.3);
    background: linear-gradient(135deg, #ff4b2b, #ff416c, #ffd700);
}

/* ===== Video Portfolio - Agun Edition 🔥 ===== */
#videoContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #0a0a0a, #111);
}

/* Main Video Card */
.video {
    max-width: 580px;
    width: 100%;
    background: rgba(20, 20, 20, 0.85);
    border-radius: 20px;
    padding: 18px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 65, 108, 0.1) inset;
    border: 1px solid rgba(255, 65, 108, 0.15);
}

.video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 65, 108, 0.08), 
        rgba(255, 215, 0, 0.05), 
        transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

/* Hover Effect - Full Agun 🔥 */
.video:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(255, 65, 108, 0.35),
        0 0 40px rgba(255, 215, 0, 0.25),
        0 0 80px rgba(255, 65, 108, 0.15);
    border-color: rgba(255, 65, 108, 0.4);
}

.video:hover::before {
    opacity: 1;
}

/* Video Frame (YouTube iframe) */
.video iframe {
    width: 100%;
    height: 325px;
    border-radius: 16px;
    border: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.video:hover iframe {
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(255, 65, 108, 0.3);
}

/* Title */
.video h3 {
    margin: 18px 0 8px 0;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.video:hover h3 {
    color: #ffdc00;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Description */
.video p {
    font-size: 0.97rem;
    color: #bbb;
    line-height: 1.55;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.video:hover p {
    color: #ddd;
}

/* Video Stats */
.video-stats {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.video-stats span {
    background: rgba(255, 65, 108, 0.15);
    color: #ffdc99;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 65, 108, 0.2);
    transition: all 0.3s ease;
}

.video:hover .video-stats span {
    background: rgba(255, 65, 108, 0.25);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
}
/* ===== Rating Stars ===== */
.rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    cursor: pointer;
}

.rating span {
    font-size: 1.5rem;
    color: #555;
    transition: color 0.3s, transform 0.2s;
}

.rating span.hover,
.rating span.selected {
    color: #ffe600;
    transform: scale(1.2);
}

/* ===== Contact Section ===== */
section#contact {
    padding: 80px 20px;
    text-align: center;
    background: #1a1a1a;
}

section#contact h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

section#contact p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ccc;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    header h1.fade-slide { font-size: 3rem; }
    header p.fade-slide { font-size: 1.3rem; }
    .video iframe { height: 250px; }
}

@media (max-width: 480px) {
    header h1.fade-slide { font-size: 2.2rem; }
    header p.fade-slide { font-size: 1rem; }
    .video iframe { height: 200px; }
}/* ===== Portfolio Section Heading ===== */
section#portfolio h2 {
    position: relative;
    z-index: 2;
    margin-left: 50px;
    font-size: 3rem;       /* বড় ও স্পষ্ট */
    font-weight: 800;      /* মোটা ও প্রফেশনাল */
    letter-spacing: 3px;   /* space between letters */
    margin-bottom: 50px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255,65,108,0.7), 0 0 20px rgba(255,65,108,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s forwards;
    animation-delay: 0.3s;
}

/* Reuse fadeSlideUp keyframes from header */
@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== Header Description Text ===== */
header p.explode-text {
    font-size: 10px;          /* Description একটু ছোট */
    line-height: 2.5rem;      /* Proper spacing */
    margin-top: 10px;         /* H1 থেকে gap */
    text-align: center;
}

/* Header Letters Ure-Ute Animation */
header h1.explode-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-100px) rotate(-20deg);
    animation: flyIn 1s forwards;
    animation-delay: calc(0.05s * var(--i));
    font-size: 5rem;
    background: linear-gradient(90deg, #ff416c, #ff4b2b, #ff3300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255,65,108,0.5), 0 0 30px rgba(255,215,0,0.3);
}

header p.explode-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: flyIn 1s forwards;
    animation-delay: calc(0.05s * var(--i));
    color: #f5f5f5;
    text-shadow: 0 0 5px rgba(245,245,245,0.4);
    font-size: 2rem;
    line-height: 2.5rem;
}

/* Keyframes */
@keyframes flyIn {
    0% { opacity: 0; transform: translateY(50px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); opacity: 1; }
    100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}
/* Footer Styles */
footer#footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    border-top: 2px solid #ff416c;
}

footer#footer .footer-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: #ccc;
}

footer#footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer#footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #222;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255,65,108,0.2);
}

footer#footer .social-icons a:hover {
    background: linear-gradient(45deg, #ff416c, #ff4b2b, #ffd700);
    color: #fff;
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 6px 25px rgba(255,65,108,0.5), 0 10px 40px rgba(255,215,0,0.3);
}
/* Hire Me Button */
.hire-btn {
    position: fixed;       /* ওয়েবসাইটে উপরে/fixed থাকবে */
    top: 20px;             /* উপরের margin */
    right: 30px;           /* ডান দিক থেকে distance */
    padding: 15px 30px;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255,65,108,0.5);
    transition: 0.3s, transform 0.3s, box-shadow 0.3s;
    z-index: 9999;         /* সব উপরের উপরে থাকবে */
}

.hire-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,65,108,0.6);
}
/* ===== Responsive Styles ===== */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    /* Header */
    header h1.fade-slide,
    header h1.explode-text span {
        font-size: 3rem;
    }

    header p.fade-slide,
    header p.explode-text span {
        font-size: 1.2rem;
        line-height: 1.8rem;
    }

    header .btn,
    .hire-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Portfolio Heading */
    section#portfolio h2 {
        font-size: 2.2rem;
        margin-left: 20px;
        margin-bottom: 40px;
    }

    /* Videos */
    .video iframe {
        height: 250px;
    }

    .video h3 {
        font-size: 1.1rem;
    }

    .video p {
        font-size: 0.9rem;
    }

    /* Footer */
    footer#footer .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    /* Header */
    header h1.fade-slide,
    header h1.explode-text span {
        font-size: 2rem;
    }

    header p.fade-slide,
    header p.explode-text span {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    header .btn,
    .hire-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Portfolio Heading */
    section#portfolio h2 {
        font-size: 1.8rem;
        margin-left: 15px;
        margin-bottom: 30px;
    }

    /* Videos */
    .video iframe {
        height: 200px;
    }

    .video h3 {
        font-size: 1rem;
    }

    .video p {
        font-size: 0.85rem;
    }

    /* Footer */
    footer#footer .social-icons {
        gap: 15px;
    }

    footer#footer .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    /* Hire Button */
    .hire-btn {
        top: 15px;
        right: 15px;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}
.video-stats{
  margin-top:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.video-stats span{
  background:#111;
  color:white;
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
}/* Desktop-এ cursor দেখাবে */
.cursor-ring {
    position: fixed;
    width: 42px;
    height: 42px;
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    
    box-shadow: 
        0 0 8px #ffffff,
        0 0 15px #ffffff,
        0 0 30px rgba(255, 255, 255, 0.7),
        0 0 45px rgba(180, 220, 255, 0.5);
    
    will-change: transform, box-shadow, width, height;
    transition: 
        width 0.3s cubic-bezier(0.23, 1, 0.32, 1),
        height 0.3s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.4s ease;
    
    animation: ringPulse 4s infinite ease-in-out;
}

/* Hover effect (শুধু desktop-এ) */
@media (hover: hover) and (pointer: fine) {
    a:hover ~ .cursor-ring,
    button:hover ~ .cursor-ring,
    input:hover ~ .cursor-ring,
    textarea:hover ~ .cursor-ring {
        width: 62px;
        height: 62px;
        box-shadow: 
            0 0 12px #ffffff,
            0 0 25px #ffffff,
            0 0 45px rgba(200, 230, 255, 0.9),
            0 0 70px rgba(150, 200, 255, 0.6);
    }
}

/* Mobile / Touch device-এ cursor পুরোপুরি লুকিয়ে ফেলবো */
@media (hover: none) or (pointer: coarse) {
    .cursor-ring {
        display: none !important;
    }
    
    /* আসল cursor দেখাবে mobile-এ */
    html, body {
        cursor: auto;
    }
}

/* Pulse animation */
@keyframes ringPulse {
    0%, 100% { 
        box-shadow: 0 0 8px #ffffff, 0 0 15px #ffffff, 0 0 30px rgba(255,255,255,0.7); 
    }
    50% { 
        box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 40px rgba(255,255,255,0.9); 
    }
}

