

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.85;
    color: #334155;
    background: #f8fafc;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HERO ==================== */
.hero {
    padding: 90px 0 60px;           /* Reduced top padding */
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 6vw, 3.6rem);
    margin-bottom: 25px;
}

.hero-img {
    width: 100%;
    max-width: 280px !important;    
    height: auto !important;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    display: block;
    margin: 0 auto;
    object-fit: contain;             
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 80px 0;
}

.border-title {
    font-size: clamp(2.1rem, 5.5vw, 2.8rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.text-side p {
    font-size: clamp(1.1rem, 3.2vw, 1.2rem);
    line-height: 1.85;
}

.section-img {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    transition: transform 0.4s ease;
    margin: 0 auto;
}

.section-img:hover {
    transform: scale(1.05);
}

/* PENALTIES */
.penalties {
    background: white;
    padding: 60px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.penalty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.penalty-card {
    background: #f8fafc;
    padding: 28px;
    border-radius: 14px;
    text-align: center;
    border-top: 5px solid #ef4444;
    transition: all 0.3s ease;
}

.penalty-card:hover {
    transform: translateY(-10px);
    border-top-color: #10b981;
}

/* FINAL CTA */
.cta {
  background: linear-gradient(to right, #0c2d57, #1a4c8f);
  color: white;
  text-align: center;
  padding: 60px 20px; /* reduced height */
}

.cta-content {
  max-width: 750px; /* controls text width */
  margin: auto;
}

.cta p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Button upgrade */
.cta a {
  display: inline-block;
  padding: 12px 32px;
  background: #22c55e;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta a:hover {
  background: #16a34a;
}

/* ====================== PHONE VIEW FIXES ====================== */
@media (max-width: 576px) {
    .hero-img {
        max-width: 240px !important;
    }
    
    .hero {
        padding: 70px 0 50px;
    }
}
@media (max-width: 992px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-img {
        max-width: 260px !important;     /* ← This fixes the too-big image */
        margin: 0 auto;
    }

    .section {
        padding: 60px 0;
    }

    .section-img {
        max-width: 85% !important;
        margin: 0 auto;
    }

    /* Center everything on phone */
    .hero, .section, .penalties, .final-cta {
        text-align: center;
    }
    
    .text-side p, .check-list, .border-title {
        text-align: center;
    }
}