body {
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  background-color: #f3f6fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.5s, color 0.4s;
}
/* Navbar styling */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    position: relative;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover .nav-hover {
    width: 100%;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

/* Active nav item */
.nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

.nav-link.active .nav-hover {
    width: 100%;
}

/* Navbar background on scroll */
.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(13, 110, 253, 0.95) !important;
    backdrop-filter: blur(5px);
}
/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(120deg, #9cb7e7 40%, #6ee7b7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero h2 {
    font-weight: 300;
    font-size: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 90%;
}

.hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image img {
    border: 5px solid white;
    transition: all 0.2s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #38b2ac;
}
.object-fit-cover {
  object-fit: cover;
  object-position: center;
}

/* 
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
}
    

.social-icons a:hover {
    background: #0d6efd;
    color: white !important;
    transform: translateY(-3px);
} */

@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .d-flex {
        justify-content: center;
    }
}

/* About Section */
.about-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.section-title-text {
    position: relative;
    display: inline-block;
}

.section-title-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #0d6efd;
    border-radius: 2px;
}

.about-img-container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.about-img-container img {
    transition: transform 0.3s ease;
}

.about-img-container:hover img {
    transform: scale(1.02);
}

.experience-badge {
    top: -15px;
    left: -15px;
    font-weight: 600;
}

.skill-badge {
    bottom: -15px;
    right: -15px;
    font-weight: 600;
}

.about-content {
    border-left: 4px solid #0d6efd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-img-container {
        max-width: 300px;
        margin-bottom: 2rem;
    }
    
    .experience-badge,
    .skill-badge {
        font-size: 0.8rem;
    }
}

/* Projects Section */
.projects-section {
    background-color: #f8f9fa;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    color: #0d6efd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #212529;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #0d6efd, #6c757d);
    margin-bottom: 1.5rem;
}

.section-description {
    max-width: 600px;
    font-size: 1.05rem;
}

.project-card {
    transition: all 0.3s ease;
    border: none;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.project-image img {
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1 !important;
}

.project-ribbon {
    transform: translateX(50%) rotate(45deg);
    transform-origin: 100% 0;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.tech-stack .badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tech-stack .badge:hover {
    transform: translateY(-2px);
}

.transition-all {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
}

/* Skills Section */
.skills-section {
    background-color: #f8f9fa;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    color: #0d6efd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #212529;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #0d6efd, #6c757d);
    margin-bottom: 1.5rem;
}

.section-description {
    max-width: 600px;
    font-size: 1.05rem;
}

.skill-category-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.progress {
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
}

.skill-badge {
    transition: all 0.3s ease;
    cursor: default;
    height: 100%;
}

.skill-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skill-icon {
    width: 24px;
    text-align: center;
}

/* Skill tag colors */
.skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
}

/* Technology specific colors */
.text-react { color: #61dafb; }
.text-bootstrap { color: #7952b3; }
.text-vue { color: #42b983; }
.text-laravel { color: #ff2d20; }
.text-tailwind { color: #38b2ac; }
.text-node { color: #68a063; }
.text-html5 { color: #e34f26; }
.text-css { color: #1572b6; }
.text-js { color: #f7df1e; }
.text-python { color: #3776ab; }
.text-llm { color: #a855f7; }
.text-langchain { color: #6b7280; }

.text-git { color: #f05033; }
.text-mysql { color: #4479a1; }
.text-docker { color: #2496ed; }
.text-vscode { color: #007acc; }
.text-figma { color: #f24e1e; }
.text-aws { color: #ff9900; }
.text-postman { color: #ff6c37; }
.text-npm { color: #cb3837; }
.text-github { color: #181717; }
.text-linux { color: #fcc624; }

.bg-git { background-color: #f05033; }
.bg-mysql { background-color: #4479a1; }
.bg-docker { background-color: #2496ed; }
.bg-vscode { background-color: #007acc; }
.bg-figma { background-color: #f24e1e; }
.bg-aws { background-color: #ff9900; }
.bg-postman { background-color: #ff6c37; }
.bg-npm { background-color: #cb3837; }
.bg-github { background-color: #181717; }
.bg-linux { background-color: #fcc624; color: #333; }

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .skill-category-card {
        margin-bottom: 1.5rem;
    }
}



/* Certifications Section */
.certifications-section {
    background-color: #ffffff;
    position: relative;
}

.certification-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.certification-icon {
    transition: all 0.3s ease;
}

.certification-card:hover .certification-icon {
    transform: scale(1.1);
}

.certification-details {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
}

.contact-form-card,
.contact-info-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form-card:hover,
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.title-decoration {
    width: 4px;
}

/* Form styling */
.form-floating label {
    color: #6c757d;
    transition: all 0.3s ease;
}

.form-control {
    border: 1px solid #dee2e6;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.linkedin { background-color: #0a66c2; }
.github { background-color: #333; }
.twitter { background-color: #1da1f2; }
.instagram { 
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}
.codepen { background-color: #000000; }

/* Transition effects */
.transition-all {
    transition: all 0.3s ease;
}

.transition-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Animated background shapes */
.contact-shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.contact-shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -50px;
    left: -50px;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem !important;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* Footer */
.footer {
    position: relative;
    background: linear-gradient(to bottom, #212529 0%, #1a1e21 100%);
}

.wave-divider {
    height: 100px;
    transform: rotate(180deg);
}

.wave {
    height: 100%;
    width: 100%;
}

.footer-brand {
    font-family: 'Montserrat', sans-serif;
}

.social-links {
    display: flex;
    gap: 15px;
}
.nav-link {
    transition: all 0.2s ease;
    position: relative;
    padding-left: 0 !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    padding-left: 10px !important;
}

.nav-link:hover::before {
    width: 8px;
}

.back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.75);
}

/* Newsletter Form */
#newsletterForm .form-control {
    color: white;
}

#newsletterForm .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#newsletterMessage {
    display: none;
}

/* Chatbot Styles */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: white;
    font-size: 24px;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chatbot-title {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    scroll-behavior: smooth;
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-message .message-content {
    background: white;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.message-content a:hover {
    text-decoration: underline;
}

.chatbot-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.typing-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 18px;
    width: fit-content;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s;
}

.chatbot-input:focus {
    border-color: #667eea;
}

.chatbot-send {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.chatbot-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 480px) {
    .chatbot-container {
        width: calc(100vw - 40px);
        height: 400px;
        bottom: 80px;
        right: 20px;
    }
    
    .chatbot-widget {
        bottom: 15px;
        right: 15px;
    }
}