/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: white;
  color: black;
  line-height: 1.8;
  padding: 30px 30px 10px 30px; /* Reduced bottom padding to remove blank space */
}

/* ===== HEADINGS ===== */
h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #222;
  text-align: center;
}

h2 {
  font-size: 32px;
  margin: 40px 0 15px;
  color: #444;
  text-align: center;
}

p {
  font-size: 16px;
  margin: 15px 0;
  color: #444;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  margin: 15px 0 30px;
  padding: 12px 22px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.8s ease;
}

.btn:hover {
  opacity: 0.7;
}

/* ===== SERVICES SECTION ===== */
.services {
  display: flex;
  gap: 35px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 50px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 250px;
  padding: 12px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.service-item img {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* ===== PARTNERS SECTION ===== */
.partners-grid {
  display: flex;
  gap: 35px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 50px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 250px;
  padding: 12px;
  background: white;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.partner-card img {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.partner-card:hover img {
  transform: scale(1.1);
}

.startimes-logo {
  margin-top: 35px;
  width: 150px;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.portfolio h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.portfolio p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-items: center;
}

.portfolio-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.portfolio-item img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

/* Mobile font size fix */
@media (max-width: 600px) {
    p {
        font-size: 18px;   /* bigger and easier to read */
        line-height: 1.8;  /* more spacing for readability */
    }
    
    h1 {
        font-size: 36px;   /* scale headings down for small screens */
    }

    h2 {
        font-size: 28px;
    }

    .btn, .back-home {
        padding: 14px 26px;  /* slightly bigger buttons on mobile */
        font-size: 16px;
    }
}


  body {
    padding: 20px 15px 10px 15px;
  }
  .back-home {
    margin: 15px auto 15px;
  }
}

/* ===== HERO ===== */
.hero {
  background-color: lightblue;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 45px;
}

/* ===== CONTACT ===== */
.contact-section {
  text-align: center;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: #0f172a;
  color: #ffffff;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

.nav-links a.active {
  color: #38bdf8;
  border-bottom: 2px solid #38bdf8;
  padding-bottom: 4px;
}

/* ===== PRICING PAGE ===== */
.pricing-header {
  background-color: #f0f4ff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 30px;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0;
}

.pricing-card {
  flex: 1 1 260px;
  background: white;
  border-radius: 14px;
  padding: 26px 22px;
  border: 1px solid #e6e9f0;
  transition: all 0.25s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: #c7d2ff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: #111;
}

.pricing-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}

.pricing-card strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  color: #000;
}

/* Accent bar */
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #5b7cfa, #9aaeff);
  border-radius: 14px 14px 0 0;
  opacity: 0.9;
}

/* Center all headings and paragraphs on pricing page */
h1, h2, p {
  text-align: center;
}

/* ===== BACK HOME BUTTON ===== */
.back-home {
  display: inline-block;
  margin: 20px auto 20px;
  padding: 12px 22px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.back-home:hover {
  background: #333;
  transform: translateY(-2px);
}














