
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
}

:root{
  --black:#000;
  --white:#fff;
  --muted:#666;
  --accent:#f7941d;
  --bg:#fafafa;
  --max-width:1100px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color:var(--black);
  background:#ffffff;
  -webkit-font-smoothing:antialiased;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.container{max-width:var(--max-width);margin:0 auto;padding:0 20px}

/* BOOTSTRAP NAVBAR CUSTOMIZATION */
.navbar {
  padding: 14px 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--black) !important;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--accent) !important;
}

.nav-link {
  color: var(--muted) !important;
  font-weight: 500;
  transition: var(--transition);
  margin: 0 12px;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.nav-link.active {
  color: var(--accent) !important;
}

/* HERO - Enhanced */
.hero {
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  padding: 80px 0;
  text-align: center;
  min-height: 400px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  color: var(--accent);
  margin: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* BUTTONS - Enhanced */
.btn{
  background:var(--accent);
  color:var(--black);
  padding:14px 28px;
  text-decoration:none;
  border-radius:8px;
  font-weight:700;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: var(--transition);
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(247, 148, 29, 0.2);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(247, 148, 29, 0.3);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:active {
  transform: translateY(-1px);
}

.btn.ghost{
  background:transparent;
  color:var(--white);
  border:2px solid var(--white);
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn.small{
  min-height:36px;
  padding:8px 16px;
  font-size: 14px;
}

/* FORM CONTROLS - Enhanced */
input, textarea, select, button{
  font-size:16px;
}

input[type="file"]{font-size:14px}

input, textarea, select{
  padding:14px;
  border-radius:8px;
  border:1px solid #e0e0e0;
  transition: var(--transition);
  width: 100%;
  font-family: inherit;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
  background: #fafafa;
}

input::placeholder, textarea::placeholder {
  color: #999;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  cursor: pointer;
  border: none;
  font-weight: 600;
}

/* SECTIONS - Enhanced */
.section{
  padding:72px 20px;
  background:transparent;
  margin: 60px 0;
}

.section-intro {
  margin-bottom: 32px;
}

.section-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 8px;
  display: block;
}

.section h2{
  margin:0 0 20px;
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
}

.section > .container > p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.muted{color:var(--muted); font-weight: 500;}

.grid{display:grid;gap:24px}

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

.card{
  background:var(--white);
  padding:24px;
  border-radius:12px;
  box-shadow:0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--black);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Team card layout: fix media height and align text top edges */
.team .card{
  display:flex;
  flex-direction:column;
  padding:0; /* keep media flush with card corners */
  overflow:hidden;
}
.team .card .card-media{
  height:200px;
  width:100%;
  flex-shrink:0;
  overflow:hidden;
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1;
}
.team .card .card-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  padding:10px;
}
.team .card .card-media .media-fallback{
  font-size:48px;
  color:#fff;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.team .card .card-body{
  padding:15px;
  background:var(--white);
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
}
.team .card .card-body p{ color:var(--muted); font-size:14px; margin:0 }

/* blog excerpts should stand out slightly */
.blog-excerpt { font-weight: 600; }

.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
  margin-top:24px;
}

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

/* Fixed image sizes for blog and insights cards */
.blog-grid .card,
.blog-grid .col-lg-4 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-grid img,
.blog-grid video,
.blog-grid [style*="background"] {
  width: 240px !important;
  height: 240px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
}

.blog-grid .card-content,
.blog-grid .card-body {
  flex: 1;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:start;
  margin-top: 36px;
}

/* FOOTER - Enhanced */
.site-footer{
  background:#111;
  color:#fff;
  padding:40px 20px;
  margin-top:60px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:var(--max-width);
  margin:0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.footer-inner a:hover {
  text-decoration: underline;
  color: var(--white);
}

/* UTILITY CLASSES */
.hidden{display:none}

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 16px;
}

.mt-4 {
  margin-top: 24px;
}

.mb-4 {
  margin-bottom: 24px;
}

/* ANIMATIONS */
.card, .project-card, .event-card, .blog-card{
  transform:translateY(8px);
  opacity:0;
  animation:rise 0.6s ease forwards;
}

@keyframes rise {
  to{transform:none;opacity:1}
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero{
    padding: 48px 20px;
    min-height: 500px;
  }

  .hero-inner{
    flex-direction:column;
    text-align:center;
    gap: 24px;
  }

  .hero-text h1{
    font-size:36px;
  }

  .tagline {
    font-size: 16px;
  }

  .hero-logo{
    width:140px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .btn{
    font-size:15px;
    padding:12px 24px;
  }

  .section{
    padding: 48px 20px;
  }

  .section h2 {
    font-size: 28px;
  }

  .contact-grid{
    grid-template-columns:1fr;
    gap: 24px;
  }

  .nav-links{
    gap: 16px;
  }

  .footer-inner{
    flex-direction: column;
    text-align: center;
  }

  input, textarea, select {
    padding: 12px;
  }
}

@media(max-width:480px){
  .hero-text h1{
    font-size:28px;
  }

  .section h2 {
    font-size: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .services-grid{
    grid-template-columns: 1fr;
  }

  .projects-grid{
    grid-template-columns: 1fr;
  }

  .blog-grid{
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .card {
    padding: 16px;
  }
}

/* Professional Team Showcase */
.team-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.team-member-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  height: 380px;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(247, 148, 29, 0.25);
}

.team-member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-image {
  transform: scale(1.05);
}

.team-member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7), transparent);
  padding: 30px 20px 20px;
  color: white;
}

.team-member-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 5px 0;
}

.team-member-role {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin: 0 0 10px 0;
}

.team-member-bio {
  font-size: 13px;
  color: #ddd;
  margin: 0;
  line-height: 1.5;
}

/* Flaticon Icon Styling */
.flaticon {
  color: var(--accent);
  display: inline-block;
}

.card .flaticon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Voting admin and public styles */
.voting-banner, .contestant-card, .admin-wrap, .panel { transition: var(--transition); }
.admin-wrap h1 { margin: 0 0 12px 0; }
.contestant-grid .contestant-card { min-height: 220px; }

