 :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #64748b;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #e2e8f0;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 auto;
        }

        /* Header & Navigation */
         header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: .80rem 0;
        }

         .logo {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .logo-link {
            display: flex;
            align-items: center;
            text-decoration: none; /* underline remove korbe */
        }
        
        .logo-img {
            width: 50px;
            height: 50px;
            margin-right: 10px;
            border-radius: 50%;
        }
        
        .logo-text {
            font-size: 25px;
            font-weight: bold;
            color: #0066cc; 
        }
        .logo-link:hover .logo-text {
            color: #004499; 
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh; /* Fills the height of the screen */
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center; /* Centers content vertically */
            align-items: center;     /* Centers content horizontally */
            text-align: center;
            padding: 8rem 0 4rem;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        }

        .hero-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
        }

        .hero-text {
            width: auto;
        }

        .hero-image {
            flex: 1;
            display: flex;  
            justify-content: center; 
            align-items: center;
        }

      .profile-img {
            width: 100%;            
            max-width: 380px;        
            height: auto; 
            border-radius: 5px;
            object-fit: contain;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .hero h2 {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
            font-weight: 500;
        }

        .hero p {
            font-size: 1.1rem;
            color: var(--secondary);
            margin-bottom: 2rem;
            max-width: 600px;
        }

        .btn {
            display: inline-block;
            padding: 0.8rem 1.8rem;
            background-color: var(--primary);
            color: white;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
        }

        /* Section Styling */
        section {
            padding: 5rem 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title h2 {
            font-size: 2.2rem;
            color: var(--dark);
            position: relative;
            display: inline-block;
            padding-bottom: 0.5rem;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 3px;
            background-color: var(--primary);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            color: var(--secondary);
        }

        .contact-info {
            margin-top: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 0.8rem;
        }

        .contact-item i {
            margin-right: 10px;
            color: var(--primary);
            width: 20px;
        }

        /* Education & Experience */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 3px;
            background-color: var(--gray);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -1.5px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

        .timeline-item:nth-child(odd) {
            left: 0;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
        }

        .timeline-content {
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .timeline-content h3 {
            margin-bottom: 0.5rem;
            color: var(--primary);
        }

        .timeline-content h4 {
            color: var(--secondary);
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .timeline-content p {
            color: var(--secondary);
            font-size: 0.9rem;
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: var(--primary);
            border-radius: 50%;
            top: 20px;
            z-index: 1;
        }

        .timeline-item:nth-child(odd)::after {
            right: -10px;
        }

        .timeline-item:nth-child(even)::after {
            left: -10px;
        }
        
       .point {
          position: relative;
          padding-left: 22px;  /* Bullet er jonno space */
          margin: 6px 0;
        }

        .point::before {
          content: "•";
          position: absolute;
          left: 0;
          top: 0;
          font-size: 18px;
          color: #4A77FF;
        }

        
        /* Skills Section */
      .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .skill-category {
            background-color: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid #e0e0e0; /* Added subtle border */
        }
        
        .skill-category h3 {
            margin-bottom: 1.5rem;
            color: var(--primary);
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--gray);
            font-size: 1.4rem; /* Slightly larger heading */
            font-weight: 600; /* Bolder heading */
        }
        
        .skill-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
            gap: 0.8rem; 
            text-align: center;
        }
        
        .skill-item {
            background-color: var(--gray);
            padding: 0.5rem 1rem;
            border-radius: 30px;
            font-size: 0.9rem;
            color: var(--dark);
            border: 1px solid #d0d0d0; /* Added border to skill items */
            transition: all 0.3s ease; /* Smooth hover effects */
            cursor: default;
        }
        
        .skill-item:hover {
            background-color: #e8e8e8; /* Hover effect */
            border-color: var(--primary); /* Change border color on hover */
            transform: translateY(-2px); /* Lift effect on hover */
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); /* Shadow on hover */
        }
        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .project-content {
            padding: 1.5rem;
        }

        .project-content h3 {
            margin-bottom: 0.8rem;
            color: var(--dark);
        }

        .project-content p {
            color: var(--secondary);
            margin-bottom: 1.2rem;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .project-tag {
            background-color: var(--gray);
            padding: 0.3rem 0.8rem;
            border-radius: 30px;
            font-size: 0.8rem;
            color: var(--dark);
        }

        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .contact-info-card {
            background-color: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .contact-info-card h3 {
            margin-bottom: 1.5rem;
            color: var(--primary);
        }

        .social-icons {
            display: flex;
            gap: 20px; /* Adjust this value to control spacing */
            padding: 20px;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            background: white;
            border-radius: 50%;
            color: #333;
            text-decoration: none;
            font-size: 24px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .social-icons a:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        /* Individual icon colors */
        .social-icons a.linkedin:hover { color: #0A66C2; }
        .social-icons a.github:hover { color: #000000; }
        .social-icons a.facebook:hover { color: #1877F2; }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 2rem 0;
            text-align: center;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
            }

            .about-content {
                grid-template-columns: 1fr;
            }

            .timeline::after {
                left: 31px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }

            .timeline-item:nth-child(even) {
                left: 0;
            }

            .timeline-item::after {
                left: 21px;
            }

            .timeline-item:nth-child(odd)::after,
            .timeline-item:nth-child(even)::after {
                left: 21px;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 1rem 0;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                flex-direction: column;
                background-color: white;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
                padding: 2rem 0;
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links li {
                margin: 1.5rem 0;
            }

            .hamburger {
                display: block;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero h2 {
                font-size: 1.3rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 576px) {
            .hero {
                padding: 6rem 0 3rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .profile-img {
                width: 200px;
                height: 200px;
            }

            section {
                padding: 3rem 0;
            }
        }
