* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --secondary: #4f46e5;
  --accent: #8b5cf6;
  --success: #10b981;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--dark);
  background: var(--light);
  font-size: 14px;
}

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

.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.logo:hover {
  color: var(--secondary);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav a {
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

section {
  padding: 40px 0;
}

h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--dark);
  font-weight: 700;
}

h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--dark);
  font-weight: 600;
}

p {
  margin-bottom: 12px;
  color: var(--gray);
  line-height: 1.6;
}

.featured {
  background: var(--white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.featured-item {
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.featured-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.featured-item h3,
.featured-item p,
.featured-item .link {
  padding: 0 16px;
}

.featured-item h3 {
  padding-top: 16px;
}

.featured-item .link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding-bottom: 16px;
  margin-top: 8px;
}

.founders-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.founder-card,
.resource-item {
  background: var(--white);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.founder-card:hover,
.resource-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.founder-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}

.about {
  background: var(--light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.category-card:hover {
  border-color: var(--primary);
}

.stats {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.stats h2 {
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

.newsletter {
  background: var(--light);
  text-align: center;
}

.subscribe {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 48px 0;
}

.subscribe-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.subscribe-text h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.subscribe-text p {
  color: var(--white);
  opacity: 0.95;
  margin-bottom: 0;
}

.subscribe .btn {
  background: var(--white);
  color: var(--primary);
  white-space: nowrap;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.latest-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.date {
  display: inline-block;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 8px;
}

.link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.link:hover {
  text-decoration: underline;
}

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 32px 0 16px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-section p,
.footer-section a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--white);
  opacity: 0.95;
}

.internship-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.internship-card {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.internship-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.company {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 12px;
}

.description {
  margin-bottom: 12px;
}

.requirements {
  list-style: none;
  margin-bottom: 12px;
}

.requirements li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--gray);
}

.requirements li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.date-posted {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.benefit-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
}

.tips-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tip {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.category {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trending-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
}

.trending-item .number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  min-width: 40px;
}

.insights-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.insight-card {
  background: var(--white);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.contact-form-section {
  background: var(--white);
}

.form-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
}

.checkbox-label input[type='checkbox'] {
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--primary);
}

.contact-form button {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: var(--secondary);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.reason-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.thankyou-page,
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 20px;
}

.thankyou-content,
.error-content {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.thankyou-icon {
  width: 64px;
  height: 64px;
  background: var(--success);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.thankyou-content h1 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--dark);
}

.thankyou-content p {
  margin-bottom: 16px;
}

.thankyou-info {
  background: var(--light);
  padding: 16px;
  border-radius: 8px;
  margin: 24px 0;
}

.thankyou-info p {
  margin-bottom: 8px;
  font-size: 13px;
}

.thankyou-info p:last-child {
  margin-bottom: 0;
}

.thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.error-content h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-suggestions {
  background: var(--light);
  padding: 16px;
  border-radius: 8px;
  margin: 24px 0;
  text-align: left;
}

.error-suggestions p {
  font-weight: 600;
  margin-bottom: 8px;
}

.error-suggestions ul {
  list-style: none;
}

.error-suggestions li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--gray);
}

.error-suggestions li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.policy-content {
  background: var(--white);
}

.policy-text {
  max-width: 800px;
  margin: 0 auto;
}

.policy-text h2 {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.policy-text h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.policy-text h3 {
  margin-top: 20px;
}

.policy-text ul,
.policy-text ol {
  margin-left: 20px;
  margin-bottom: 12px;
}

.policy-text li {
  margin-bottom: 8px;
  color: var(--gray);
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 16px;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: none;
}

.privacy-popup.show {
  display: block;
}

.privacy-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.privacy-content h3 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
}

.privacy-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.privacy-content button {
  background: var(--white);
  color: var(--dark);
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.privacy-content button:hover {
  background: var(--light);
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background: var(--white);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
    z-index: 200;
    padding: 60px 20px 20px;
  }

  .nav.active {
    left: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .menu-toggle {
    display: flex;
    z-index: 201;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  .stat-number {
    font-size: 28px;
  }

  .featured-grid,
  .categories-grid,
  .stats-grid,
  .latest-grid,
  .benefits-grid,
  .news-grid,
  .contact-grid,
  .reasons-grid,
  .founders-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-content {
    flex-direction: column;
    text-align: center;
  }

  .subscribe .btn {
    width: 100%;
    max-width: 300px;
  }

  .thankyou-content,
  .error-content {
    padding: 24px;
  }

  .error-code {
    font-size: 56px;
  }

  .privacy-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-content button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .container {
    padding: 0 12px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  section {
    padding: 32px 0;
  }

  .btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  .featured-item img {
    height: 160px;
  }

  .thankyou-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .error-code {
    font-size: 48px;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  body {
    font-size: 12px;
  }

  .logo {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 14px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 15px;
  }

  .featured-item img {
    height: 140px;
  }
}
