/* Global Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    color: #fff;
}

header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 80px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    padding: 8px 12px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #00d4ff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1000;
    min-width: 180px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hero Section */
.internships-hero {
    background: url('/images/internships-hero.jpg') center/cover no-repeat;
    color: black;
    text-align: center;
    padding: 100px 20px;
}

.internships-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.internships-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.internships-hero p {
    font-size: 1.2rem;
}

/* Domains Section */
.domains-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
    justify-content: center;
}

.domain-block {
    width: 300px;
    padding: 20px;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.domain-block i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.domain-block h3 {
    margin-bottom: 10px;
}

.domain-block p {
    margin-bottom: 20px;
}

.domain-block .btn {
    text-decoration: none;
    color: white;
    background: #000;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.domain-block .btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.domain-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000428, #004e92); /* Gradient background */
    color: white;
    padding: 40px 20px 10px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 100px; /* Adjust logo size */
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 18px;
    font-weight: bold;
}

.footer-links {
    margin: 20px 0;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #00d4ff; /* Highlight color on hover */
}

.footer-social h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    margin-right: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    font-size: 14px;
}


@media screen and (max-width: 1024px) {
  .navbar {
    flex-wrap: wrap;
    padding: 10px;
  }

  .nav-links {
    gap: 15px;
  }

  .internships-hero {
    padding: 80px 20px;
  }

  .internships-hero h1 {
    font-size: 2.5rem;
  }

  .internships-hero p {
    font-size: 1.1rem;
  }

  .domain-block {
    width: 45%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links,
  .footer-social {
    margin: 10px 0;
  }
}

/* ✅ For Tablets and Large Phones (max-width: 768px) */
@media screen and (max-width: 768px) {
  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; /* hidden by default */
    margin-top: 10px;
  }

  .nav-links.show {
    display: flex; /* Add this class in JS for hamburger toggle */
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
  }

  /* Hero */
  .internships-hero {
    padding: 60px 15px;
    background-position: center;
  }

  .internships-hero h1 {
    font-size: 2rem;
  }

  .internships-hero p {
    font-size: 1rem;
  }

  /* Domains */
  .domains-section {
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
  }

  .domain-block {
    width: 90%;
    max-width: 350px;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo img {
    width: 80px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 18px;
  }

  .footer-links ul li a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

/* ✅ For Small Phones (max-width: 480px) */
@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .logo img {
    width: 60px;
  }

  .internships-hero {
    padding: 50px 10px;
  }

  .internships-hero h1 {
    font-size: 1.8rem;
  }

  .internships-hero p {
    font-size: 0.95rem;
  }

  .domain-block {
    width: 100%;
    padding: 15px;
  }

  .domain-block i {
    font-size: 2.5rem;
  }

  .domain-block h3 {
    font-size: 20px;
  }

  .domain-block p {
    font-size: 14px;
  }

  .domain-block .btn {
    font-size: 14px;
    padding: 8px 15px;
  }

  .footer {
    padding: 30px 10px;
  }

  .footer-logo img {
    width: 70px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}