* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    overflow-x: hidden;
    margin-top: 100px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: white;
    padding: 7px 40px;
    border-bottom: 2px solid #ccc;
}

.mobile-menu {
    display: none;
}

.menu-icon {
    display: none;
}

.nav-container {
    display: flex;
    align-items: center;
    font-family: 'Times New Roman';

}

.logo {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 50%;
}

.logo img {
    width: auto;
    height: 50px;
}

nav {
    margin-right: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: background 0.2s ease;
}

nav a:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
}

/* Dropdown styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    z-index: 999;
    flex-direction: column;
    border-radius: 10px;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a {
    padding: 2px 8px;
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
    color: black;
    font-weight: 400;
    border-radius: 10px;
    display: block;
    transition: background 0.2s ease;
    text-align: center;
}

.dropdown-menu li a:hover {
    background-color: #e0e0e0;
}


.dropdown-menu li a:hover {
    background-color: #e0e0e0;
}

/* Show dropdown on hover */
nav li:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

/* Hamburger base */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  margin-right: 20px;
}

/* Hide menu toggle checkbox */
#menu-toggle {
  display: none;
}

/* Main nav default on mobile */
.main-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  background: white;
  position: absolute;
  top: 70px;
  right: 0;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}

/* Show on toggle */
#menu-toggle:checked + .hamburger + .main-nav {
  display: flex;
}

/* Mobile dropdown styling */
.main-nav ul {
  flex-direction: column;
  gap: 0;
}

.main-nav li {
  border-bottom: 1px solid #ccc;
}

.main-nav .dropdown-menu {
  position: static;
  box-shadow: none;
  display: none;
  padding: 0;
  border: none;
  background-color: #f9f9f9;
}

.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}


.placement-section {
  text-align: center;
  padding: 0 20px 20px;
}

.placement-title {
  font-size: 40px;
  font-weight: 700;
  color: #002f6c;
  /* dark blue */
}

.underline {
  width: 90%;
  max-width: 740px;
  height: 4px;
  background-color: #f97316;
  /* orange underline */
  margin: 0 auto;
  border-radius: 2px;
}

.marquee {
  display: flex;
  animation: scroll 20s linear infinite;
  margin: 40px;
  gap: 40px;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}




        .internship-card {
            background-color: #ffffff;
            border-radius: 15px;
            padding: 15px;
            width: calc(25% - 30px); /* Four cards per row */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            text-align: left;
            display: flex;
            flex-direction: column;
            color: #333333;
            position: relative;
            overflow: hidden; /* To contain the top-right circle */
            width: 280px;
        }

        /* Card backgrounds based on image */
        .internship-card:nth-child(1) {
            background: linear-gradient(to bottom, #e0e0ff 0%, #ffffff 30%); /* Light purple top, white bottom */
        }
        .internship-card:nth-child(2) {
            background: linear-gradient(to bottom, #ffddee 0%, #ffffff 30%); /* Light pink top, white bottom */
        }
        .internship-card:nth-child(3) {
            background: linear-gradient(to bottom, #ffe8cc 0%, #ffffff 30%); /* Light orange top, white bottom */
        }
        .internship-card:nth-child(4) {
            background: linear-gradient(to bottom, #ccffee 0%, #ffffff 30%); /* Light green top, white bottom */
        }
        .internship-card:nth-child(5) {
            background: linear-gradient(to bottom, #d6f0ff 0%, #ffffff 40%); /* Light blue top, white bottom */
        }


        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .card-date {
            font-size: 0.9em;
            color: #666666;
            font-weight: 500;
        }

        .top-right-circle {
            width: 20px;
            height: 20px;
            background-color: #ffffff;
            border-radius: 50%;
            border: 1px solid #ddd;
        }

        .company-info {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .company-info h2 {
            font-size: 1.2em;
            font-weight: 700;
            margin-right: 10px;
            color: #0b1a3d;
        }

        .company-logo {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: contain;
            background-color: #f0f0f0; /* Placeholder background */
            padding: 5px;
        }

        .internship-tags {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .tag {
            background-color: #e0e0e0;
            color: #555555;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.85em;
            font-weight: 500;
        }

        .internship-details {
            font-size: 10px;
            color: #000000;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto; /* Pushes content to the bottom */
        }

        .salary {
            font-size: 1.1em;
            font-weight: 700;
            color: #0b1a3d;
        }

        .location {
            font-size: 0.85em;
            color: #777777;
            margin-top: 5px;
        }

        .details-button {
            background-color: #007bff;
            color: #ffffff;
            padding: 10px 20px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 0.9em;
            font-weight: 600;
            transition: background-color 0.3s ease;
        }

        .details-button:hover {
            background-color: #0056b3;
        }




/* Open Positions */
.open-positions {
    padding: 50px 15px;
    background: #f8f9fa;
    text-align: center;
    margin-top: -70px;
}
.open-positions h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #000000;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 60px;
}



/* CTA Section */
.cta {
    background: linear-gradient(to right, #062f64 0%, #2986cc 100%);
    color: white;
    text-align: center;
    padding: 20px 20px;
}
.cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
.cta p {
    margin-bottom: 20px;
    font-size: 19px;
}
.cta .apply-btn {
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
}


        .footer-section {
            background-color: #0d1e3d; /* Dark blue background */
            padding: 30px 20px;
            display: flex;
            justify-content: space-around;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 30px;
        }

        .footer-column {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            color: #b0c4de; /* Lighter blue for text */
        }

        .footer-column h3 {
            font-size: 1.2em;
            font-weight: 600;
            margin-bottom: 20px;
            color: #ffffff;
        }

        .footer-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-column ul li {
            margin-bottom: 10px;
            font-size: 0.95em;
        }

        .footer-column ul li a {
            color: #b0c4de;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-column ul li a:hover {
            color: #ffffff;
        }

        .footer-logo-section {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }

        .footer-logo {
            width: 340px; /* Adjust as per image */
            height: auto;
        }

        .timing-item {
            display: flex;
            flex-direction: column;
            margin-bottom: 10px;
            color: #b0c4de;
        }

        .timing-item span {
            font-size: 0.95em;
            padding: 3px;
        }

        .social-media {
            margin-top: 30px;
            text-align: center;
            width: 100%; /* Take full width of its container */
        }

        .social-media h3 {
            border-bottom: 1px solid #b0c4de;
            padding-bottom: 10px;
            margin-bottom: 20px;
            color: #ffffff;
            font-size: 1.2em;
            font-weight: 600;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .social-icon {
            width: 30px;
            height: 30px;
           
            transition: filter 0.3s ease;
        }

        .social-icon:hover {
            filter: invert(70%) sepia(30%) saturate(700%) hue-rotate(180deg) brightness(100%) contrast(100%); /* Example hover color */
        }

        .map-container {
            width: 300px; /* Fixed width based on image */
            height: 200px; /* Fixed height based on image */
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            margin-top: 20px; /* Added margin to align with title */
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 1.5rem;
  cursor: pointer;
}
.menu-icon,
.mobile-menu {
  display: none;
}



/* Mobile View */
@media (max-width: 1150px) {
  html, body,
  .banner-content,
  .left-content,
  .right-image,
  .right-image img {
    margin: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .banner {
    padding: 40px 10px 10px 10px;
    height: auto;
    min-height: 320px;
    width: 100%;
    overflow-x: hidden;
  }

  .banner-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100vw;
    margin: 0;
    padding: 0;
  }

  .left-content, .right-image {
    width: 100vw;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .right-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px auto;
    display: block;
    transform: none;
  }

  header {
    padding: 10px 20px;
    position: relative;
    background: white;
    z-index: 999;
    border-bottom: 2px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .nav-container {
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .hamburger {
    display: block;
    align-self: flex-end;
    margin-bottom: 10px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
  }

  .main-nav .dropdown-menu {
    display: none;
    background-color: #f9f9f9;
    padding: 10px 0;
  }

  .main-nav .dropdown-menu.open {
    display: block;
  }

  nav {
    display: none;
  }

  .menu-icon {
    display: inline-block;
    font-size: 26px;
    color: #333;
    cursor: pointer;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 9999;
    display: block;
  }

  .mobile-menu.open {
    right: 0;
  }

  .mobile-menu .close-btn {
    font-size: 24px;
    cursor: pointer;
    display: block;
    margin-bottom: 20px;
    text-align: right;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
  }

  .mobile-menu li {
    margin: 15px 0;
  }

  .mobile-menu a,
  .mobile-menu span {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
  }

  .mobile-submenu {
    display: none;
    padding-left: 15px;
  }

  .mobile-submenu li {
    margin: 10px 0;
  }

  .mobile-dropdown.open > .mobile-submenu {
    display: block;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo img {
    width: auto;
    height: 40px;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    margin-top: 10px;
    width: 100%;
  }

  .job-listings {
    padding: 24px 0 40px 0;
  }

  .job-listings h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .job-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 12px;
  }

  .job-filters input,
  .job-filters select {
    font-size: 15px;
    min-width: unset;
    width: 100%;
  }

  .jobs-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 8px;
  }

  .job-card {
    width: 100%;
    max-width: 340px;
    padding: 18px 12px;
    margin-bottom: 16px;
  }

  .job-card h3 {
    font-size: 18px;
  }

  .job-card p {
    font-size: 14px;
  }

  .apply-btn {
    padding: 8px 18px;
    font-size: 15px;
  }
}

/* Mobile horizontal scroll for job cards */
@media (max-width: 1150px) {
    .job-list {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        max-width: 100vw;           /* Prevent container from exceeding viewport */
        box-sizing: border-box;
    }

    .internship-card {
        flex: 0 0 85vw;             /* Card width relative to viewport */
        max-width: 85vw;
        min-width: 260px;
        scroll-snap-align: start;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .job-list::-webkit-scrollbar {
        display: none;
    }
}


