/* appling google font over the website  */
body{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
}
/* styling menu icon */
.nav-menu{
    border: none;
    background-color: #fff;
    font-size: 1.5rem;
    color: #250daf;
}
/* styling navbar links  */
.navbar-nav a{
    color: black;
    position: relative;
}
.navbar-nav a:hover{
    color: #250daf;
}
.navbar-nav a:after {    
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    top: 35px;
    position: absolute;
    background: #250daf;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}
.navbar-nav a:hover:after { 
    width: 100%; 
    left: 0; 
}
/* styling contact btn  */
.c-btn{
    border: none;
    background: #250daf;
    color: #fff;
    font-size: 1.2rem;
    display: inline-block;
}
/* styling home section starts */
.home {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.home h2{
    font-size: 3rem;
    line-height: 4rem;
}
.c-orange{
    color: #6f34fe;
    font-weight: 700;
    font-size: 4rem;
}
.home p{
    width: fit-content;
    margin-top: 1rem;
    font-size: 1.2rem;
}
.h-btn:hover{
    background: #6f34fe;
    color: #fff;
    transform: translateY(-20px);
    transition-duration: 1s;
}
.link{
    text-decoration: none;
    font-size: 1.2rem;
    color: #250daf;
    position: relative;
}
.link::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    top: 20px;
    background-color: #6f34fe;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.link:hover{
    color: #6f34fe;
}
.link:hover::after{
    transform: scaleX(1);
    transform-origin: bottom left;
}
/* adding animation to home section image  */
.home img{
    animation: floatimg 4s ease-in-out infinite;
}

@keyframes floatimg {
    0%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(-24px);
    }
    100%{
        transform: translateX(0);
    }
}

/* expertise section starts */
.heading small{
    color: #6f34fe;
    font-size: 1.5rem;
    font-weight: 600;
}
.heading h3{
    margin-top: 0.5rem;
    color: #3f396d;
    font-size: 2.5rem;
    font-weight: 700;
}
.expertise h4{
    color: #3f396d;
    font-weight: 700;
}
.expertise a{
    text-decoration: none;
    color: #250daf;
}
.expertise a:hover{
    color: #6f34fe;
}
.expertise .service-card{
    text-align: center;
    padding: 15px 15px;
    border-radius: 0.7rem;
}

/* skill section starts */
.skill{
    background-color: rgb(234, 234, 249);
}
.progress-card{
    padding: 12% 10% 10% 15%;
    background-color: #fff;
    text-align: center;
    border-radius: 10%;
}
.progress-card:hover{
    transform: scale(1.1,1.1);
    transition-duration: 0.6s;
}
/* VMware Progress Circle */
.circular-progress {
    position: relative;
    height: 130px;
    width: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.circular-progress::before {
    content: "";
    position: absolute;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    background-color: #fff;
}

/* Progress Value Colors */
.progress-value {
    position: relative;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 1;
    font-family: 'Josefin Sans', sans-serif;
}

/* Update progress colors for cloud technologies */
.vmware-progress {
    color: #607078;
}

.azure-progress {
    color: #0078D4;
}

.aws-progress {
    color: #FF9900;
}

.gcp-progress {
    color: #34A853;
}

/* Update circular progress backgrounds for each technology */
.circular-progress.vmware {
    background: conic-gradient(#607078 324deg, #ededed 0deg); /* 90% = 324deg */
}

.circular-progress.azure {
    background: conic-gradient(#0078D4 270deg, #ededed 0deg); /* 75% = 270deg */
}

.circular-progress.aws {
    background: conic-gradient(#FF9900 180deg, #ededed 0deg); /* 50% = 180deg */
}

.circular-progress.gcp {
    background: conic-gradient(#34A853 90deg, #ededed 0deg); /* 25% = 90deg */
}

.text{
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: #3f396d;
    margin-top: 1rem;
    font-family: 'Josefin Sans', sans-serif;
}
.heading p{
    font-size: 1.3rem;
}

/* portfolio section starts */
#myBtnContainer{
    margin-bottom: 45px;
}
#myBtnContainer button{
  border: none;
  color: black;
  background: transparent;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;   
  display: inline-block;
  margin: 0 25px;
}
#myBtnContainer button:hover{
    color: #250daf;
}

#myBtnContainer button:focus{
    outline: none;
}
.post .content h4{
    font-size: 1rem;
    font-weight: 700;
}
.post .card{
    border: none;
}

/* blog section starts */
.blog{
    background-color: #f2f2ff;
}
.blog .blogpost .card{
    border: none;
    border-radius: 5%;
}
.nav-bg{
    background-color: #fff;
}

.blog .blogpost small{
    color: #6f34fe;
    font-size: 1.1rem;
}
.blog .blogpost h4,.blogpost a{
    color: #3f396d;
    font-weight: 700;
    margin-top: 1rem;
    text-decoration: none;
}
.blogpost a:hover{
    color: #250daf;
}
.blog .blogpost .read-more-btn{
    text-decoration: none;
    color: #250daf;
    font-size: 1.1rem;
}
.blog .blogpost .read-more-btn:hover{
    color: #6f34fe;
}
/* styling modal group  */
.btn-c{
    margin-left: 94%;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin-top: -3%;
}
.btn-c i{
    color: #250daf;
}
.modal-body .content span{
    font-size: 1rem;
}
.modal-body .content small{
    font-size: 1rem;
    color: #6f34fe;
}
/* contact section starts */
.contact{
    background-color: #f3f3f3;
}
.contact-details i{
    font-size: 1.5rem;
    color: #250daf;
}
.contact-details p{
    font-size: 1.2rem;
    margin-left: 1rem;
}
.contact-form .form-control:focus{
    box-shadow: none;
    border: 1px solid #250daf;
}
.contact-form .form-control{
    padding: 10px 10px;
    width: 80%;
}

/* Updated Footer Styles */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(111,52,254,0.1) 0%, rgba(111,52,254,0) 70%);
    border-radius: 50%;
    transform: translate(200px, -200px);
    pointer-events: none;
}

.footer-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #6f34fe;
    border-radius: 2px;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1.2rem;
}

.footer-links a:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #6f34fe;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #999;
}

.footer-contact i {
    color: #6f34fe;
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.footer-contact a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #6f34fe;
    color: #fff;
    transform: translateY(-5px);
}

.copyright {
    color: #999;
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-title {
        text-align: center;
        margin-bottom: 1.2rem;
    }

    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links,
    .footer-contact {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .copyright {
        text-align: center;
        margin-top: 1.5rem;
    }
}

/* Navigation Bar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: #6f34fe !important;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #250daf !important;
}

.navbar-nav {
    margin-left: 0 !important;
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-link {
    font-weight: 500;
    color: #3f396d !important;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #250daf !important;
    transform: translateY(-2px);
}

/* Update dropdown styles */
.dropdown-menu {
    background: #fff;
    border: 1px solid #1585bc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    margin-top: 0;
    min-width: 200px;
}

.dropdown-item {
    color: #1585bc !important;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
}

.dropdown-item:hover {
    background: #1585bc;
    color: #fff !important;
}

/* Simplified submenu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 1px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    content: "›";
    float: right;
    margin-left: 10px;
    color: #1585bc;
}

.dropdown-submenu:hover > a:after {
    color: #fff;
}

/* Remove animations and transitions */
.dropdown-menu,
.dropdown-item,
.dropdown-submenu .dropdown-menu {
    transition: none;
    transform: none;
    animation: none;
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .dropdown-submenu .dropdown-menu {
        left: 0;
        top: 100%;
    }
    .main-title {
        font-size: 2.5rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Modern typography and spacing styles inspired by Wilian's site */
.subtitle {
    font-size: 1.1rem;
    color: #1585bc;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #3f396d;
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: #1585bc;
    position: relative;
    display: inline-block;
}

.description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
    max-width: 540px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hero image animation */
.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

/* Modern Dropdown Styles */
.modern-dropdown {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
    min-width: 220px;
    margin-top: 10px;
}

.modern-dropdown .dropdown-item {
    color: #3f396d !important;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-dropdown .dropdown-item i {
    font-size: 1.1rem;
    color: #1585bc;
}

.modern-dropdown .dropdown-item:hover {
    background: #f8f9fa;
    color: #1585bc !important;
    transform: none;
}

.modern-dropdown .dropdown-submenu > a:after {
    content: "\F285";
    font-family: "bootstrap-icons";
    font-size: 0.8rem;
    margin-left: auto;
    color: #1585bc;
}

.modern-dropdown .dropdown-submenu:hover > a:after {
    color: #1585bc;
}

/* Submenu positioning and styling */
.modern-dropdown .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 2px;
    border-radius: 12px;
    background: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Remove underline animation */
.navbar-nav a:after {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .modern-dropdown .dropdown-submenu .dropdown-menu {
        left: 0;
        top: 100%;
        margin-left: 0;
        margin-top: 1px;
    }
    
    .modern-dropdown .dropdown-item {
        padding: 0.8rem 1.2rem;
    }
}

/* Blog Post Styles */
.blog-post {
    padding-top: 120px;
    background: #f8f9fa;
}

.post-header {
    margin-bottom: 3rem;
}

.post-title {
    font-size: 2.5rem;
    color: #3f396d;
    margin: 1rem 0;
    font-weight: 700;
}

.post-meta {
    color: #666;
    font-size: 1rem;
}

.post-meta span {
    margin-right: 1.5rem;
}

.post-meta i {
    margin-right: 0.5rem;
    color: #1585bc;
}

.post-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.post-content h2 {
    color: #3f396d;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.post-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    color: #666;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .blog-post {
        padding-top: 80px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
}

/* Blog Showcase Styles */
.blog-showcase {
    background-color: #fff;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #250daf;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card .card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.25rem;
    color: #3f396d;
    margin-bottom: 0.75rem;
}

.card-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    color: #250daf;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: #1585bc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home {
        padding: 60px 0;
    }
    
    .blog-card {
        margin-bottom: 30px;
    }
}

/* Update the skill progress styles */
.circular-progress {
    background: conic-gradient(#7d2ae8 3.6deg, #ededed 0deg); /* 90% = 324deg */
}

.vmware-progress {
    color: #607078;
}

.azure-progress {
    color: #0078D4;
}

.aws-progress {
    color: #FF9900;
}

.gcp-progress {
    color: #34A853;
}

/* Update skill section text styles */
.skill .subtitle {
    color: #6f34fe;
    font-size: 1.2rem;
    font-weight: 600;
}

.skill .main-title {
    color: #3f396d;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0.5rem;
}

.skill .description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Add/Update image sizing rules */
.post-content img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

/* Logo specific styles */
.cloud-logo {
    max-width: 200px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

/* DevOps Posts Section Styles */
.devops-posts {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.devops-posts::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(111,52,254,0.1) 0%, rgba(111,52,254,0) 70%);
    border-radius: 50%;
    transform: translate(200px, -200px);
    pointer-events: none;
}

.devops-posts .blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.devops-posts .blog-card:hover {
    transform: translateY(-10px);
}

.devops-posts .card-category {
    background: rgba(111,52,254,0.1);
    color: #6f34fe;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 30px;
    margin: 1rem;
}

.devops-posts .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.devops-posts .card-content {
    padding: 1.5rem;
}

.devops-posts .card-content h3 {
    color: #3f396d;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.devops-posts .card-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.devops-posts .read-more {
    color: #6f34fe;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.devops-posts .read-more:hover {
    color: #250daf;
}

@media (max-width: 768px) {
    .devops-posts {
        padding: 3rem 1rem;
    }
    
    .devops-posts .blog-card {
        margin: 0 1rem;
    }
}

/* General Mobile Adjustments */
@media (max-width: 768px) {
    /* Typography */
    .main-title {
        font-size: 2rem !important;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Navigation */
    .navbar {
        padding: 0.5rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
        padding-left: 1rem;
    }

    .navbar-nav {
        padding: 1rem;
    }

    .dropdown-menu {
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .dropdown-item {
        color: #3f396d !important;
        padding: 0.5rem 1rem;
    }

    /* Home Section */
    .home {
        padding: 2rem 0;
        text-align: center;
    }

    .home .col-md-6 {
        padding: 2rem 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-image {
        margin-top: 2rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Skills Section */
    .skill {
        padding: 2rem 0;
    }

    .progress-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .circular-progress {
        height: 100px;
        width: 100px;
    }

    .circular-progress::before {
        height: 90px;
        width: 90px;
    }

    /* Blog Cards */
    .blog-card {
        margin: 1rem;
    }

    .card-content {
        padding: 1rem;
    }

    .card-img {
        height: 200px;
    }

    /* Cover Letter & Newsletter */
    .cover-letter-section {
        padding: 2rem 1rem;
    }

    .cover-letter-content,
    .newsletter-box {
        padding: 1.5rem;
        margin: 1rem;
    }

    /* Contact Section */
    .contact {
        padding: 2rem 1rem;
    }

    .contact-form .form-control {
        width: 100%;
    }

    .contact-details {
        text-align: center;
        margin-bottom: 2rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 1rem;
        text-align: center;
    }

    .footer-links,
    .footer-contact,
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .main-title {
        font-size: 1.8rem !important;
    }

    .c-btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .blog-card {
        margin: 0.5rem;
    }

    .post-title {
        font-size: 1.5rem;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-title {
        font-size: 2.5rem;
    }

    .hero-image {
        max-width: 90%;
    }

    .progress-card {
        padding: 1.5rem;
    }

    .blog-card {
        margin: 0.5rem;
    }
}

/* Landscape Mode */
@media (max-height: 576px) and (orientation: landscape) {
    .home {
        min-height: auto;
        padding: 2rem 0;
    }

    .navbar {
        padding: 0.3rem 1rem;
    }
}

/* Fix for Dropdown Menus on Mobile */
@media (max-width: 768px) {
    .dropdown-submenu .dropdown-menu {
        position: static;
        margin-left: 1rem;
        padding-left: 1rem;
        border-left: 2px solid #1585bc;
    }

    .modern-dropdown .dropdown-submenu > a:after {
        transform: rotate(90deg);
    }

    .dropdown-menu.show {
        display: block;
    }
}

/* Fix for Images */
@media (max-width: 768px) {
    .post-content img {
        padding: 1rem;
    }

    .cloud-logo {
        max-width: 150px;
    }
}

/* Improve Touch Targets */
@media (max-width: 768px) {
    .nav-link,
    .dropdown-item,
    .footer-links a,
    .social-link {
        padding: 0.8rem;
        margin: 0.2rem 0;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* Enhanced About Me Section Styles */
.about-me {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-me::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(111,52,254,0.1) 0%, rgba(111,52,254,0) 70%);
    border-radius: 50%;
    transform: translate(-200px, 200px);
    pointer-events: none;
}

.about-me .subtitle {
    color: #6f34fe;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-me .main-title {
    color: #3f396d;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-transform: capitalize;
}

.about-content {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-icon {
    font-size: 2.5rem;
    color: #6f34fe;
    margin-bottom: 1.5rem;
}

.about-icon i {
    padding: 1.5rem;
    border-radius: 50%;
    background: rgba(111,52,254,0.1);
}

.about-content .description {
    color: #666;
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    letter-spacing: 0.2px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* About Me Section Responsive Styles */
@media (max-width: 768px) {
    .about-me {
        padding: 60px 0;
    }
    
    .about-me .main-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .about-me .subtitle {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .about-content {
        padding: 2rem;
        margin: 1.5rem;
    }
    
    .about-content .description {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media (max-width: 576px) {
    .about-me {
        padding: 40px 0;
    }
    
    .about-me .main-title {
        font-size: 1.8rem;
    }
    
    .about-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* About Me Button Styles */
.about-content .c-btn {
    display: inline-flex;
    align-items: center;
    background: #250daf;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-content .c-btn:hover {
    background: #6f34fe;
    transform: translateY(-5px);
}

.about-content .c-btn i {
    font-size: 1.1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .about-content .c-btn {
        padding: 0.8rem 2rem !important;
        font-size: 1rem;
    }
}

/* Local Time Styles */
.footer-contact li i.bi-clock {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

#localTime {
    color: #999;
    transition: color 0.3s ease;
}

.footer-contact li:hover #localTime {
    color: #fff;
}

/* Technical Concepts Dropdown Styles */
.dropdown-menu .bi-arrow-left-right,
.dropdown-menu .bi-question-circle {
    color: #6f34fe;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.dropdown-menu .dropdown-item:hover .bi-arrow-left-right,
.dropdown-menu .dropdown-item:hover .bi-question-circle {
    color: #fff;
}

.dropdown-menu .dropdown-item {
    padding: 0.7rem 1.2rem;
    transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background: #6f34fe;
    color: #fff;
}

@media (max-width: 768px) {
    .dropdown-menu .dropdown-item {
        padding: 0.8rem 1rem;
    }
    
    .dropdown-menu .bi-arrow-left-right,
    .dropdown-menu .bi-question-circle {
        width: 20px;
        text-align: center;
    }
}

/* Q&A Section Styles */
.qa-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.qa-section p {
    margin-bottom: 1.5rem;
}

.qa-section strong {
    color: #250daf;
}

.qa-section:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .qa-section {
        padding: 1.5rem;
    }
}

/* Blog Page Styles */
.blog-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-header::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(111,52,254,0.1) 0%, rgba(111,52,254,0) 70%);
    border-radius: 50%;
    transform: translate(200px, 200px);
}

.blog-header .subtitle {
    color: #6f34fe;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-header .main-title {
    color: #3f396d;
    font-size: 3rem;
    margin: 1rem 0;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Topic Cards */
.topic-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
}

.topic-card i {
    font-size: 2.5rem;
    color: #6f34fe;
    margin-bottom: 1rem;
}

.topic-card h3 {
    color: #3f396d;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Content Sections */
.content-section {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #6f34fe;
}

.code-block {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.code-block pre {
    margin: 0;
    color: #fff;
}

/* Related Posts */
.related-card {
    display: block;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

@media (max-width: 768px) {
    .blog-header .main-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .content-section {
        padding: 1.5rem;
    }
}

/* Updated Contact Form Styles */
.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.contact-form .form-label {
    color: #3f396d;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    padding: 0.8rem 1.2rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #6f34fe;
    box-shadow: 0 0 0 0.2rem rgba(111,52,254,0.1);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-form button[type="submit"]:hover {
    background: #6f34fe;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form .row {
        margin-bottom: 1rem;
    }
    
    .contact-form .col-md-6:first-child {
        margin-bottom: 1rem;
    }
}

/* Progress card container */
.progress-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 2rem;
}

.progress-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Featured Image Styles */
.featured-image {
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    transition: transform 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-image img:hover {
    transform: scale(1.02);
}
