@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Cool Subheading Styles */
.tf__section_heading h5,
.section-title h5,
h5 {
    font-family: 'Orbitron', monospace !important;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-bottom: 15px;
}

.tf__section_heading h5::after,
.section-title h5::after,
h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

/* Main Section Titles */
.tf__section_heading h2,
.section-title h2,
h2 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

/* About Section Headings */
.about-content h3 {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

/* Skills and Card Headings */
.skill-card h5,
.project-card h5,
.blog-card h5 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Stat Numbers */
.stat-item h4 {
    font-family: 'Orbitron', monospace !important;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Title Enhancement */
.hero-section h1 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.hero-section h2 {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
}

/* Cool Animations and Effects */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
    50% { text-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 30px rgba(118, 75, 162, 0.6); }
}

@keyframes slideInFromLeft {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Apply animations */
.tf__section_heading h5 {
    animation: slideInFromLeft 0.8s ease-out;
}

.tf__section_heading h2 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hover effects for interactive headings */
.skill-card:hover h5,
.project-card:hover h5,
.blog-card:hover h5 {
    animation: glow 1.5s ease-in-out infinite;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Special styling for specific sections */
#skills h5 {
    color: #667eea;
    font-family: 'Orbitron', monospace !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#projects h5 {
    color: #764ba2;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600;
}

#blog h5 {
    color: #48cae4;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600;
    letter-spacing: 1.5px;
}

#contact h5 {
    color: #f72585;
    font-family: 'Orbitron', monospace !important;
    font-weight: 700;
    text-transform: uppercase;
}

/* Comprehensive Mobile Responsive Styles */
@media (max-width: 991.98px) {
    /* Navigation */
    .main_menu {
        height: auto;
        padding-bottom: 0;
    }
    .main_menu .navbar-nav .nav-item .nav-link {
        padding: 16px 10px;
        font-size: 16px;
        text-align: left;
    }
    .main_menu .navbar-brand {
        width: 140px;
        height: 60px;
    }
    .main_menu .navbar-brand img {
        max-height: 40px;
    }
    .wordmark {
        font-size: 16px;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
        text-align: center;
    }
    .hero-section .display-4 {
        font-size: 2.2rem;
    }
    .hero-section h2 {
        font-size: 1.5rem;
    }
    .hero-img-wrapper {
        margin-left: 0;
        margin-top: 2rem;
    }
    .hero-img {
        width: 200px;
        height: 200px;
    }
    
    /* Section Adjustments */
    .section-padding {
        padding: 60px 0;
    }
    
    /* Skills Cards */
    .skill-card {
        height: 180px;
        margin-bottom: 1.5rem;
    }
    .skill-icon i {
        font-size: 2.5rem;
    }
    .skill-card h5 {
        font-size: 1.1rem;
    }
    
    /* Project Cards */
    .project-card {
        height: 360px;
        margin-bottom: 2rem;
    }
    
    /* Blog Cards */
    .blog-card {
        height: 360px;
        margin-bottom: 2rem;
    }
    
    /* Contact Section */
    .contact-info {
        margin-bottom: 2rem;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    .hero-section .display-4 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .hero-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-img {
        width: 160px;
        height: 160px;
    }
    .hero-img-wrapper::before {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
    }
    
    /* Navigation */
    .wordmark {
        font-size: 14px;
    }
    .main_menu .navbar-brand {
        width: 120px;
        height: 50px;
    }
    .main_menu .navbar-brand img {
        max-height: 35px;
    }
    
    /* Common Button */
    .common_btn {
        padding: 12px 20px;
        font-size: 14px;
        margin: 0.5rem 0.25rem;
    }
    
    /* About Section */
    .about-content h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    .stat-item {
        margin-bottom: 1rem;
        text-align: center;
    }
    .stat-item h4 {
        font-size: 2rem;
    }
    
    /* Skills Cards */
    .skill-card {
        height: 160px;
        padding: 1.25rem 1rem;
    }
    .skill-icon i {
        font-size: 2rem;
    }
    .skill-card h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .skill-card p {
        font-size: 0.8rem;
    }
    
    /* Project Cards */
    .project-card {
        height: 340px;
        margin-bottom: 1.5rem;
    }
    .project-img {
        height: 180px;
    }
    .project-content {
        padding: 1rem;
    }
    .project-content h5 {
        font-size: 1.1rem;
    }
    .project-content p {
        font-size: 0.85rem;
    }
    
    /* Blog Cards */
    .blog-card {
        height: 340px;
        margin-bottom: 1.5rem;
    }
    .blog-img {
        height: 160px;
    }
    .blog-content {
        padding: 1.25rem;
    }
    .blog-content h5 a {
        font-size: 1.05rem;
    }
    .blog-content p {
        font-size: 0.85rem;
    }
    
    /* Contact Section */
    .contact-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    .contact-info h4 {
        font-size: 1.5rem;
        text-align: center;
    }
    .contact-item {
        font-size: 1rem;
        justify-content: center;
    }
    .social-link {
        width: 40px;
        height: 40px;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    /* Hero Section */
    .hero-section {
        padding-top: 70px;
        padding-bottom: 20px;
        min-height: 70vh;
    }
    .hero-section .display-4 {
        font-size: 1.4rem;
    }
    .hero-section h2 {
        font-size: 1rem;
    }
    .hero-section .lead {
        font-size: 0.9rem;
    }
    .hero-img {
        width: 120px;
        height: 120px;
    }
    .hero-img-wrapper::before {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
    
    /* Navigation */
    .wordmark {
        font-size: 12px;
        letter-spacing: 1px;
    }
    .main_menu .navbar-brand {
        width: 100px;
        height: 40px;
    }
    .main_menu .navbar-brand img {
        max-height: 25px;
    }
    
    /* Common Elements */
    .common_btn {
        padding: 10px 16px;
        font-size: 12px;
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
    }
    .section-padding {
        padding: 40px 0;
    }
    
    /* Typography */
    .tf__section_heading h5 {
        font-size: 16px;
    }
    .tf__section_heading h2 {
        font-size: 1.8rem;
    }
    
    /* About Section */
    .about-content h3 {
        font-size: 1.4rem;
    }
    .about-content p {
        font-size: 0.9rem;
    }
    .stat-item h4 {
        font-size: 1.8rem;
    }
    
    /* Skills Cards */
    .skill-card {
        height: 140px;
        padding: 1rem 0.75rem;
    }
    .skill-icon i {
        font-size: 1.8rem;
    }
    .skill-card h5 {
        font-size: 0.95rem;
    }
    .skill-card p {
        font-size: 0.75rem;
    }
    
    /* Project & Blog Cards */
    .project-card,
    .blog-card {
        height: 320px;
        margin-bottom: 1.25rem;
    }
    .project-img,
    .blog-img {
        height: 140px;
    }
    .project-content,
    .blog-content {
        padding: 0.875rem;
    }
    .project-content h5,
    .blog-content h5 a {
        font-size: 1rem;
    }
    .project-content p,
    .blog-content p {
        font-size: 0.8rem;
    }
    .tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Contact Section */
    .contact-info {
        padding: 1.25rem;
    }
    .contact-info h4 {
        font-size: 1.3rem;
    }
    .contact-item {
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
    }
    .contact-item i {
        margin-bottom: 0.5rem;
    }
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .contact-form {
        padding: 1.25rem;
    }
    .contact-form .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}
/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
}
.hero-section .display-4 {
    color: #fff;
    letter-spacing: 1px;
}
.hero-section .text-primary {
    color: #14beb0 !important;
}
.hero-section .lead {
    color: #e0e0e0;
}
/* Hero Image - embedded with background */
.hero-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    width: fit-content;
}
.hero-img-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #e6e1e1, #141c27);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite alternate;
}
.hero-img {
    width: auto;
    height:320px;
    border-radius: 80%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 10px rgba(238, 243, 243, 0.3), inset 0 0 30px rgba(255,255,255,0.1);
    background: rgba(8, 8, 8, 0.852);
    backdrop-filter: blur(10px);
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.05); opacity: 0.9; }
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}
.bg-dark {
    background: transparent !important;
}

/* About Section */
.about-content h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}
.about-content p {
    color: #f8f9fa;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.stat-item {
    background:rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(20,190,176,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
    border-color: #14beb0;
    box-shadow: 0 10px 30px rgba(20,190,176,0.2);
}
.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #14beb0;
    text-shadow: 0 2px 10px rgba(20,190,176,0.3);
}
.stat-item p {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}
.about-img img {
    border-radius: 20px;
    max-width: 65%;
    height: 50%;
    margin-left: 10rem;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Skills Section - Hexagonal Modern Cards */
.skill-card {
    background: linear-gradient(135deg, rgba(20,190,176,0.15) 0%, rgba(255,255,255,0.1) 100%);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #14beb0 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}
.skill-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(20,190,176,0.25);
    background: linear-gradient(135deg, rgba(20,190,176,0.25) 0%, rgba(255,255,255,0.15) 100%);
}
.skill-icon {
    margin-bottom: 1rem;
    position: relative;
}
.skill-icon i {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(20,190,176,0.8);
    transition: all 0.3s ease;
}
.skill-card:hover .skill-icon i {
    color: #14beb0;
    transform: scale(1.1);
}
.skill-card h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.skill-card p {
    color: #f8f9fa;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

/* Projects Section - Card Stack Effect */
.project-card {
    background: rgba(255,255,255,0.12);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    height: 380px;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(15px);
}
.project-card::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: rgba(20,190,176,0.05);
    border-radius: 10px;
    z-index: -1;
    transition: all 0.3s ease;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border-color: rgba(20,190,176,0.5);
}
.project-card:hover::after {
    background: rgba(20,190,176,0.15);
    transform: translate(-3px, -3px);
}
.project-img {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}
.project-img img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-card:hover .project-img img {
    transform: scale(1.08);
}
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(20,190,176,0.9) 0%, rgba(20,28,39,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.project-content h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.project-content p {
    color: #f8f9fa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
    opacity: 0.95;
}
.project-tags {
    margin-top: auto;
}
.tag {
    display: inline-block;
    background: linear-gradient(45deg, rgba(20,190,176,0.2) 0%, rgba(255,255,255,0.1) 100%);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin: 0.25rem 0.25rem 0 0;
    border: 1px solid rgba(20,190,176,0.4);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Blog Section - Floating Glass Cards */
.blog-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.4s ease;
    height: 380px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    position: relative;
}
.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #14beb0 0%, rgba(255,255,255,0.5) 50%, #14beb0 100%);
    border-radius: 20px 20px 0 0;
}
.blog-card:hover {
    transform: translateY(-12px) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(20,190,176,0.2);
    border-color: rgba(20,190,176,0.4);
}
.blog-img {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.blog-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, rgba(255,255,255,0.1));
}
.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-img img {
    transform: scale(1.1);
}
.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #f8f9fa;
    font-weight: 500;
}
.blog-meta i {
    color: #14beb0;
    text-shadow: 0 0 10px rgba(20,190,176,0.5);
}
.blog-content h5 {
    margin-bottom: 0.75rem;
}
.blog-content h5 a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.blog-content h5 a:hover {
    color: #14beb0;
    text-shadow: 0 0 15px rgba(20,190,176,0.6);
}
.blog-content p {
    color: #f8f9fa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.7;
    opacity: 0.95;
}
.read-more {
    color: #14beb0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
    text-shadow: 0 2px 10px rgba(20,190,176,0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.read-more:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Contact Section - Enhanced Glass Morphism */
.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.contact-info h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
    position: relative;
}
.contact-info h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #14beb0, transparent);
    border-radius: 2px;
}
.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.contact-item:hover {
    background: rgba(20,190,176,0.1);
    transform: translateX(5px);
}
.contact-item i {
    width: 25px;
    color: #14beb0;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(20,190,176,0.5);
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}
.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(20,190,176,0.2) 0%, rgba(255,255,255,0.1) 100%);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(20,190,176,0.3);
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}
.social-link:hover {
    background: linear-gradient(135deg, #14beb0 0%, rgba(20,190,176,0.8) 100%);
    color: #141c27;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(20,190,176,0.3);
}
.contact-form {
    background: rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
}
.contact-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.contact-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: #14beb0;
    box-shadow: 0 0 0 0.2rem rgba(20,190,176,0.25);
    color: #ffffff;
    transform: translateY(-2px);
}
.contact-form .form-control::placeholder {
    color: #f8f9fa;
    opacity: 0.8;
    font-weight: 500;
}
/* basic css */
* {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
ul,ol,li {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--colorWhite);
}
.logo-img {
    width: 70px !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
}
a{
    display: inline-block;
    text-decoration: none;
    color: var(--colorWhite);
}
a:hover {
    text-decoration: none;
}
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    padding: 0;
    color: var(--colorWhite);
}   
p, span {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    color: var(--colorWhite);
}
body{
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: var(--Primaryfont);
    background: linear-gradient(120deg, #141c27 60%, #14beb0 100%);
    background-attachment: fixed;
    color: var(--colorWhite)
}
img {
    width: 100% ;
    height: 100% ;
    object-fit: cover;
}
input, textarea{
    width: 100%;
    padding: 100%;
    outline: none;
    resize: none;
    border: none;
    border-radius:0;
    font-size: 16px;
    font-weight: 300;
}
input::placeholder,
textarea::placeholder {
    color: #a6a6ac;
}
button {
    border:none;
}
:root{
    --colorPrimary: #14beb0;
    --fontPrimary: 'Poppins', sans-serif;
    --bodyBg: #02050a;
    --colorWhite: #ffffff;
    --bgColor:#09101a;
    --colorBlack: #02050a;
    --ratingColor: #ffba00;
    --Primaryfont: 'Poppins', sans-serif;
    --Secondaryfont: 'Open Sans', sans-serif;
}
.common_btn{
    display:inline-flex;
    padding: 20px 40px;
    background: var(--colorPrimary);
    justify-content: center;
    align-items: center;
    gap:10px;
    color: var(--colorBlack);
    font-weight: 500;
    transition: all 0.3s linear 0s;
}
.common_btn:hover{
    background: #141c27;
    color: var(--colorWhite);
}

.tf__section_heading h5{
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 16px;
    color: var(--colorPrimary);
}
.tf__section_heading h2{
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    color:bisque
}
.navbar-brand .wordmark{
    font-weight:800;
    letter-spacing:.6px
}
.navbar-brand .wordmark span{
    color:var(--accent);
    text-shadow:0 0 10px rgba(95,213,255,.6)}
/* navigation - improved styling */
.main_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(20, 28, 39, 0.97);
    box-shadow: 0 2px 16px 0 rgba(20, 190, 176, 0.08);
    transition: background 0.3s;
}
.main_menu .main_menu_bg {
    position: relative;
    z-index: 1;
    padding-left: 0;
    padding-right: 0;
}
.main_menu .navbar-brand {
    padding: 0;
    width: 160px;
    height: 70px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.main_menu .navbar-brand img {
    max-height: 48px;
    width: auto;
}
/* Impressive Wordmark */
.wordmark {
    font-family: var(--Primaryfont);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}
.wordmark span {
    color: #14beb0;
    font-weight: 800;
}
.wordmark::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #14beb0 0%, #fff 100%);
}
.main_menu .navbar-toggler {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    margin-left: 10px;
}
.main_menu .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}
.main_menu .navbar-nav {
    align-items: center;
    gap: 8px;
}
.main_menu .navbar-nav .nav-item {
    position: relative;
}
.main_menu .navbar-nav .nav-item .nav-link {
    font-size: 15px;
    font-weight: 500;
    padding: 24px 18px;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    font-family: var(--Primaryfont);
    letter-spacing: 1px;
    margin: 0 2px;
    line-height: 1.2;
    position: relative;
}
.main_menu .navbar-nav .nav-item .nav-link:hover,
.main_menu .navbar-nav .nav-item .nav-link.active {
    color: #14beb0;
    background: rgba(20, 190, 176, 0.08);
    text-decoration: none;
}
.main_menu .navbar-nav .nav-item .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #14beb0;
    transition: width 0.3s;
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
}
.main_menu .navbar-nav .nav-item .nav-link:hover::after,
.main_menu .navbar-nav .nav-item .nav-link.active::after {
    width: 60%;
}
@media (max-width: 991.98px) {
    .main_menu .navbar-nav {
        background: rgba(20, 28, 39, 0.98);
        border-radius: 0 0 12px 12px;
        margin-top: 8px;
        padding: 8px 0;
        gap: 0;
    }
    .main_menu .navbar-nav .nav-item .nav-link {
        padding: 12px 18px;
        font-size: 16px;
        text-align: left;
        border-radius: 0;
    }
}

/* Mobile-specific card grid improvements */
@media (max-width: 767.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row > [class*="col-"] {
        margin-bottom: 1.5rem;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Ensure equal height cards on mobile */
    .skill-card,
    .project-card,
    .blog-card {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Center align mobile content */
    .hero-section .col-md-7 {
        text-align: center;
        margin-bottom: 2rem;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section .col-md-5 {
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Center hero image wrapper */
    .hero-img-wrapper {
        margin: 2rem auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: fit-content !important;
    }
    
    /* Additional centering for all sections */
    .col-md-3,
    .col-md-4,
    .col-md-6,
    .col-sm-6 {
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .skill-card,
    .project-card,
    .blog-card {
        margin: 0 auto;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    /* Container and spacing improvements */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .row > [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    /* Full width buttons on mobile - improved centering */
    .hero-section .common_btn {
        display: block;
        width: 85%;
        max-width: 280px;
        margin: 0.75rem auto;
        text-align: center;
    }
    
    /* Perfect section centering */
    .hero-section {
        text-align: center;
    }
    
    .hero-section .col-md-7,
    .hero-section .col-md-5 {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    /* Container improvements */
    .container {
        text-align: center;
    }
    
    .row {
        justify-content: center;
        align-items: stretch;
    }
    
    /* Ensure hero content is perfectly centered */
    .hero-section .col-md-7,
    .hero-section .col-md-5 {
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Center hero image completely */
    .hero-img-wrapper {
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    /* Stack contact info vertically and center */
    .contact-item {
        margin-bottom: 1rem;
        padding: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    /* Center all section content */
    .about-content,
    .project-content,
    .blog-content {
        text-align: center;
    }
    
    /* Center section headings */
    .tf__section_heading {
        text-align: center;
        width: 100%;
    }
    
    /* Center cards container */
    .row .col-md-3,
    .row .col-md-4,
    .row .col-md-6 {
        display: flex;
        justify-content: center;
        align-items: stretch;
    }
    
    .skill-card,
    .project-card,
    .blog-card {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Mobile navigation improvements */
    .main_menu .navbar-toggler {
        border: 2px solid rgba(20,190,176,0.5);
        padding: 0.5rem;
        margin-right: 0;
    }
    
    .main_menu .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2820, 190, 176, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Fix navbar brand centering */
    .main_menu .navbar-brand {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}