/* Custom CSS Variables */
:root {
    --primary-color: #27AE60;
    --secondary-color: #d8d9db;
    --dark-color: #2d3748;
    --light-color: #ffffff;
    --text-muted: #6c757d;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #c2185b;
    border-color: #c2185b;
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Navigation Styles */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #d4e9db 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 90%;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: rgb(187, 187, 187);
    transform: translateY(-2px);
}

.hero-stats {
    margin-top: 2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-bg-shape {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
   /* background: linear-gradient(135deg, var(--primary-color), #ffffff); */

    border-radius: 50% 50% 50% 50%;
    z-index: 1;
}

.hero-photo {
    position: relative;
    z-index: 2;
    border-radius: 10px;
    max-width: 400px;
    max-height: 500px;
}

.floating-card {
    position: absolute;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: 20%;
    left: -10%;
}

.floating-card-2 {
    bottom: 20%;
    right: -10%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.floating-card .card {
    /* Fallback for browsers that don't support backdrop-filter */
    background: rgba(255, 255, 255, 0.9) !important;
    @supports (backdrop-filter: blur(10px)) {
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
    }
}
/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Core Competencies Section */
.what-i-do-section {
    padding: 100px 0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #27AE60;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.service-title {
    font-weight: 600;
    color: var(--dark-color);
}
/* Hexagonal Infographic Styles */
.infographic-container {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.infographic-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 100px;
}

.hex-group {
    display: flex;
    flex-direction: column;
    gap: 100px;
    z-index: 10;
}

.hex-card, .hex-card1, .hex-card2, .hex-card3, .hex-card4, .hex-card5 {
    width: 200px;
    height: 200px;
    background: #ffffff;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hex-card { margin-top: -10px; }
.hex-card1, .hex-card2, .hex-card4, .hex-card5 { margin-top: -90px; }
.hex-card3 { margin-top: -10px; }

.hex-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #e8fcef;
}

.hex-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

.hex-content i {
    font-size: 32px;
    color: #27ae60;
    margin-bottom: 12px;
    display: block;
}

.hex-content h6 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.center-circle {
    width: 180px;
    height: 180px;
    background: #ffffff;
    border: 8px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 25;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: pulse 3s infinite;
    position: relative;
    top: 5px;
}

.center-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

.dot.active { background: #27ae60; }

.connector-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.connector-line {
    stroke: #333;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 2s ease-out;
}

.visible .connector-line { stroke-dashoffset: 0; }

/* Tooltip Styles */
.tooltip {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 250px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tooltip.show { opacity: 1; transform: translateY(0); }

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(39, 174, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .infographic-container { height: 500px; }
    .center-circle { width: 140px; height: 140px; }
    .hex-card, .hex-card1, .hex-card2, .hex-card3, .hex-card4, .hex-card5 { 
        width: 150px; 
        height: 150px; 
    }
    .connector-lines { display: none; }
}

@media (max-width: 768px) {
    .infographic-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .hex-group { flex-direction: row; gap: 20px; justify-content: center; }
    .infographic-container { height: auto; padding: 20px 0; }
}

@media (max-width: 576px) {
    .hex-group { flex-direction: column; gap: 15px; }
    .hex-card, .hex-card1, .hex-card2, .hex-card3, .hex-card4, .hex-card5 { 
        width: 100px; 
        height: 100px; 
    }
    .hex-content i { font-size: 20px; }
    .hex-content h6 { font-size: 9px; }
}


/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    overflow: hidden;
}

.portfolio-image img {
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem !important;
}

.portfolio-category .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.portfolio-title {
    font-weight: 600;
    color: var(--dark-color);
}

/* Resume Section */
.resume-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.resume-section-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-date {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.timeline-content h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color) !important;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
}

/* Booking System Styles */
.booking-form {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-top: 3rem;
}

.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}

.availability-status {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.available {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.not-available {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.portfolio-category-page {
    padding: 120px 0 80px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-detail-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.meta-item {
    background-color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}
/* Skills Section */
.skills-section {
    padding: 100px 0;
}
.skills-category {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
}
.skill-item {
    margin-bottom: 1.5rem;
}
.skill-progress {
    height: 8px;
    border-radius: 10px;
    background-color: var(--secondary-color);
}
.skill-progress .progress-bar {
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}
/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.quote-icon {
    font-size: 2rem;
}
.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.author-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}
.author-position {
    font-size: 0.9rem;
}
/* Blog Preview Section */
.blog-preview-section {
    padding: 100px 0;
}
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.blog-image {
    overflow: hidden;
}
.blog-image img {
    transition: var(--transition);
}
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}
.blog-meta {
    font-size: 0.875rem;
}
.blog-title {
    font-weight: 600;
    color: var(--dark-color);
}
.blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
}
/* Call to Action Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #ff4081);
    color: white;
}
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}
.cta-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}
.cta-actions .btn {
    margin: 0.5rem;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
}
.btn-outline-primary {
    border-color: white;
    color: white;
}
.btn-outline-primary:hover {
    background-color: white;
    color: var(--primary-color);
}
/* Enhanced Footer */
.footer-main {
    background-color: var(--dark-color);
}
.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.footer-description {
    color: #a0aec0;
    line-height: 1.8;
}
.footer-contact .contact-item {
    color: #a0aec0;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}
.footer-contact .contact-item i {
    margin-right: 0.75rem;
    width: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary-color);
}
.social-links-footer {
    display: flex;
    gap: 1rem;
}
.social-link-footer {
    width: 40px;
    height: 40px;
    background-color: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}
.social-link-footer:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}
.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
}
.newsletter-form .form-control {
    border: none;
    border-radius: 50px 0 0 50px;
    background-color: #4a5568;
    color: white;
    border-right: none;
}
.newsletter-form .form-control:focus {
    background-color: #4a5568;
    color: white;
    box-shadow: none;
}
.newsletter-form .form-control::placeholder {
    color: #a0aec0;
}
.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    border: none;
    background-color: var(--primary-color);
    color: white;
}
.footer-bottom {
    background-color: #2d3748;
    border-top: 1px solid #4a5568;
}
.footer-links-bottom a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}
.footer-links-bottom a:hover {
    color: var(--primary-color);
}
/* Blog Post Page Styles */
.blog-post-section {
    padding: 120px 0 80px 0;
}
.blog-post {
    background: white;
}
.back-to-blog {
    margin-bottom: 2rem;
}
.post-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}
.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}
.post-excerpt {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.post-featured-image {
    text-align: center;
}
.post-featured-image img {
    border-radius: 15px;
    width: 100%;
    height: auto;
}
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}
.post-content h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}
.post-content p {
    margin-bottom: 1.5rem;
}
/* Social Sharing */
.social-sharing {
    background-color: var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
}
.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.social-share-buttons .btn {
    border-radius: 50px;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}
/* Author Info */
.author-info {
    background-color: var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
}
.author-avatar img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.author-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}
.author-bio {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.author-social a {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.author-social a:hover {
    color: var(--primary-color);
}
/* Blog Sidebar */
.blog-sidebar {
    padding-left: 2rem;
}
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.widget-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}
.related-post {
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}
.related-post:hover {
    background-color: var(--secondary-color);
}
.related-title a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.related-title a:hover {
    color: var(--primary-color);
}
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-list li {
    margin-bottom: 0.75rem;
}
.category-list a {
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.category-list a:hover {
    color: var(--primary-color);
}
.post-count {
    color: var(--text-muted);
    font-size: 0.875rem;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tag-link {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}
.tag-link:hover {
    background-color: var(--primary-color);
    color: white;
}
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), #ff4081);
    color: white;
}
.newsletter-widget .widget-title {
    color: white;
}
.newsletter-widget .form-control {
    border: none;
    border-radius: 10px;
}
.newsletter-widget .btn {
    border-radius: 10px;
    background-color: white;
    color: var(--primary-color);
    border: none;
}
/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .blog-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .social-share-buttons {
        justify-content: center;
    }
    
    .author-info .row {
        text-align: center;
    }
    
    .author-info .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .skills-category {
        margin-bottom: 2rem;
    }
}

/* Main Stylesheet for Niaz Morshed Portfolio */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50 !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #495057 !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff !important;
}

.navbar-nav .nav-link.active {
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Portfolio Category Page */
.portfolio-category-page {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Featured Article */
.featured-article {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.featured-article:hover {
    transform: translateY(-5px);
}

.featured-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.featured-content {
    padding: 2rem;
}

.article-meta {
    margin-bottom: 1rem;
}

.article-meta .badge {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-tags {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Category Cards */
.category-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.category-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.category-card h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-card p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.post-count {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 600;
}

/* Blog Cards */
.blog-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

.blog-date .month {
    display: block;
    font-size: 0.7rem;
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-date .year {
    display: block;
    font-size: 0.7rem;
    color: #6c757d;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-meta .category {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-meta .read-time {
    color: #6c757d;
    font-size: 0.9rem;
}

.blog-title {
    margin-bottom: 1rem;
}

.blog-title a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #007bff;
}

.blog-excerpt {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Blog Post Styles */
.blog-post-section {
    padding: 8rem 0 4rem;
    background: #f8f9fa;
}

.blog-post {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.back-to-blog .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-excerpt {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
}

.post-featured-image {
    text-align: center;
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.post-content h3 {
    color: #2c3e50;
    font-weight: 600;
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* Author Info */
.author-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
}

.author-name {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-bio {
    color: #6c757d;
    margin-bottom: 1rem;
}

.author-social a {
    color: #6c757d;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: #007bff;
}

/* Blog Sidebar */
.blog-sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.widget-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

/* Related Posts */
.related-post {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.related-post:hover {
    background-color: #f8f9fa;
}

.related-post img {
    border-radius: 8px;
}

.related-title a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-title a:hover {
    color: #007bff;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004494);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .blog-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .portfolio-category-page {
        padding: 6rem 0 3rem;
    }
}

@media (max-width: 576px) {
    .blog-post {
        padding: 1.5rem;
    }
    
    .post-featured-image img {
        height: 250px;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .featured-article {
        margin-bottom: 2rem;
    }
    
    .blog-image {
        height: 200px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card,
.category-card,
.featured-article {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-primary {
    color: #007bff !important;
}

.bg-primary {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 25px;
    padding: 0.75rem 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    outline: none;
}

.newsletter-form button {
    background: white;
    color: #007bff;
    border: none;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

/*Social Share*/

