:root {
    --primary: #2A5C82;
    --secondary: #d1e7e1;
    --dark: #1A2E40;
    --light: #F5F9FC;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

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


        /* Header Styles */
        .hero {
            background: 
                linear-gradient(rgba(188, 243, 243, 0.3), rgba(109, 96, 96, 0.3)),
                url('../resources/474.JPG');
            background-position: center;
            background-size: cover;
            height: 100vh;
            color: white;
            display: flex;
            align-items: center;
            padding: 0 8%;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            width: 100%;
            padding: 1.5rem 8%;
            background: rgba(26, 46, 64, 0.95);
            z-index: 1000;
            display: flex;
            opacity: 1 ;
            justify-content: space-between;
            align-items: center;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

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

        /* Sections */
        section {
            padding: 6rem 8%;
        }

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

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary);
            position: relative;
            display: inline-block;
        }

        /* Projects Grid */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .project-card:hover {
            transform: translateY(-10px);
        }

        .project-img {
            height: 200px;
            background: #ddd;
            overflow: hidden;
        }

        .project-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .project-card:hover img {
            transform: scale(1.1);
        }

        .project-info {
            padding: 1.5rem;
        }

        /* Skills */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .skill-item {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .skill-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        /* CV */
        .cv-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .cv-item {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .cv-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        /* experience */
        .experience-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
            /* gap: 2rem; */
            padding: 1rem;
        }

       .experience-item {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        min-height: 400px;
    }

    .company-title {
        width: 500px;
        text-align: center;
        margin-bottom: 2rem;
        /* Remove margin-left: 150px; */
    }

    .responsibility-list {
        width: 1000px;
        max-width: 100%;
        background: white;
        padding: 50px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

        .responsibility-list ul{
            list-style-type: disc;
        }
        .responsibility-list li{
            align-items: left;
            margin-bottom: 10px;
        }

        .responsibility-list li {
            margin-bottom: 10px;
            }
            .responsibility-list h2{
            margin-left: 100px;
            margin-bottom: 3%;
            }

        .experience-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
        .experience-list{
            margin-left: 30px;
        }
        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
        }

        .timeline-container {
            padding: 4rem 2rem;
            background: #f8f9fa;
        }

        .timeline {
            display: flex;
            overflow-x: auto;
            gap: 2rem;
            padding: 2rem 0;
            scroll-behavior: smooth;
        }

        .timeline-card {
            min-width: 300px;
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            position: relative;
        }

        .timeline-card:hover {
            transform: translateY(-10px);
        }

        .timeline-card::before {
            content: '';
            position: absolute;
            top: 50%;
            left: -1rem;
            width: 20px;
            height: 20px;
            background: #2c3e50;
            border-radius: 50%;
            transform: translateY(-50%);
        }

        .card-header {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #3498db;
        }

        .card-header h3 {
            color: #2c3e50;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .card-header .date {
            color: #7f8c8d;
            font-size: 0.9rem;
        }

        .card-content p {
            color: #34495e;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .highlight-card {
            background: #3498db;
            color: white;
        }

        .highlight-card .card-header {
            border-color: white;
        }

        .highlight-card h3,
        .highlight-card p {
            color: white;
        }

        /* Scrollbar Styling */
        .timeline::-webkit-scrollbar {
            height: 8px;
        }

        .timeline::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .timeline::-webkit-scrollbar-thumb {
            background: #3498db;
            border-radius: 4px;
        }

        @media (min-width: 1024px) {
            .timeline {
                justify-content: center;
                overflow-x: visible;
            }
            
            .timeline-card {
                flex: 1;
                min-width: auto;
            }
        }


        input, textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }

        .btn {
            display: inline-block;
            padding: 1rem 2rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .btn:hover {
            background: var(--secondary);
        }


        .btn:hover {
            background: var(--secondary);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .nav-links {
                display: none;
            }
    }
    #avik_name { 
        color: rgb(255, 255, 255);
    }
    /* Updated CSS with curved corners and pop-up animation */

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 10px 25px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  transition: transform 0.2s;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  border-radius: 12px; /* Curved corners */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* More depth */
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95); /* Initial position */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth animation */
  transform-origin: top center; /* Pop-up origin */
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
  border-radius: 8px; /* Rounded corners for items */
  margin: 4px;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1); /* Pop-up effect */
  box-shadow: 0 12px 30px rgba(0,0,0,0.2); /* Enhanced shadow on hover */
}

/* Hover effects */
.dropdown-content a:hover {
  background-color: #e8e8e8;
  transform: translateX(8px); /* Slight right movement */
}

/* Button hover effect */
.dropdown:hover .dropbtn {
  transform: translateY(-2px); /* Slight upward movement */
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    transform: none;
  }
  
  .dropdown:hover .dropdown-content {
    display: none;
  }
  
  .dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  
  .dropdown-content a:hover {
    transform: none;
  }
}
