/*
  ============================================================
  Creative Flow Studio - Main Stylesheet (style.css)
  Web Engineering 1 - Ilma University, Karachi

  TABLE OF CONTENTS:
    1. Colour Variables
    2. Reset & Base Styles
    3. Navigation Bar
    4. Buttons
    5. Hero Section (Home Page)
    6. Page Banner (inner pages)
    7. Sections & Containers
    8. Cards Row
    9. CTA Banner
    10. Footer
    11. Services Page
    12. About Page (Team)
    13. Contact Form
    14. Responsive (Mobile)
  ============================================================
*/


/* ============================================================
   1. COLOUR VARIABLES
   We store our main colours here so we only have to
   change them in one place if we want a different theme.
   ============================================================ */
:root {
  --orange:      #FF6B35;   /* main brand colour */
  --orange-dark: #e05520;   /* darker orange for hover */
  --dark:        #1a1a2e;   /* dark navy for text and navbar */
  --white:       #ffffff;
  --light-grey:  #f5f5f5;   /* background for alternate sections */
  --mid-grey:    #666666;   /* for small / muted text */
  --border:      #dddddd;   /* light border colour */
  --text:        #333333;   /* main body text */
}


/* ============================================================
   2. RESET & BASE STYLES
   Remove default browser padding and margins, then set
   sensible defaults for the whole page.
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: var(--orange);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}


/* ============================================================
   3. NAVIGATION BAR
   A simple bar at the top of every page.
   Uses flexbox to put the logo on the left
   and the links on the right.
   ============================================================ */
.navbar {
  background: var(--dark);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 60px;
  position: relative;
}

/* Logo text styling */
.logo {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Desktop: menu sits to the right of the logo */
.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 1003;
  flex-shrink: 0;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Dim page when mobile menu is open */
.nav-backdrop {
  display: none;
}

/* Navigation links list */
.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  color: #cccccc;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

/* When hovering or on the current page, turn the link orange */
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--orange);
}

body.nav-open {
  overflow: hidden;
}

/* Mobile navigation: slide-out drawer + backdrop (768px and below) */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 4.25rem 0 1.5rem;
    background: var(--dark);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 107, 53, 0.12);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--orange);
    padding-left: calc(1.25rem - 3px);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}


/* ============================================================
   4. BUTTONS
   Two button styles: filled orange and outlined.
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

/* Filled orange button */
.btn-main {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-main:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

/* Outlined button */
.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

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

/* White button (used inside dark banners) */
.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}


/* ============================================================
   5. HERO SECTION (Home page only)
   The big banner at the top of the homepage.
   Orange/dark gradient background, centered text.
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* The coloured word inside the heading */
.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: 1.1rem;
  color: #bbbbbb;
  max-width: 550px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   6. PAGE BANNER (inner pages: Services, About, Contact)
   A smaller banner for pages other than home.
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 2rem;
}

.page-banner h1 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: #bbbbbb;
  font-size: 1rem;
}


/* ============================================================
   7. SECTIONS & CONTAINERS
   Generic section padding and a centred max-width container.
   ============================================================ */
.section {
  padding: 4rem 2rem;
}

/* Alternating grey background for visual variety */
.grey-bg {
  background: var(--light-grey);
}

/* Centred container with max width */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Section headings and sub-text */
.section-title {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.section-sub {
  text-align: center;
  color: var(--mid-grey);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* Space between title and content when there is no sub text */
.section-title + .cards-row,
.section-title + .team-row,
.section-title + .pricing-table,
.section-title + .about-text-box {
  margin-top: 2rem;
}


/* ============================================================
   8. CARDS ROW
   A row of equal-width cards using CSS flexbox.
   Cards wrap onto a new row on smaller screens.
   ============================================================ */
.cards-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* Individual card */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1 1 200px;       /* grow to fill space, minimum 200px wide */
  max-width: 260px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Card lifts up slightly when you hover */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--mid-grey);
}

/* On grey-background sections, make the cards white */
.grey-bg .card {
  background: var(--white);
}


/* ============================================================
   9. CTA BANNER
   An orange full-width banner with a call to action.
   ============================================================ */
.cta-banner {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 2rem;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}


/* ============================================================
   10. FOOTER
   Multi-column footer used on every page.
   ============================================================ */
.footer {
  background: var(--dark);
  color: #c8c8d3;
  padding: 2.8rem 2rem 1.2rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.footer-brand p,
.footer-col p {
  font-size: 0.9rem;
  color: #b7b7c7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: #c8c8d3;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  max-width: 1100px;
  margin: 1.8rem auto 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  color: #a7a7ba;
}


/* ============================================================
   11. SERVICES PAGE
   ============================================================ */

/* Services are shown in a responsive grid of feature cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #ffcbba;
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.service-left {
  margin-bottom: 0.8rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #fff0eb;
  color: var(--orange);
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-right h2 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

/* Small tag like "Brand Identity" or "Graphic Design" */
.service-tag {
  display: inline-block;
  background: #fff0eb;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.7rem;
}

.service-right p {
  color: var(--mid-grey);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Feature list inside service card */
.service-list {
  margin-top: 0.2rem;
  margin-bottom: 1.2rem;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.35rem 0;
  border-bottom: 1px solid #f3f3f3;
  padding-left: 1.2rem;
  position: relative;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* Price box */
.service-price {
  margin-top: auto;
  margin-bottom: 1.2rem;
  border-top: 1px solid #f2f2f2;
  padding-top: 0.8rem;
}

.price-label {
  display: block;
  font-size: 0.78rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.price-amount {
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--dark);
}

/* Pricing table: 3 columns */
.pricing-table {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
}

.pricing-col {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  flex: 1 1 250px;
  max-width: 320px;
  text-align: center;
  position: relative;
}

/* The featured / most popular column */
.pricing-col.featured {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(255,107,53,0.15);
}

/* "Most Popular" badge */
.badge {
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.pricing-col h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.pkg-desc {
  color: var(--mid-grey);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.pkg-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.pkg-list {
  text-align: left;
  margin-bottom: 1.5rem;
}

.pkg-list li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text);
}

/* Crossed-out unavailable features */
.pkg-list li.no {
  color: #bbbbbb;
  text-decoration: line-through;
}

.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--mid-grey);
}

.pricing-note a {
  color: var(--orange);
}


/* ============================================================
   12. ABOUT PAGE (Team section)
   ============================================================ */

/* About intro split layout */
.about-intro {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-intro-text {
  background: var(--white);
  border: 1px solid #ececf3;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.about-eyebrow {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.about-intro-text h2 {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.about-intro-text p {
  font-size: 0.98rem;
  color: #515166;
  margin-bottom: 0.95rem;
}

.about-intro-stats {
  display: grid;
  gap: 1rem;
}

.about-stat {
  background: linear-gradient(140deg, var(--dark) 0%, #24243e 100%);
  color: #f2f2f8;
  border-radius: 14px;
  padding: 1.4rem;
}

.about-stat h3 {
  color: var(--orange);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.about-stat p {
  color: #d5d5e3;
  font-size: 0.9rem;
}

/* Mission/vision/values cards */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.about-pillar-card {
  background: var(--white);
  border: 1px solid #ececf3;
  border-radius: 12px;
  padding: 1.35rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

.about-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff0eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.about-pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.about-pillar-card p {
  font-size: 0.9rem;
  color: #5f5f73;
}

/* Team row — same as cards-row but bigger cards */
.team-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid #ececf3;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  flex: 1 1 260px;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.1);
}

.about-team-row {
  margin-top: 1.2rem;
}

.team-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  margin-bottom: 1rem;
}

.team-head h3 {
  margin-bottom: 0.25rem;
}

/* Circular avatar with initials */
.team-avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

/* Student ID displayed as a coloured badge */
.team-id {
  display: inline-block;
  background: #fff0eb;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: bold;
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
  border: 1px solid #ffc5a8;
  margin-bottom: 0;
}

.team-role {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.55rem;
  text-align: left;
}

.team-desc {
  font-size: 0.88rem;
  color: var(--mid-grey);
  text-align: left;
}

/* University information box */
.uni-box {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 0.92rem;
}


/* ============================================================
   13. CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 620px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Each label + input pair */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

/* Required field asterisk */
.req { color: var(--orange); }

/* Input, select, and textarea share the same base styles */
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

/* Blue border highlight when user clicks on a field */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

/* Red border when JavaScript marks a field as invalid */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #e74c3c;
}

/* Error message text shown below invalid fields */
.error-msg {
  font-size: 0.82rem;
  color: #e74c3c;
  min-height: 1rem;
}

/* Green success box shown after successful form submission */
.success-box {
  max-width: 620px;
  margin: 1.5rem auto 0;
  background: #eafaf1;
  border: 1.5px solid #27ae60;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  text-align: center;
  color: #1a7340;
  font-size: 0.95rem;
}


/* ============================================================
   14. RESPONSIVE (MOBILE)
   On screens 700px or narrower (phones and small tablets),
   we stack things vertically instead of side by side.
   ============================================================ */
@media (max-width: 700px) {

  /* Smaller hero heading on phones */
  .hero h1 { font-size: 1.8rem; }

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

  /* Single column pricing table */
  .pricing-table { flex-direction: column; align-items: center; }
  .pricing-col   { max-width: 100%; }

  /* Single column team cards */
  .team-row { flex-direction: column; align-items: center; }
  .team-card { max-width: 100%; }
  .team-top { text-align: left; }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro-text {
    padding: 1.5rem;
  }

  .about-intro-text h2 {
    font-size: 1.55rem;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  /* Single column regular cards */
  .cards-row { flex-direction: column; align-items: center; }
  .card { max-width: 100%; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer {
    padding-top: 2.2rem;
  }
}

/* Tablet optimization */
@media (max-width: 992px) {
  .section {
    padding: 3.2rem 1.4rem;
  }

  .navbar {
    padding: 0 1rem;
  }

  .hero {
    padding: 4rem 1.3rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-card,
  .team-card,
  .pricing-col {
    max-width: 100%;
  }
}

/* Small mobile optimization */
@media (max-width: 540px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }

  .logo {
    font-size: 1.05rem;
  }

  .hero {
    padding: 2.6rem 1rem;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .hero p {
    font-size: 0.94rem;
  }

  .page-banner {
    padding: 2.4rem 1rem;
  }

  .page-banner h1 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-sub {
    margin-bottom: 1.4rem;
    font-size: 0.92rem;
  }

  .card,
  .service-card,
  .team-card,
  .pricing-col {
    padding: 1.1rem;
  }

  .service-card .btn,
  .pricing-col .btn {
    width: 100%;
    text-align: center;
  }

  .about-intro-text {
    padding: 1.2rem;
  }

  .about-intro-text h2 {
    font-size: 1.35rem;
  }

  .team-top {
    align-items: flex-start;
  }

  .team-avatar {
    width: 52px;
    height: 52px;
    font-size: 0.86rem;
  }

  .uni-box {
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
  }

  .cta-banner {
    padding: 2.4rem 1rem;
  }

  .cta-banner h2 {
    font-size: 1.45rem;
  }

  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-title {
    font-size: 1.05rem;
  }
}
