/* =========================================
   SECRETARIAL PAGE STYLES
   ========================================= */

/* --- Banner Image --- */
.secretarial-bg {
    background-image: url('secretarial-banner.jpg'); /* Ensure you have this image or change to generic */
    /* Fallback if image missing: reuse generic background color/pattern from payroll.css if needed */
}

/* ================= CORPORATE SERVICES SECTION ================= */
.corp-services {
  background: #ffffff;
  padding: 6rem 0;
}

.corp-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 3rem;
}

@media (min-width: 1024px) {
    .corp-layout {
        grid-template-columns: 1fr 2fr; /* Left Title, Right Grid */
    }
}

/* LEFT SIDE */
.corp-left {
  padding-right: 20px;
}

.corp-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a; /* Slate 900 */
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.corp-subtext {
  font-size: 1.1rem;
  color: #64748b; /* Slate 500 */
  line-height: 1.7;
}

/* RIGHT SIDE (4 emerald boxes) */
.corp-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
    .corp-right {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Emerald box */
.corp-card {
  background: #10b981; /* Emerald 500 */
  padding: 2rem;
  border-radius: 1rem;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.corp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(16,185,129,0.35);
  background: #059669; /* Darker Emerald on hover */
}

.corp-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.corp-card p {
  font-size: 1rem;
  opacity: 0.95;
  line-height: 1.5;
}


/* ================= ENTITY REGISTRATION SECTION ================= */
.entity-section {
    background-color: #ecfdf5; /* Light Emerald 50 */
    padding: 5rem 0;
    border-top: 1px solid #d1fae5;
    border-bottom: 1px solid #d1fae5;
}

.entity-layout {
    display: flex;
    flex-direction: column-reverse; /* Stack with title on top for mobile if needed, or side by side */
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 900px) {
    .entity-layout {
        flex-direction: row;
    }
}

/* Left side points */
.entity-left {
    flex: 1;
    width: 100%;
}

.entity-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entity-left li {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #334155;
    position: relative;
    padding-left: 2rem;
}

.entity-left li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Right side title */
.entity-right {
    flex: 1;
    text-align: center;
}

@media (min-width: 900px) {
    .entity-right {
        text-align: right;
    }
}

.entity-right h2 {
    font-family: 'Georgia', serif; 
    font-size: 2.5rem; 
    color: #064e3b; /* Deep Green */
    margin: 0;
    line-height: 1.3;
}


/* ================= COMPANY INCORPORATION SECTION ================= */
.incorp-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.incorp-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

@media (min-width: 900px) {
    .incorp-layout {
        flex-direction: row;
    }
}

.incorp-text { flex: 1; }

.incorp-text h2 {
    font-size: 2.5rem;
    font-family: 'Georgia', serif;
    color: #064e3b;
    margin-bottom: 1.5rem;
}

.incorp-text p {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
}

.incorp-image { flex: 1; width: 100%; }

.incorp-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}


/* ================= ROLE OF COMPANY SECRETARY ================= */
.role-section {
    background-color: #f8fafc; /* Slate 50 */
    padding: 6rem 0;
}

.role-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

@media (min-width: 900px) {
    .role-layout {
        flex-direction: row;
    }
}

.role-img {
    flex: 1;
    width: 100%;
}

.role-img img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.role-text {
    flex: 1;
}

.role-text h2 {
    font-size: 2.5rem;
    font-family: 'Georgia', serif;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.role-text p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.role-text ul {
    list-style: disc inside;
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.8;
    padding-left: 1rem;
}

.role-text ul li {
    margin-bottom: 0.5rem;
}