"use client";

import { ReactNode } from "react";

import {
  FaBoxOpen,
  FaCheckCircle,
  FaUtensils,
  FaCalendarCheck,
  FaUniversity,
  FaFileContract,
  FaMoneyBillWave,
  FaCalendarAlt,
  FaSignInAlt,
  FaSignOutAlt,
  FaClock,
  FaShieldAlt,
  FaUsers,
  FaExclamationTriangle,
  FaTools,
  FaSwimmingPool,
  FaFire,
  FaWineGlassAlt,
  FaConciergeBell,
  FaIdCard,
  FaCamera,
  FaPaw,
  FaVideo,
  FaLock,
  FaGavel,
  FaBalanceScale,
  FaPlusCircle,
  FaClipboardList,
  FaBed,
  FaBolt,
  FaVolumeUp,
  FaBan,
  FaMapMarkerAlt,
  FaCogs,
  FaClipboardCheck,
  FaUserShield,
  FaHome,
  FaDoorOpen,
} from "react-icons/fa";

type Section = {
  title: string;
  points: {
    icon?: React.ReactNode;
    text: React.ReactNode;
    children?: ReactNode[];
  }[];
  subSections?: {
    title?: string;
    points: {
      text: ReactNode;
      children?: ReactNode[];
    }[];
  }[];
};

const sections: Section[] = [
  {
    title: "Booking & Confirmation",
    points: [
      {
        icon: <FaCalendarCheck />,
        text: (
          <>All bookings are subject to availability and are confirmed on a <strong>first-come, first-served basis.</strong></>
        ),
      },
      {
        icon: <FaBan />,
        text: (
          <>An enquiry, site visit, verbal discussion, telephone conversation, WhatsApp communication or tentative proposal does <strong>not block or reserve a date.</strong></>
        ),
      },
      {
        icon: <FaCheckCircle />,
        text: "A booking is considered confirmed only after:",
        children: [
          "Receipt of the applicable booking advance/payment",
          "Acceptance of the final quotation",
          "Completion of the required booking formalities",
          "Acceptance of TGHR's applicable Terms & Conditions",
        ],
      },
      {
        icon: <FaFileContract />,
        text: "Any booking-specific commitment must be recorded in writing in the final quotation, booking confirmation or approved written communication issued by TGHR.",
      },
      {
        icon: <FaIdCard />,
        text: "TGHR's current booking agreement similarly states that dates are not blocked without advance payment and that bookings become valid only after payment and signed acceptance.",
      },
    ],
  },

  {
    title: "Venue + Stay Package Policy",
    points: [
      {
        icon: <FaBoxOpen />,
        text: (
          <>TGHR operates structured <strong>Venue + Stay packages</strong> for weddings and other applicable multi-day events.</>
        ),
      },
      {
        icon: <FaClipboardList />,
        text: "A confirmed package may include selected:",
        children: [
          "Event spaces",
          "Accommodation inventory",
          "Package duration",
          "Approved room allocation",
          "Venue infrastructure",
          "Other inclusions expressly mentioned in the confirmed quotation",
        ],
      },
      {
        icon: <FaLock />,
        text: (
          <>Once a package is confirmed, the included venues, accommodation, duration and other confirmed components <strong>cannot be reduced, split, partially cancelled or downgraded.</strong></>
        ),
      },
      {
        icon: <FaPlusCircle />,
        text: "Upgrades or additions may be considered subject to:",
        children: [
          "Availability",
          "Operational feasibility",
          "Additional charges",
          "Written approval from TGHR",
        ],
      },
      {
        icon: <FaFileContract />,
        text: "Only the services specifically mentioned in the final quotation are considered included.",
      },
      {
        icon: <FaCheckCircle />,
        text: "The underlying TGHR undertaking describes the package as locked after booking and prohibits reductions, splitting and downgrades while allowing upgrades subject to availability and management approval.",
      },
    ],
  },

  {
    title: "Pricing, Taxes & Commercial Terms",
    points: [
      {
        icon: <FaFileContract />,
        text: (
          <>All commercial terms, applicable taxes, booking advances, payment schedules and additional charges will be stated in the <strong>final quotation issued for the booking.</strong></>
        ),
      },
      {
        icon: <FaMoneyBillWave />,
        text: "Applicable GST and other statutory taxes will be charged according to:",
        children: [
          "The nature of the confirmed service/package",
          "The tax treatment mentioned in the quotation",
          "Applicable government regulations at the time of billing",
        ],
      },
      {
        icon: <FaUniversity />,
        text: (
          <>Where a package is specifically quoted under a tax structure where <strong>Input Tax Credit is not applicable,</strong> the quotation will state this accordingly.</>
        ),
      },
      {
        icon: <FaGavel />,
        text: "Any change in statutory taxes or government levies applicable to the booking will be payable as required by law.",
      },
      {
        icon: <FaClipboardCheck />,
        text: "The booking-specific quotation is the final commercial reference.",
      },
      {
        icon: <FaBalanceScale />,
        text: "The source undertaking itself distinguishes GST treatment depending on the package/quotation structure.",
      },
    ],
  },

  {
    title: "Payment Terms",
    points: [
      {
        icon: <FaFileContract />,
        text: "The applicable payment schedule will be clearly mentioned in the client's confirmed quotation.",
      },
      {
        icon: <FaMoneyBillWave />,
        text: "Unless otherwise stated in writing:",
        children: [
          "Required booking payment must be received to confirm the booking.",
          "Interim payments must be completed according to the confirmed schedule.",
          "The complete balance must be cleared within the prescribed timeline before the event.",
          "Additional services or approved additions must be paid before execution.",
          "Full payment must be completed before final event execution, guest allocation or use of the booked services, as applicable.",
        ],
      },
      {
        icon: <FaExclamationTriangle />,
        text: "Delay or non-payment may result in cancellation or release of the booking according to TGHR policy.",
      },
      {
        icon: <FaBan />,
        text: (
          <>Payments once made are <strong>non-refundable and non-transferable,</strong> except where TGHR expressly confirms otherwise in writing.</>
        ),
      },
      {
        icon: <FaCalendarCheck />,
        text: "The attached undertaking requires payment according to the agreed schedule and provides for cancellation/release where payment timelines are not met.",
      },
    ],
  },

  {
    title: "Cancellation & Date Change",
    points: [
      {
        icon: <FaFileContract />,
        text: "All cancellations are subject to the booking-specific terms confirmed in the quotation.",
      },
      {
        icon: <FaBan />,
        text: (
          <>
          Unless expressly stated otherwise in writing:
          <br/>
          <strong>Booking advances and payments are non-refundable and non-transferable.</strong>
          </>
        ),
      },
      {
        icon: <FaCalendarAlt />,
        text: "A request for a change of event date:",
        children: [
          "Must be made in writing",
          "Is subject to availability",
          "Is subject to TGHR management approval",
          "May be subject to revised rates, terms or other conditions applicable to the new date",
        ],
      },
      {
        icon: <FaExclamationTriangle />,
        text: "Approval of a date change should not be assumed until confirmed in writing by TGHR.",
      },
      {
        icon: <FaBalanceScale />,
        text: "Force-majeure situations and government restrictions will be dealt with according to the applicable booking terms, availability and management decision.",
      },
      {
        icon: <FaCalendarCheck />,
        text: "The current undertaking provides for written rescheduling requests subject to availability and states that cancellations are non-refundable.",
      },
    ],
  },

  {
    title: "Check-In, Check-Out & Event Timings",
    points: [
      {
        icon: <FaSignInAlt />,
        text: (
          <>Check-in, check-out and event-space access will be strictly according to the <strong>confirmed quotation or selected package duration.</strong></>
        ),
      },
      {
        icon: <FaClock />,
        text: "For TGHR Venue + Stay packages, the applicable timing will be stated clearly in the final quotation.",
      },
      {
        icon: <FaHome />,
        text: "Standalone room reservations and standalone venue reservations may have different timings.",
      },
      {
        icon: <FaDoorOpen />,
        text: "Early check-in, late check-out or extended event-space usage:",
        children: [
          "Is not automatically included",
          "Is subject to availability",
          "Requires TGHR approval",
          "May attract additional charges",
        ],
      },
      {
        icon: <FaSignOutAlt />,
        text: "Guests, luggage, vendors and event material must be cleared from the confirmed rooms/event areas within the applicable checkout and event-space timings.",
      },
      {
        icon: <FaClock />,
        text: "The source agreement distinguishes package, room-booking and standalone-venue timings and makes extensions subject to availability and additional charges.",
      },
    ],
  },

  {
    title: "Catering Policy",
    points: [
      {
        icon: <FaUtensils />,
        text: (
          <>Wedding and event catering must be arranged through <strong>TGHR-approved / empanelled catering partners,</strong> unless TGHR management specifically provides written approval otherwise.</>
        ),
      },
      {
        icon: <FaBan />,
        text: "External caterers are not permitted without such approval.",
      },
      {
        icon: <FaClipboardList />,
        text: "Catering requirements should be finalised according to:",
        children: [
          "Guest count",
          "Event flow",
          "Meal timings",
          "Final menu",
          "Operational requirements",
        ],
      },
      {
        icon: <FaCalendarCheck />,
        text: "The final catering/menu plan must be submitted within TGHR's prescribed event-confirmation timeline.",
      },
      {
        icon: <FaConciergeBell />,
        text: (
          <>Catering is a <strong>separate service unless specifically included in the confirmed quotation.</strong></>
        ),
      },
      {
        icon: <FaFileContract />,
        text: "TGHR's agreement requires catering through empanelled vendors and requires final catering/event details before the event.",
      },
    ],
  },

  {
    title: "Decor & Production Policy",
    points: [
      {
        icon: <FaBoxOpen />,
        text: (
          <>Decor must be undertaken through <strong>TGHR-approved / empanelled decor partners,</strong> unless specifically approved otherwise in writing by TGHR management.</>
        ),
      },
      {
        icon: <FaCheckCircle />,
        text: "The final decor and production plan must be approved in advance.",
      },
      {
        icon: <FaClipboardList />,
        text: "All vendors must follow TGHR requirements relating to:",
        children: [
          "Setup and dismantling timings",
          "Venue access",
          "Safety",
          "Hygiene",
          "Electrical load",
          "Fire safety",
          "Property protection",
          "Vendor movement",
          "Production infrastructure",
        ],
      },
      {
        icon: <FaExclamationTriangle />,
        text: "TGHR reserves the right to stop or restrict any setup that is unsafe, unauthorised or inconsistent with the approved event plan.",
      },
    ],
  },

  {
    title: "Electricity, Genset & External Event Load",
    points: [
      {
        icon: <FaBolt />,
        text: (
          <>TGHR provides normal electricity and resort power backup for <strong>resort and venue infrastructure.</strong></>
        ),
      },
      {
        icon: <FaShieldAlt />,
        text: "This should not be considered power backup for professional event production.",
      },
      {
        icon: <FaTools />,
        text: (
          <>A <strong>separate genset / appropriate power source is compulsory,</strong> as applicable, for:</>
        ),
        children: [
          "Decor",
          "Professional sound",
          "DJ setup",
          "Event lighting",
          "LED screens",
          "Production equipment",
          "Trussing",
          "Special effects",
          "Other external electrical loads",
        ],
      },
      {
        icon: <FaBan />,
        text: "External production equipment must not draw power from TGHR infrastructure unless specifically authorised.",
      },
      {
        icon: <FaBolt />,
        text: "The underlying agreement expressly separates resort backup from decor/external setup electricity.",
      },
    ],
  },

  {
    title: "Sound & Music",
    points: [
      {
        icon: <FaVolumeUp />,
        text: (
          <>Music and amplified sound are permitted only within <strong>applicable government regulations and TGHR operating policies.</strong></>
        ),
      },
      {
        icon: <FaClock />,
        text: (
          <>
            The current permissible music timing at TGHR is: <strong>Up to 11:00 PM</strong> unless an earlier statutory restriction applies.
          </>
        ),
      },
      {
        icon: <FaBan />,
        text: "Sound must stop when the permissible limit is reached. Extensions cannot be assumed or guaranteed.",
      },
      {
        icon: <FaFileContract />,
        text: "The source agreement currently specifies sound only until 11:00 PM under government regulations.",
      },
    ],
  },

  {
    title: "Venue Access & Allocation",
    points: [
      {
        icon: <FaMapMarkerAlt />,
        text: (
          <>Clients and their guests/vendors may use <strong>only the rooms and event spaces specifically included in the confirmed booking.</strong></>
        ),
      },
      {
        icon: <FaHome />,
        text: "Any unbooked:",
        children: [
          "Lawn",
          "Banquet",
          "Poolside",
          "Accommodation block",
          "Event area",
          "Support space",
        ],
      },
      {
        icon: <FaLock />,
        text: "remains under TGHR's control.",
      },
      {
        icon: <FaBan />,
        text: "Unbooked areas cannot be used for:",
        children: [
          "Decor",
          "Guest seating",
          "Catering",
          "Food service",
          "Stage setup",
          "Photography setup",
          "Vendor storage",
          "Production equipment",
          "Backstage use",
          "Any other event-related activity",
        ],
      },
      {
        icon: <FaUniversity />,
        text: (
          <>Unless the confirmed quotation specifically states that the entire resort has been booked exclusively, a booking should <strong>not be treated as a full-resort buyout.</strong></>
        ),
      },
      {
        icon: <FaCalendarCheck />,
        text: "TGHR may allocate unbooked areas to other guests or events.",
      },
      {
        icon: <FaMapMarkerAlt />,
        text: "This reflects the venue-rights provisions and booking-specific access clauses in the source agreement.",
      },
    ],
  },

  {
    title: "Final Event Details",
    points: [
      {
        icon: <FaClipboardCheck />,
        text: (
          <>The following must be submitted within the timeline specified by TGHR, generally <strong>at least five days before the event,</strong> unless a different deadline is confirmed:</>
        ),
        children: [
          "Final guest count",
          "Final rooming list",
          "Event flow",
          "Venue allocation",
          "Food/menu plan",
          "Decor plan",
          "Production requirements",
          "Vendor details",
          "Special operational requirements",
        ],
      },
      {
        icon: <FaExclamationTriangle />,
        text: "Once finalised and approved, changes remain subject to feasibility, availability and additional costs where applicable.",
      },
      {
        icon: <FaCalendarCheck />,
        text: "The source undertaking requires the final event plan and related details at least five days before the event.",
      },
    ],
  },

  {
    title: "Room & Accommodation Policy",
    points: [
      {
        icon: <FaBed />,
        text: "Accommodation access is limited to the rooms and stay inventory included in the confirmed booking.",
      },
      {
        icon: <FaClipboardList />,
        text: "Final room allocation must be provided through the approved rooming list.",
      },
      {
        icon: <FaPlusCircle />,
        text: "Additional accommodation:",
        children: [
          "Is subject to availability",
          "Must be approved separately",
          "Will be charged separately",
        ],
      },
      {
        icon: <FaHome />,
        text: "Rooms or accommodation inventory not included in a particular booking remain available for TGHR to allocate or sell independently.",
      },
      {
        icon: <FaConciergeBell />,
        text: (
          <strong>
            Room Service:
          </strong>
        ),
        children: [
          "TGHR does not operate a standard room-service system unless specifically confirmed otherwise for a particular booking.",
        ],
      },
      {
        icon: <FaFileContract />,
        text: "The attached terms state that TGHR does not operate room service and that restaurant access is limited according to the booking type.",
      },
    ],
  },

  {
    title: "Safety, Conduct & Guest Responsibility",
    points: [
      {
        icon: <FaUsers />,
        text: "The booking party is responsible for the conduct of:",
        children: [
          "Guests",
          "Family members",
          "Employees",
          "Vendors",
          "Contractors",
          "Representatives",
        ],
      },
      {
        icon: <FaUserShield />,
        text: "Guests are responsible for safeguarding their personal belongings.",
      },
      {
        icon: <FaShieldAlt />,
        text: "TGHR is not responsible for loss, theft or damage to personal belongings except where liability cannot legally be excluded.",
      },
      {
        icon: <FaExclamationTriangle />,
        text: "TGHR reserves the right to intervene where conduct creates:",
        children: [
          "A safety risk",
          "Property damage",
          "Disturbance",
          "Illegal activity",
          "Violation of TGHR policies",
          "Violation of applicable law",
        ],
      },
      {
        icon: <FaUsers />,
        text: "The source agreement places responsibility for guest/vendor conduct and personal belongings on the booking party/guests.",
      },
    ],
  },

  {
    title: "Damage, Loss & Missing Inventory",
    points: [
      {
        icon: <FaTools />,
        text: "The client will be responsible for damage, loss or missing inventory caused by the client, guests, vendors, contractors or representatives during the booking.",
      },
      {
        icon: <FaClipboardList />,
        text: "This can include damage or loss involving:",
        children: [
          "Guest rooms",
          "Furniture",
          "Fixtures",
          "Linen",
          "Equipment",
          "Lawns",
          "Banquets",
          "Pool areas",
          "Doors/windows",
          "Walls",
          "Electrical fittings",
          "Event infrastructure",
          "Other TGHR property",
        ],
      },
      {
        icon: <FaMoneyBillWave />,
        text: "Applicable repair or replacement charges will be assessed by TGHR and must be settled according to the applicable booking terms.",
      },
      {
        icon: <FaFileContract />,
        text: "The source agreement contains a detailed damage and missing-inventory schedule and states that unlisted damage may be assessed at actual cost.",
      },
    ],
  },

  {
    title: "Swimming Pool Policy",
    points: [
      {
        icon: <FaSwimmingPool />,
        text: "Pool use is subject to TGHR safety and operational guidelines.",
      },
      {
        icon: <FaShieldAlt />,
        text: "Guests must follow instructions issued by the resort team.",
      },
      {
        icon: <FaBan />,
        text: "To protect water quality and guest safety, entry into the swimming pool after functions involving substances such as:",
        children: [
          "Haldi",
          "Gulal",
          "Mehendi",
          "Colours",
          "Chemicals",
          "Similar materials",
        ],
      },
      {
        icon: <FaExclamationTriangle />,
        text: "may be restricted.",
      },
      {
        icon: <FaTools />,
        text: "Any contamination or damage caused by non-compliant usage may attract cleaning or repair charges.",
      },
      {
        icon: <FaSwimmingPool />,
        text: "The existing TGHR agreement specifically restricts pool entry after Haldi or with contaminating substances.",
      },
    ],
  },

  {
    title: "Fire, Pyrotechnics & Special Effects",
    points: [
      {
        icon: <FaFire />,
        text: "Open flames, pyrotechnics, smoke effects or other fire-related effects are not permitted indoors.",
      },
      {
        icon: <FaFire />,
        text: "Any outdoor use:",
        children: [
          "Requires prior TGHR approval",
          "Must comply with applicable laws",
          "Must follow safety requirements",
          "May require statutory permissions",
        ],
      },
      {
        icon: <FaExclamationTriangle />,
        text: "TGHR may prohibit any special effect that creates an unacceptable operational or safety risk.",
      },
      {
        icon: <FaFileContract />,
        text: "The source terms prohibit indoor open fire/pyrotechnics and require approval and compliance for outdoor use.",
      },
    ],
  },

  {
    title: "Liquor & Statutory Permissions",
    points: [
      {
        icon: <FaWineGlassAlt />,
        text: "TGHR does not itself provide or guarantee statutory liquor permissions.",
      },
      {
        icon: <FaFileContract />,
        text: "Where alcohol is planned, the client is responsible for obtaining all applicable permissions, licences and approvals and submitting the required documents before the event.",
      },
      {
        icon: <FaClipboardList />,
        text: "The client is also responsible for obtaining any other statutory permissions required for the confirmed programme, including those relating to:",
        children: [
          "Police",
          "Excise",
          "Sound",
          "Entertainment",
          "Drone operations",
          "Special production",
          "Other regulated activities",
        ],
      },
      {
        icon: <FaGavel />,
        text: "TGHR may stop any activity that does not comply with applicable law.",
      },
      {
        icon: <FaBalanceScale />,
        text: "The source agreement places responsibility for liquor and statutory permissions on the client.",
      },
    ],
  },

  {
    title: "Photography, Videography & Drones",
    points: [
      {
        icon: <FaCamera />,
        text: "Photography and videography associated with a booked event must comply with TGHR venue-access and operational policies.",
      },
      {
        icon: <FaVideo />,
        text: "Drone activity:",
        children: [
          "Requires prior discussion with TGHR",
          "Remains subject to applicable laws and permissions",
          "Must not interfere with guest safety, privacy or resort operations",
        ],
      },
      {
        icon: <FaCamera />,
        text: "TGHR may use photographs or video from events for legitimate promotional purposes only in accordance with the applicable booking consent/permissions.",
      },
      {
        icon: <FaLock />,
        text: "Clients should notify TGHR in writing where specific media/privacy restrictions apply.",
      },
      {
        icon: <FaVideo />,
        text: "The current undertaking addresses promotional photography and makes drone compliance the client's responsibility.",
      },
    ],
  },

  {
    title: "Pet Policy",
    points: [
      {
        icon: <FaPaw />,
        text: (
          <>Pets are permitted only in <strong>designated outdoor areas,</strong> subject to TGHR operating policies.</>
        ),
      },
      {
        icon: <FaBan />,
        text: "Pets are not permitted inside:",
        children: [
          "Guest rooms",
          "Banquet spaces",
          "Other restricted indoor areas",
        ],
      },
      {
        icon: <FaFileContract />,
        text: "unless TGHR expressly confirms an exception in writing.",
      },
      {
        icon: <FaPaw />,
        text: "TGHR's current agreement contains this outdoor-only pet rule.",
      },
    ],
  },

  {
    title: "Security & CCTV",
    points: [
      {
        icon: <FaShieldAlt />,
        text: "TGHR premises may be monitored through CCTV for:",
        children: [
          "Security",
          "Safety",
          "Incident review",
          "Operational monitoring",
          "Lawful investigative requirements",
        ],
      },
      {
        icon: <FaLock />,
        text: "Footage may be accessed or retained where reasonably required for these purposes and handled in accordance with applicable law.",
      },
      {
        icon: <FaCamera />,
        text: "The source undertaking confirms CCTV surveillance and security/legal use of footage where required.",
      },
    ],
  },

  {
    title: "Force Majeure",
    points: [
      {
        icon: <FaExclamationTriangle />,
        text: "TGHR will not be responsible for delay, cancellation or inability to perform obligations caused by circumstances reasonably beyond its control, including applicable government restrictions or other force-majeure events.",
      },
      {
        icon: <FaCalendarAlt />,
        text: "Where appropriate, rescheduling or alternative arrangements may be considered subject to:",
        children: [
          "Availability",
          "Operational feasibility",
          "Applicable booking terms",
          "Management approval",
        ],
      },
      {
        icon: <FaBalanceScale />,
        text: "The agreement contains the same general force-majeure principle.",
      },
    ],
  },

  {
    title: "Changes to Services or Requirements",
    points: [
      {
        icon: <FaPlusCircle />,
        text: "Any additional:",
        children: [
          "Rooms",
          "Venues",
          "Event hours",
          "Setup time",
          "Services",
          "Equipment",
          "Production",
          "Catering",
          "Decor",
          "Event requirements",
        ],
      },
      {
        icon: <FaCogs />,
        text: "requested after booking confirmation remain subject to:",
        children: [
          "Availability",
          "Feasibility",
          "TGHR approval",
          "Additional charges where applicable",
        ],
      },
    ],
  },

  {
    title: "Booking-Specific Terms Prevail",
    points: [
      {
        icon: <FaFileContract />,
        text: "Every event is different.",
      },
      {
        icon: <FaCheckCircle />,
        text: "Where the final quotation, signed undertaking or booking confirmation contains a booking-specific condition, that condition will apply to the relevant booking.",
      },
      {
        icon: <FaClipboardList />,
        text: "The following should always be read together:",
        children: [
          "Final Quotation",
          "Confirmed Package / Booking Details",
          "Applicable Terms & Conditions",
          "Approved Event Flow",
          "Rooming List",
          "Confirmed Venue Allocation",
          "Approved Menu / Catering Plan",
          "Approved Decor / Production Plan",
        ],
      },
    ],
  },

  {
    title: "Governing Law & Jurisdiction",
    points: [
      {
        icon: <FaBalanceScale />,
        text: "These Terms & Conditions and all bookings with The Grand Heritage Resorts are governed by applicable laws in India.",
      },
      {
        icon: <FaGavel />,
        text: (
          <>Any disputes arising from the booking or services provided by TGHR will be subject to the <strong>jurisdiction of the competent courts in Pune, Maharashtra,</strong> subject to applicable law.</>
        ),
      },
      {
        icon: <FaMapMarkerAlt />,
        text: "The underlying agreement specifies Pune, Maharashtra jurisdiction.",
      },
    ],
  },
];

export default function TermsConditionsContent() {
  return (
    <section className="bg-ivory px-12 py-20 md:py-20">
      <div className="mx-auto max-w-6xl">
        {/* Page Title */}
        <div className="mb-20 text-center">
          <h2 className="font-serif text-4xl md:text-4xl font-light text-espresso">
            Please read the following booking policies carefully before
            confirming your reservation or event at The Grand Heritage Resorts.
          </h2>

          <div className="flex items-center justify-center gap-4 mt-4">
            <div className="h-0.5 w-20 bg-gradient-to-r from-transparent to-gold" />

            <div className="relative flex items-center justify-center">
              <div className="h-4 w-4 rotate-45 border border-gold bg-gold/20" />
              <div className="absolute h-2 w-2 rotate-45 bg-gold" />
            </div>

            <div className="h-0.5 w-20 bg-gradient-to-l from-transparent to-gold" />
          </div>

          {/* Introductory Terms */}
          <div className="mx-auto mt-10 max-w-5xl text-left">
            <p className="text-mahogany leading-8">
              These Terms & Conditions apply to enquiries, reservations, venue bookings, accommodation bookings, wedding packages, corporate events, social events and other services booked with <strong>The Grand Heritage Resorts (TGHR).</strong>
            </p>

            <p className="mt-5 text-mahogany leading-8">
              By confirming a booking with TGHR, the client acknowledges and agrees to the applicable quotation, confirmed package, event details and these Terms & Conditions.
            </p>

            <p className="mt-5 text-mahogany leading-8">
              <strong>Important:</strong> Booking-specific inclusions, commercials, payment schedules, dates, venues, accommodation allocation and special conditions will always be governed by the <strong>final quotation / booking confirmation issued by TGHR.</strong>
            </p>
          </div>
        </div>

        {/* Terms Sections */}
        <div className="space-y-12">
          {sections.map((section, index) => (
            <div key={index}>
              <h3 className="font-serif text-3xl text-espresso mb-4">
                {index + 1}. {section.title}
              </h3>

              <div className="space-y-2">
                {section.points.map((point, i) => (
                  <div key={i} className="flex gap-4 items-start">
                    <div className="mt-1 text-mahogany text-xl shrink-0">
                      {point.icon}
                    </div>

                    <div className="flex-1">
                      <p className="text-mahogany leading-8">
                        {point.text}
                      </p>

                      {point.children && (
                        <ul className="mt-2 ml-8 list-disc space-y-2 text-mahogany leading-7">
                          {point.children.map((child, childIndex) => (
                            <li key={childIndex}>{child}</li>
                          ))}
                        </ul>
                      )}
                    </div>
                  </div>
                ))}
              </div>

              {section.subSections?.map((sub, idx) => (
                <div key={idx} className="mt-6 ml-10">
                  {sub.title && (
                    <h4 className="font-semibold text-espresso text-lg mb-4">
                      {sub.title}
                    </h4>
                  )}

                  <div className="space-y-2">
                    {sub.points.map((point, i) => (
                      <div key={i}>
                        <div className="flex items-start gap-4">
                          <span className="mt-3 h-1.5 w-1.5 rounded-full bg-mahogany shrink-0" />

                          <p className="text-mahogany leading-8">
                            {point.text}
                          </p>
                        </div>

                        {point.children && (
                          <ul className="mt-3 ml-10 list-disc space-y-2 text-mahogany leading-7">
                            {point.children.map((child, j) => (
                              <li key={j}>{child}</li>
                            ))}
                          </ul>
                        )}
                      </div>
                    ))}
                  </div>
                </div>
              ))}
            </div>
          ))}
        </div>
      </div>
    </section>
  );
}