/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f9;
    color: #333;
}

#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* একটি ডার্ক ব্যাকগ্রাউন্ড */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* নিশ্চিত করুন এটি অন্যান্য কন্টেন্টের উপরে থাকে */
    transition: opacity 1s ease-out;
}

.welcome-content {
    text-align: center;
    color: white;
}

.welcome-content h1 {
    margin-bottom: 20px;
}

.animation img {
    max-width: 300px; /* আপনার অ্যানিমেশনের সাইজ অনুযায়ী পরিবর্তন করুন */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #2c3e50;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {

    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 50px; /* আপনার প্রয়োজন অনুযায়ী পরিবর্তন করুন */
    /* box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1); */
    border-radius: 50%; /* ছবিটি গোল হবে */
    margin-left: 50px; /* লোগোটি থেকে বামে দূরত্ব */
    height: auto;
    vertical-align: middle;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
/* Hero Section  */
.nav-links li a {
    color: #fff;
    font-weight: 500;
    padding: 10px 15px; /* কিছু padding যোগ করবো */
    border-radius: 5px; /* কোণাগুলো গোল করা হবে */
    transition: all 0.3s ease-in-out; /* সুন্দর অ্যানিমেশন */
}

.nav-links li a:hover {
    color: #f1c40f;
    background-color: #11214f;
    padding: 12px 18px; /* হোভার করলে আরো বড় দেখাবে */
    font-weight: bold; /* ফন্ট আরও গাঢ় হবে */
    box-shadow: 0 0 15px rgba(17, 33, 79, 0.7); /* গ্লো ইফেক্ট */
}



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
}

/* Hero Section */
#hero {
    background-image: url('img/bk.jpg');
    color: #fff;
    padding: 150px 0 100px;
    text-align: left; /* টেক্সট বাম সাইডে রাখবে */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* বাম দিকে এলাইন করা */
    justify-content: center;
    padding-left: 3%; /* কিছু জায়গা দিয়ে বাম থেকে শুরু হবে */
}

/* Hero Title */
#hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Highlighted Text */
#hero span {
    color: #f1c40f;
}

/* Subtitle */
#hero .subtitle {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Paragraph */
#hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

/* Buttons Container */
.buttons {
    display: flex;
    justify-content: flex-start; /* বাটনগুলো বাম দিকে যাবে */
    gap: 20px;
}

/* Button Style */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.primary {
    background: #f1c40f;
    color: #2c3e50;
}

.secondary {
    background: transparent;
    border: 2px solid #f1c40f;
    color: #f1c40f;
}

/* Button Hover Effect */
.btn:hover {
    background: #e67e22;
    color: #fff;
}


/* Portfolio Section */

#portfolio {
    padding: 100px 0;
    background: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project {
    background: #aeaeba;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.project img {
    width: 100%;
    border-radius: 10px;
}

.demo-btn, .code-btn {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.demo-btn {
    background: #f1c40f;
    color: #2c3e50;
}

.code-btn {
    background: #2c3e50;
    color: #fff;
}

.demo-btn:hover, .code-btn:hover {
    background: #e67e22;
    color: #fff;
}


/* Animations */
.animate__animated {
    animation-duration: 1s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-img {
        margin-bottom: 20px;
    }
}


/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
}

/* About Section */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    background: #0f0f17;
    border-radius: 15px;
    padding: 40px;
    max-width: 900px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

/* Profile Image */
.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #00bcd4;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* About Content */
.about-content {
    flex: 2;
    padding: 20px;
}

.about-content h2 {
    font-size: 2rem;
    color: #00bcd4;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #d1d1d1;
}

.about-content b {
    color: #00bcd4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .about-content {
        padding: 10px;
    }
}


/* new css */
/* Skills Section */
#skills {
    padding: 100px 0;
    background: linear-gradient(135deg, #333346, #16213e);
    color: #fff;
}

#skills h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Skill Box
.skill-box {
    width: 200px;
    height: 200px;
    perspective: 1000px;
}

.skill-box-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.skill-box:hover .skill-box-inner {
    transform: rotateY(180deg);
}

.skill-box-front,
.skill-box-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-box-front {
    background: #aa8888;
    color: #2c3e50;
}

.skill-box-back {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    color: #fff;
    transform: rotateY(180deg);
} */

/* Skills Section */
#skills {
    padding: 100px 0;
    background: linear-gradient(135deg, #262638, #11214f);
    color: #fff;
}

#skills h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Skill Box */
.skill-box {
    width: 200px;
    height: 200px;
    perspective: 1000px;
}

.skill-box-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.skill-box:hover .skill-box-inner {
    transform: rotateY(180deg);
}

.skill-box-front,
.skill-box-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-box-front {
    background: #fff;
    color: #2c3e50;
}

.skill-box-back {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    color: #fff;
    transform: rotateY(180deg);
}

.skill-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.skill-box h3 {
    font-size: 20px;
    text-align: center;
}

/* Progress Circle */
.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#fff 0%, #fff var(--progress), transparent var(--progress), transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1c40f, #e67e22);
}

.progress-circle span {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

/* Progress Circle */
.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#803c3c 0%, #fff var(--progress), transparent var(--progress), transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1c40f, #e67e22);
}

.progress-circle span {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}




/* Portfolio Section */
#portfolio {
    padding: 100px 0;
    background: linear-gradient(135deg, #151522, #16213e);
    color: #fff;
}

#portfolio h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project:hover .project-image img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
    text-align: center;
}

.project:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 16px;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 10px;
}

.demo-btn, .code-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.demo-btn {
    background: #f1c40f;
    color: #2c3e50;
}

.code-btn {
    background: #2c3e50;
    color: #fff;
    border: 2px solid #f1c40f;
}

.demo-btn:hover, .code-btn:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-5px);
}

/* Services Section */
#services {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
}

#services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.services-grid :hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(255, 254, 254, 0.2);
}

.service {
    background: #e5dcdc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(249, 248, 248, 0.2);
    background-color: #b3b5b9;
}

.service-icon {
    font-size: 48px;
    color: #f1c40f;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service:hover .service-icon {
    transform: rotate(360deg);
}

.service h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service p {
    font-size: 16px;
    color: #666;
}







/* Contact Section */
#contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1b2228, #2e2a77);
    color: #fff;
    text-align: center;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    color: #2c3e50;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    background: #fff;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.8);
    outline: none;
}

textarea {
    height: 150px;
    resize: none;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #2c3e50;
    font-size: 18px;
}

button {
    background: #f1c40f;
    color: #2c3e50;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-5px);
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    font-size: 24px;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: #f1c40f;
    transform: translateY(-5px);
}


/* Footer Section */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer p {
    margin: 0;
    font-size: 16px;
    color: #f1c40f;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f1c40f;
    color: #2c3e50;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    font-size: 24px;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: #f1c40f;
    transform: translateY(-5px);
}




/* Resume Section */
#resume {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
}

#resume h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.resume-timeline {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.timeline {
    flex: 1;
    position: relative;
}

.timeline h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 15px;
    height: 15px;
    background: #f1c40f;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 25px;
    width: 1px;
    height: calc(100% - 15px);
    background: #ccc;
}

.timeline-date {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.timeline-content h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    color: #666;
}



/* Download CV Button */
.download-cv {
    text-align: center;
    margin-top: 50px;
}

.btn-download {
    background: #f1c40f;
    color: #2c3e50;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-download:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-5px);
}



/* Contact Section */
#contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: #fff;
    text-align: center;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #f1c40f;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.info-item i {
    font-size: 24px;
    color: #f1c40f;
}

.contact-text {
    font-size: 18px;
    margin: 0;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

.info-item:hover .contact-text {
    color: #f1c40f;
    transform: translateY(-5px);
}

/* Hover Animation for Contact Text */
.info-item .contact-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: #f1c40f;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.info-item:hover .contact-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Icon Hover Animation */
.info-item i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.info-item:hover i {
    transform: rotate(360deg);
    color: #e67e22;
}


/* Footer Section */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
    text-align: center;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f1c40f;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f1c40f;
}

.footer-section ul li i {
    margin-right: 10px;
    color: #f1c40f;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form button {
    background: #f1c40f;
    color: #2c3e50;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.newsletter-form button:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-5px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    font-size: 24px;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: #f1c40f;
    transform: translateY(-5px);
}

.copyright {
    font-size: 14px;
    color: #ccc;
    margin-top: 20px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f1c40f;
    color: #2c3e50;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-5px);
}








