  :root {
        --primary: #1a1d28;
        --secondary: #2d3748;
        --dark: #0f1419;
        --light: #f8fafc;
        --accent: #2b6cb0;
        --accent-secondary: #718096;
        --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
        --metal: linear-gradient(135deg, #4a5568, #2d3748);
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      }

      body {
        background-color: var(--light);
        color: var(--dark);
        overflow-x: hidden;
      }

      /* Custom scrollbar */
      ::-webkit-scrollbar {
        width: 8px;
      }

      ::-webkit-scrollbar-track {
        background: var(--light);
      }

      ::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 10px;
      }

      /* Navbar */
      .navbar {
        background-color: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        padding: 1rem 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      }

      .navbar-brand {
        font-weight: 800;
        font-size: 1.8rem;
        color: var(--primary);
        letter-spacing: -0.5px;
      }

      .nav-link {
        font-weight: 500;
        margin: 0 0.5rem;
        color: var(--secondary) !important;
        position: relative;
        transition: all 0.3s ease;
      }

      .nav-link::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background: var(--metal);
        transition: width 0.3s ease;
      }

      .nav-link:hover::after {
        width: 100%;
      }

      /* Hero Section */
      .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        background: var(--dark);
        color: white;
      }

      .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--metal);
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        z-index: -1;
      }

      .hero-content {
        padding: 6rem 0;
      }

      .hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1rem;
        color: white;
        letter-spacing: -1px;
      }

      .hero p {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 2rem;
        max-width: 600px;
      }

      .hero-img {
        position: relative;
        text-align: center;
      }

      .profile-img {
        width: 350px;
        height: 350px;
        border-radius: 50%;
        object-fit: cover;
        border: 8px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        animation: float 6s ease-in-out infinite;
        filter: grayscale(20%);
      }

      @keyframes float {
        0% {
          transform: translateY(0px);
        }
        50% {
          transform: translateY(-20px);
        }
        100% {
          transform: translateY(0px);
        }
      }

      .btn-custom {
        background: white;
        color: var(--primary);
        border: none;
        padding: 0.8rem 2rem;
        border-radius: 4px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        letter-spacing: 0.5px;
      }

      .btn-custom:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        background: var(--accent);
        color: white;
      }

      /* Section Styling */
      section {
        padding: 5rem 0;
      }

      .section-title {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 3rem;
        text-align: center;
        position: relative;
        color: var(--primary);
        letter-spacing: -1px;
      }

      .section-title::after {
        content: "";
        position: absolute;
        width: 80px;
        height: 4px;
        background: var(--metal);
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 2px;
      }

      /* Education Timeline Styles */
      .education-timeline {
        position: relative;
        padding-left: 2rem;
      }

      .education-timeline::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--metal);
        border-radius: 2px;
      }

      .education-item {
        position: relative;
        margin-bottom: 2.5rem;
        padding-left: 1.5rem;
      }

      .education-item::before {
        content: "";
        position: absolute;
        left: -2.4rem;
        top: 0.5rem;
        width: 12px;
        height: 12px;
        background: var(--accent);
        border-radius: 50%;
        border: 3px solid var(--light);
        box-shadow: 0 0 0 3px var(--accent);
      }

      .education-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.5rem;
      }

      .education-header h4 {
        color: var(--primary);
        font-weight: 700;
        font-size: 1.2rem;
        margin: 0;
        flex: 1;
      }

      .education-year {
        background: var(--metal);
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 4px;
        font-size: 0.9rem;
        font-weight: 600;
        white-space: nowrap;
        margin-left: 1rem;
      }

      .education-institution {
        color: var(--accent);
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
      }

      .education-details {
        color: var(--secondary);
        line-height: 1.6;
        margin-bottom: 0;
      }

      /* Certifications */
      .certifications {
        margin-top: 1rem;
      }

      .cert-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      }

      .cert-item:last-child {
        border-bottom: none;
      }

      .cert-name {
        color: var(--primary);
        font-weight: 500;
      }

      .cert-year {
        background: var(--primary);
        color: white;
        padding: 0.2rem 0.6rem;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 600;
      }

      /* Academic Achievements */
      .academic-achievements {
        background: white;
        padding: 2rem;
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
        height: 100%;
      }

      .achievements-title {
        color: var(--primary);
        font-weight: 700;
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
        border-bottom: 2px solid var(--metal);
        padding-bottom: 0.5rem;
      }

      .achievement-category {
        margin-bottom: 2rem;
      }

      .achievement-category h5 {
        color: var(--primary);
        font-weight: 600;
        margin-bottom: 1rem;
        font-size: 1.1rem;
      }

      .achievement-list {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .achievement-list li {
        position: relative;
        padding: 0.5rem 0 0.5rem 1.5rem;
        color: var(--secondary);
        line-height: 1.5;
      }

      .achievement-list li::before {
        content: "▸";
        position: absolute;
        left: 0;
        color: var(--accent);
        font-weight: bold;
      }

      /* Skills Grid */
      .skills-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
      }

      .skill-tag {
        background: var(--light);
        color: var(--primary);
        padding: 0.5rem 1rem;
        border-radius: 4px;
        font-size: 0.9rem;
        font-weight: 500;
        text-align: center;
        border: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
      }

      .skill-tag:hover {
        background: var(--metal);
        color: white;
        transform: translateY(-2px);
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .education-header {
          flex-direction: column;
        }

        .education-year {
          margin-left: 0;
          margin-top: 0.5rem;
          align-self: flex-start;
        }

        .skills-grid {
          grid-template-columns: 1fr;
        }

        .cert-item {
          flex-direction: column;
          align-items: flex-start;
        }

        .cert-year {
          margin-top: 0.3rem;
        }
      }

      /* Portfolio Section */
      .portfolio-item {
        position: relative;
        overflow: hidden;
        border-radius: 4px;
        margin-bottom: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
      }

      .portfolio-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
      }

      .portfolio-img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.5s ease;
        filter: grayscale(30%);
      }

      .portfolio-item:hover .portfolio-img {
        transform: scale(1.1);
        filter: grayscale(0%);
      }

      .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 20, 25, 0.9);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        padding: 1.5rem;
        text-align: center;
        color: white;
      }

      .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
      }

      /* Testimonials */
      .testimonial-card {
        background: white;
        border-radius: 4px;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        margin: 1rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
      }

      .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      }

      .client-img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 1rem;
        border: 3px solid var(--primary);
      }

      /* Contact Section */
      .contact-form {
        background: white;
        padding: 3rem;
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
      }

      .form-control {
        padding: 0.8rem 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
        background: #f8fafc;
      }

      .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(26, 29, 40, 0.1);
        background: white;
      }

      /* Footer */
      footer {
        background: var(--dark);
        color: white;
        padding: 3rem 0 1.5rem;
      }

      .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        margin: 0 0.5rem;
        transition: all 0.3s ease;
      }

      .social-links a:hover {
        background: var(--accent);
        transform: translateY(-5px);
      }

      /* Animations */
      .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease;
      }

      .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
      }

      /* Stats Section */
      .stats {
        background: var(--metal);
        color: white;
        padding: 4rem 0;
      }

      .stat-item {
        text-align: center;
        padding: 1.5rem;
      }

      .stat-number {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: white;
      }

      .stat-text {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.8);
      }

      /* Services Section */
      .service-card {
        background: white;
        border-radius: 4px;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        margin-bottom: 2rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
        height: 100%;
      }

      .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      }

      .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        color: var(--primary);
      }

      /* Responsive */
      @media (max-width: 768px) {
        .hero h1 {
          font-size: 2.5rem;
        }

        .profile-img {
          width: 250px;
          height: 250px;
        }

        .section-title {
          font-size: 2rem;
        }
      }

      /* Enhanced Chatbot Styles */
      #chatbot {
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 350px;
        height: 450px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        display: none;
        flex-direction: column;
        z-index: 1000;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.1);
      }

      .chatbot-header {
        background: var(--metal);
        color: white;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
      }

      .chatbot-title {
        font-weight: 600;
        font-size: 1.1rem;
      }

      .chatbot-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
      }

      #chatbox {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
        background: #f8fafc;
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .message {
        max-width: 80%;
        padding: 10px 15px;
        border-radius: 18px;
        line-height: 1.4;
        word-wrap: break-word;
      }

      .user-message {
        align-self: flex-end;
        background: var(--accent);
        color: white;
        border-bottom-right-radius: 5px;
      }

      .bot-message {
        align-self: flex-start;
        background: white;
        color: var(--dark);
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-bottom-left-radius: 5px;
      }

      .chatbot-input-container {
        display: flex;
        padding: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background: white;
      }

      #userInput {
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #e2e8f0;
        border-radius: 25px;
        outline: none;
        transition: all 0.3s ease;
      }

      #userInput:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(43, 108, 176, 0.1);
      }

      #sendBtn {
        background: var(--metal);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        margin-left: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
      }

      #sendBtn:hover {
        background: var(--accent);
        transform: scale(1.05);
      }

      #openChat {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: var(--metal);
        color: white;
        border: none;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      #openChat:hover {
        background: var(--accent);
        transform: scale(1.1);
      }

      .typing-indicator {
        display: inline-block;
        padding: 10px 15px;
        background: white;
        border-radius: 18px;
        border-bottom-left-radius: 5px;
        align-self: flex-start;
      }

      .typing-dots {
        display: flex;
        gap: 3px;
      }

      .typing-dot {
        width: 8px;
        height: 8px;
        background: var(--secondary);
        border-radius: 50%;
        animation: typing 1.4s infinite ease-in-out;
      }

      .typing-dot:nth-child(1) {
        animation-delay: -0.32s;
      }
      .typing-dot:nth-child(2) {
        animation-delay: -0.16s;
      }

      @keyframes typing {
        0%,
        80%,
        100% {
          transform: scale(0.8);
          opacity: 0.5;
        }
        40% {
          transform: scale(1);
          opacity: 1;
        }
      }