:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 56px; /* For fixed navbar */
}

.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
/* Add these to your existing styles.css */

/* Hero Section Enhancements */
.hero-section {
    background: linear-gradient(135deg, #1a2530 0%, #2c3e50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.text-gradient {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-badge {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-badges .badge {
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.contact-info-badges .badge:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: translateY(-2px);
}

/* Section Spacing */
.py-lg-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-lg-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
    .py-lg-7 {
        padding-top: 7rem !important;
        padding-bottom: 7rem !important;
    }
}

/* Card Enhancements */
.feature-box, .skill-category-card, .contact-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08) !important;
}

.feature-box:hover, .skill-category-card:hover, .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: rgba(0,123,255,0.2) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* Dark Mode Form Styling */
.bg-dark .form-control {
    color: white !important;
}

.bg-dark .form-control::placeholder {
    color: rgba(255,255,255,0.6) !important;
}

.bg-dark .form-control:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.25rem rgba(0,123,255,0.25) !important;
}

/* Trust Indicators */
.trust-indicators h4 {
    font-size: 2rem;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Skill Tags */
.skill-tags .badge {
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.skill-tags .badge:hover {
    background: #007bff !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Section Title Enhancement */
.section-title {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23000000" fill-opacity="0.1" d="M0,224L48,218.7C96,213,192,203,288,181.3C384,160,480,128,576,117.3C672,107,768,117,864,138.7C960,160,1056,192,1152,192C1248,192,1344,160,1392,144L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

.profile-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.skill-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    margin: 10px 0;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* For section anchors accounting for fixed navbar */
section {
    scroll-margin-top: 70px;
}

/* Additional spacing for sections */
.py-section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
        margin-top: 20px;
    }
    
    .py-section {
        padding: 3rem 0;
    }
}

/* Blog Professional Styles */

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

/* Post Cards */
.post-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: #dee2e6;
}

.post-image {
    overflow: hidden;
}

.post-image img {
    transition: transform 0.6s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.2));
}

.hover-text-primary:hover {
    color: #4a6cf7 !important;
}

.extra-small {
    font-size: 0.75rem;
}

/* Professional Pagination */
.pagination-modern .page-link {
    border: none;
    border-radius: 8px;
    margin: 0 4px;
    padding: 10px 18px;
    font-weight: 500;
    color: #495057;
    background: transparent;
    transition: all 0.3s ease;
}

.pagination-modern .page-link:hover {
    background: #f8f9fa;
    color: #4a6cf7;
    transform: translateY(-2px);
}

.pagination-modern .page-item.active .page-link {
    background: linear-gradient(135deg, #4a6cf7, #6a11cb);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

.pagination-modern .page-link.prev,
.pagination-modern .page-link.next {
    padding: 10px 24px;
    font-weight: 600;
}

.pagination-modern .page-item.disabled .page-link {
    opacity: 0.5;
    background: transparent;
    color: #adb5bd;
}

/* Newsletter Section */
#newsletter {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.newsletter-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-shape.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.newsletter-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Letter Spacing */
.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .sticky-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 4rem 0;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .pagination-modern .page-link {
        padding: 8px 14px;
        margin: 2px;
    }
    
    .pagination-modern .page-link.prev,
    .pagination-modern .page-link.next {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Empty State */
.empty-state-icon {
    position: relative;
    display: inline-block;
}

.empty-state-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px dashed #dee2e6;
    border-radius: 50%;
}

/* Spacing Utilities */
.mt-6 {
    margin-top: 4rem;
}

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Blog Specific Styles */
.blog-hero-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    color: white;
}

.blog-hero-section h1 {
    color: white;
}

.blog-hero-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%) !important;
}

.object-fit-cover {
    object-fit: cover;
}

/* Card hover effect */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Pagination active state */
.page-item.active .page-link {
    background-color: #4a6cf7;
    border-color: #4a6cf7;
}

.page-link {
    border-radius: 6px;
    margin: 0 3px;
    border: 1px solid #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Modal styles */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
}

.modal-body {
    padding: 1.5rem;
}

<!-- Add these styles to the existing header.php <style> block -->

.navbar-enhanced {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Blog specific nav item */
.nav-blog {
    position: relative;
}

.nav-blog::after {
    content: 'New';
    position: absolute;
    top: -8px;
    right: 0;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* ===== ENHANCED FOOTER STYLES ===== */
footer.bg-dark {
    background: linear-gradient(135deg, #1a2530 0%, #2c3e50 100%) !important;
    color: white !important;
    padding: 4rem 0 2rem !important;
    position: relative;
    overflow: hidden;
}

/* Footer gradient overlay */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
}

/* Ensure text is white */
footer,
footer h5,
footer p,
footer a:not(.btn) {
    color: white !important;
    opacity: 0.9;
}

/* Footer link styling */
footer a:not(.btn) {
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

footer a:not(.btn):hover {
    opacity: 1;
    color: white !important;
    padding-left: 5px;
}

/* Footer headings */
footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: #007bff;
    border-radius: 2px;
}

/* Footer lists */
footer ul.list-unstyled li {
    margin-bottom: 0.75rem;
}

/* Social links enhancement */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Specific social media colors */
.social-links a:nth-child(1):hover { background: #0077b5 !important; } /* LinkedIn */
.social-links a:nth-child(2):hover { background: #ea4335 !important; } /* Email */
.social-links a:nth-child(3):hover { background: #25d366 !important; } /* Phone */

/* Footer divider */
footer hr.bg-light {
    border-color: rgba(255, 255, 255, 0.2) !important;
    opacity: 0.3;
    margin: 2rem 0;
}

/* Copyright text */
footer .text-center p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer.bg-dark {
        padding: 3rem 0 1.5rem !important;
    }
    
    footer .row > div {
        margin-bottom: 2rem;
    }
    
    footer .text-md-end {
        text-align: left !important;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

/* Footer card styling */
.footer-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.footer-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Newsletter signup in footer */
.footer-newsletter {
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-newsletter .btn {
    background: #007bff;
    border: none;
    transition: all 0.3s ease;
}

.footer-newsletter .btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}
/* ===== FOOTER CSS OVERRIDE FOR BLOG PAGE ===== */
/* Add this at the END of your existing style tag */

/* Force dark footer with !important */
footer,
footer.bg-dark,
.footer-enhanced {
    background: linear-gradient(135deg, #1a2530 0%, #2c3e50 100%) !important;
    color: white !important;
    padding: 4rem 0 2rem !important;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #007bff !important;
}

/* Remove any white backgrounds from footer elements */
footer *:not(.btn-primary):not(.btn-outline-light):not(.btn-outline-primary) {
    background-color: transparent !important;
    background: transparent !important;
}

/* Ensure all text is white */
footer,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, footer span, footer li, footer small,
footer a:not(.btn-primary):not(.btn-outline-light):not(.btn-outline-primary) {
    color: white !important;
    opacity: 0.9;
}

/* Fix links in footer */
footer a:not(.btn) {
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

footer a:not(.btn):hover {
    opacity: 1;
    color: #4a6cf7 !important;
    padding-left: 5px;
}

/* Fix social links */
footer .social-links a {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

footer .social-links a:hover {
    background: #007bff !important;
    transform: translateY(-3px);
}

/* Fix card backgrounds in footer */
footer .card,
footer .footer-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

/* Fix form inputs in dark footer */
footer .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Fix badges in footer */
footer .badge:not(.bg-primary):not(.bg-success):not(.bg-warning) {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

/* Fix dividers */
footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
    opacity: 0.3;
}

/* Add gradient accent line */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    z-index: 1;
}

/* Responsive fixes */
@media (max-width: 768px) {
    footer,
    footer.bg-dark,
    .footer-enhanced {
        padding: 3rem 0 1.5rem !important;
    }
}
