/* Global Theme */
:root {
  --primary: #2e0854;
  --accent: #b22222;
  --light: #ffffff;
  --glass: rgba(255, 255, 255, 0.15);
  --shadow: rgba(0, 0, 0, 0.25);
  --radius: 18px;
  --transition: 0.35s ease;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #2e0854, #b22222);
  color: var(--light);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 5px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Companies Section */
.companies {
  text-align: center;
  padding: 20px 20px;
}

.companies h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

/* Grid Layout */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  padding: 0 20px;
  
}
/* Remove link decoration and color for entire company cards */
.company-grid a {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}

.company-grid a:hover,
.company-grid a:focus,
.company-grid a:active {
  text-decoration: none !important;
  color: inherit !important;
}


/* Company Card */
.company-card {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px var(--shadow);
  transition: var(--transition);
  text-align: center;
  
}

.company-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

/* Logo Frame */
.logo-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto 5px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 6px 15px var(--shadow);
  transition: var(--transition);
}

.company-card:hover .logo-frame {
  transform: rotate(6deg) scale(1.1);
}

.logo-frame img {
  width: 95%;
  height: auto;
}

/* Remove link decoration and color inside company cards */
.company-card a {
  text-decoration: none !important;
  color: inherit !important;
  font-weight: 600;
}

.company-card a:hover,
.company-card a:focus,
.company-card a:active {
  text-decoration: none !important;
  color: inherit !important;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px;
  opacity: 0.8;
  font-size: 0.9rem;
}
