<?php
$this->assign('title', 'Terms and Conditions');
?>

<div class="terms-page">

    <!-- NAVBAR -->
    <nav class="navbar navbar-expand-lg hero-navbar">
            <div class="container-fluid hero-nav-container">
                <a class="navbar-brand brand-link" href="<?= $this->Url->build('/') ?>">
                    <?= $this->Html->image('impeccable-logo.png', [
                        'alt' => 'Impeccable Courier',
                        'class' => 'brand-logo'
                    ]) ?>
                </a>

                <button class="navbar-toggler custom-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#heroNavbar" aria-controls="heroNavbar" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <div class="collapse navbar-collapse justify-content-end" id="heroNavbar">
                    <ul class="navbar-nav align-items-lg-center hero-menu">
                        <li class="nav-item">
                            <a class="nav-link" href="<?= $this->Url->build('/') ?>">Home</a>
                        </li>

                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="#" id="servicesDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                                Services
                            </a>
                            <ul class="dropdown-menu custom-dropdown" aria-labelledby="servicesDropdown">
                                <li><a class="dropdown-item" href="<?= $this->Url->build('/booking') ?>">Book a Shipment</a></li>
                                <li><a class="dropdown-item" href="#">Track a Shipment</a></li>
                                <li><a class="dropdown-item" href="<?= $this->Url->build('/') ?>#volumetricSection">Volumetric Weight Calculator</a></li>
                            </ul>
                        </li>

                        <li class="nav-item">
                            <a class="nav-link" href="<?= $this->Url->build('/contact') ?>">Contact Us</a>
                        </li>

                        

                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="#" id="helpDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                                Help
                            </a>
                            <ul class="dropdown-menu custom-dropdown" aria-labelledby="helpDropdown">
                                
                                <li><a class="dropdown-item" href="<?= $this->Url->build('/terms') ?>">Terms and Conditions</a></li>
                                <li><a class="dropdown-item" href="<?= $this->Url->build('/restricted-cargos') ?>">Restricted Cargos</a></li>
                            </ul>
                        </li>
                        <li class="nav-item nav-login-item">
                            <?php
                            if (!$this->Identity->isLoggedIn()) {
                                echo $this->Html->link(
                                    'Log in',
                                    ['controller' => 'Auth', 'action' => 'login'],
                                    ['class' => 'btn login-btn']);
                            }
                            ?>
                        </li>
                        <li class="nav-item nav-login-item">
                            <?php
                            if ($this->Identity->isLoggedIn()) {
                                echo $this->Html->link('Logout', ['controller' => 'Auth', 'action' => 'logout'], ['class' => 'btn login-btn']);
                            }
                            ?>
                        </li>
                        <li class="nav-item nav-login-item">
                            <?php
                            if ($this->Identity->isLoggedIn()) {
                                echo $this->Html->link('Dashboard', ['prefix'=>'Admin','controller' => 'Dashboard', 'action' => 'index'],['class' => 'btn login-btn']);
                            }
                            ?>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>

    <!-- CONTENT -->
    <section class="terms-content">
        <div class="terms-container">
            <h1>TERMS AND CONDITIONS:</h1>

            <p>
                These terms and conditions must be read having regard to the provisions of the Australian Consumer Law
                (set out in Schedule 2 of the Competition and Consumer Act 2010) to the extent that those provisions
                are applicable to consumers as defined under Section 3 of that Schedule 2. These terms and conditions
                do not have the effect of excluding, restricting or modifying rights under the Australian Consumer Law
                which cannot be excluded, restricted or modified by agreement.
            </p>

            <div class="terms-block">
                <p><strong>1. (a)</strong> All and any business undertaken by Impeccable Courier is transacted subject to these conditions each of which shall be deemed to be incorporated in and to be a condition of any agreement between the Company and its customers. The Company only deals with goods subject to these conditions. The Company is not a common carrier and shall accept no liability as such.</p>
                <p><strong>(b)</strong> The Company in its sole and absolute discretion may refuse to deal with any goods without assigning any reason therefore.</p>

                <p><strong>2.</strong> Any instructions given to the Company may in the absolute discretion of the Company be complied with by the Company as agent for the customer as disclosed principal or by the Company as principal contractor by its own servants performing part or all of the relevant services or by the Company employing or instructing or entrusting the goods to others on such other conditions as they may stipulate to perform part or all of the services. The customer shall be bound by such other conditions and shall release the Company from liability and indemnify the Company against any claims arising out of their acceptance.</p>

                <p><strong>3.</strong> Customers entering into transactions of any kind with the Company expressly warrant that they are either the owners or the authorised agents of the owners of any and all goods or property the subject matter of the transaction. By entering into the transaction they accept these conditions for themselves and for all other parties on whose behalf they are acting and they warrant that they have authority to do so.</p>

                <p><strong>4.</strong> Subject to express instructions in writing given by the customer and by the Company, the Company reserves to itself complete freedom of choice of means, route and procedure to be followed in the handling and transportation of goods. If in the company's opinion it is necessary or desirable in the customers interests to depart from any express instructions, the Company shall be at liberty to do so.</p>

                <p><strong>5.</strong> Except where the Company is instructed in writing to pack the goods the customer warrants that all goods have been properly and sufficiently packed and/or prepared.</p>

                <p><strong>6.</strong> The Company is entitled to retain and be paid all brokerages, commissions, allowances and other remunerations retained by or paid to Ship Forwarding Agents (or Freight Forwarders).</p>

                <p><strong>7.</strong> Quotations are given on the basis of immediate acceptance and subject to the right of withdrawal before acceptance and revision after acceptance. If any changes occur in the rates of customs duty, freight, warehousing, or other charges applicable to the goods, quotations and charges shall be subject to revision accordingly with or without notice.</p>

                <p><strong>8.</strong> The customer, and the senders, owners and consignees of any goods and their agents, if any, shall be deemed to be bound by and to warrant the accuracy of all descriptions, values, dimensions, weights and other particulars furnished to the Company for customs, consular, road transport and other purposes and shall jointly and severally indemnify the Company against all losses, damages, expenses and fines arising from any inaccuracy or omission, even if such inaccuracy or omission is not due to any negligence, willful act or omission.</p>

                <p><strong>9.</strong> The customer and the senders, owners and consignees and their agents, if any, shall be jointly and severally liable for any duty, tax, impost, excise, levy, penalty, deposit or outlay of whatsoever nature levied by any Government or the authorities at any port or place in connection with the goods and for any payments, fines, expenses, loss or damage incurred or sustained by the Company in connection therewith and shall indemnify the Company, its servants and agents from all claims by third parties howsoever arising in connection with the goods.</p>

                <p><strong>10.</strong> When goods are accepted or dealt with upon instructions to collect freight, duties, charges or other expenses from the consignee or any other person the customer shall remain responsible for the same if they are not paid by such consignee or other person.</p>

                <p><strong>11.</strong> The customer shall indemnify the Company against any claim, liability or expense which arises as a result of delay in loading or unloading of the customers goods, or any waiting time, detention or demurrage for any truck or any other conveyance whatsoever.</p>

                <p><strong>12. (1)</strong> The Company charges to the customer including freight shall be deemed fully earned on receipt of the goods by the Company and shall be paid and non-returnable in any event and whether goods are lost or not lost or a voyage or flight is broken up or abandoned. If there shall be a forced interruption or abandonment of a voyage or flight at the port or airport of shipment or elsewhere, any forwarding of the goods or any part thereof shall be at the risk and expense of the customer and of the sender, owner and consignee.</p>

                <p><strong>(2)</strong> All unpaid charges shall be paid in full and without any offset, counterclaim or deduction, in the currency of the place of receipt of the goods or at the Company option, in the currency of the place of delivery at the TT selling rate in effect on the day of payment. If the date determined above falls on a day which banks are closed for business, the rate ruling on the next succeeding business day shall govern.</p>

                <p><strong>(3)</strong> The Company charges including freight have been calculated on the basis of particulars furnished by, or on behalf of the customer. The Company may at any time open any container or any other package or unit in order to re-weigh, re-measure or re-value the contents and if the particulars furnished by or on behalf of the customer are incorrect, it is agreed that a sum equal to either five times the difference between the correct freight and the freight charged, or double the correct freight less the freight charged, whichever sum is smaller, shall be payable as liquidated damages to the Company.</p>

                <p><strong>13.</strong> The Company shall not be liable for any loss, damage, cost, expense, penalty or fine suffered by the customer or any other person, howsoever caused or arising, whether:</p>
                <p class="subpoint"><strong>a)</strong> For loss of or damage to goods unless such loss or damage occurs whilst the goods are in the actual custody of the Company and under its actual control and unless such loss or damage is due to the willful neglect or default of the Company or its own servants;</p>
                <p class="subpoint"><strong>b)</strong> For any delay in delivery, forwarding or transit or failure to deliver goods, any deterioration, contamination, evaporation or any consequential loss or loss of market however caused;</p>
                <p class="subpoint"><strong>c)</strong> For failure to follow instructions given to it by or on behalf of the customer whether or not such failure is willful or negligent;</p>
                <p class="subpoint"><strong>d)</strong> For any delay in delivery, forwarding or transit or failure to deliver goods, any deterioration, contamination, evaporation or any consequential loss or loss of market however caused; In any way connected with marks, numbers, brands, contents, quality, value, weight, dimensions or description of any goods;</p>
                <p class="subpoint"><strong>e)</strong> For loss or damage resulting from fire, water, explosion or theft whether caused by negligence of the Company servants or otherwise;</p>

                <p><strong>14. (a)</strong> The Company shall not be liable under any circumstances for any claim, cost, expense, loss or damage, penalty or fine resulting from or attributable to any quotation, statement, representation or information whether oral or in writing howsoever, where so ever or to whomsoever made or given by or on behalf of the Company or by any servant, employee or agent of the Company as to the classification of, the liability for or the amount, scale or rate of customs and/or excise duty or other impost, tax or rate applicable to any goods or property whatsoever.</p>

                <p><strong>(b)</strong> The Company does not accept responsibility or liability in relation to any decision taken or liability incurred on the basis of any such quotation, statement, representation or information.</p>

                <p><strong>15.</strong> Unless a Convention or law limiting the Company liability to a greater amount compulsorily applies, liability of the Company arising out of any one incident whether or not there has been any declaration of value of the goods, for breach of warranty implied into these terms and conditions by the Australian Consumer Law or howsoever arising, is limited to any of the following as determined by the Company:</p>
                <p class="subpoint"><strong>a)</strong> The supplying of the services again; or</p>
                <p class="subpoint"><strong>b)</strong> The payment of the cost of having the services supplied again</p>
                <p>For the purposes of this clause the word's package shall include the contents within that package for the purpose of calculating any limitation of liability, even if separate particulars have been provided or incorporated in any document of the Company.</p>

                <p><strong>16.</strong> The Company shall be discharged of all liability unless suit is brought in the proper forum and written notice thereof received by the Company within six months after delivery of the goods or the date when the goods should have been delivered. In the event that the said time period shall be found contrary to any Convention or law compulsorily applicable the period prescribed by such Convention or law shall then apply but in that circumstance only.</p>

                <p><strong>17. (a)</strong> In the case of carriage by sea, the value will not be declared or inserted in the Bill of Lading for the purpose of extending the Shipowners' liability under the Carriage of Goods by Sea Act 1991 except upon express instructions given in writing by the customer.</p>
                <p><strong>(b)</strong> In the case of carriage by air, no optional declaration of value to increase the Air Carrier liability under the Civil Aviation Act 1959 will be made except upon express instructions given in writing by the customer;</p>
                <p><strong>(c)</strong> In all other cases where there is a choice of tariff rates according to the extent of the liability assumed by carriers, warehousemen or others no declaration of value (where optional) will be made for the purposes of extending liability and goods will be forwarded or dealt on the basis of minimum charges unless express instructions in writing to the contrary are given by the customer.</p>

                <p><strong>18.</strong> Perishable goods, which are not taken up immediately upon arrival or which are insufficiently addressed or marked or otherwise not identifiable may be sold or otherwise disposed of without any notice to the customer and payment or tender of the net proceeds of any sale after deduction of charges shall be equivalent to delivery. All charges and expenses arising in connection with the sale or disposal of the goods shall be paid by the customer.</p>

                <p><strong>19.</strong> Non-perishable goods which cannot be delivered either because they are insufficiently or incorrectly addressed or because they are not collected or accepted by the consignee may be sold or returned at the Company option at any time after the expiration of 21 days from a notice in writing sent to the address which the customer gave to the Company on delivery of the goods. All charges and expenses arising in connection with the sale or return of the goods shall be paid by the customer. A communication from any agent or correspondent of the Company to the effect that the goods cannot be delivered for any reason shall be conclusive evidence of that fact.</p>

                <p><strong>20.</strong> Except under special arrangements previously made in writing the Company will not accept or deal with any noxious, dangerous, hazardous or inflammable or explosive goods or any goods likely to cause damage. Any person delivering such goods to the Company or causing the Company to handle or deal with any such goods shall be liable for all loss or damage caused thereby and shall indemnify the Company against all penalties, claims, damages, costs and expenses arising in connection therewith and the goods may be destroyed or otherwise dealt with at the sole discretion of the Company or any other person in whose custody they may be at the relevant time. If such goods are accepted under arrangements previously made in writing they may nevertheless be destroyed or otherwise dealt with if they become dangerous to other goods or property. The expression goods likely to cause damage includes goods likely to harbor or encourage vermin or other pests.</p>

                <p><strong>21.</strong> Except under special arrangements previously made in writing the Company will not accept bullion, coins, precious stones, jewellery, valuables, antiques, pictures, livestock or plants and the Company will accept no liability whatsoever for any such goods.</p>

                <p><strong>22.</strong> Pending forwarding and delivery goods may be warehoused or otherwise held at any place or places at the sole discretion of the Company at the customer or owner risk and expense.</p>

                <p><strong>23.</strong> All goods and documents relating to goods shall be subject to a particular and general lien for monies due either in respect of such goods or any particular or general balance of other monies due from the customer, the sender, owner or consignee to the Company. If any monies due to the Company are not paid within one calendar month after notice has been given to the person from whom the monies are due that such goods are detained, they may be sold by auction or otherwise at the sole discretion of the Company and at the expense of such person and the proceeds applied in or towards satisfaction of such particular and general lien. The customer agrees and acknowledges the Company is entitled in its discretion to register its particular and general lien as a security interest on the register established under the Personal Property Securities Act 2009 and the Company has provided consideration for that security interest, by delivery of its promises under this agreement.</p>

                <p><strong>24. (a)</strong> By entering into any agreement to which these conditions apply, the customer on its own behalf and as agent of the owner, sender and consignee agrees and further offers to exclude or limit the liability of all servants, employees and agents of the Company and all subcontractors (including servants, employees and agents of the subcontractors) in respect of the goods and subject to the agreement to the extent that each such subcontractor, servant, employee and agent shall be protected by and entitled to the full benefit of all provisions in these conditions excluding or restricting tortious liability of any kind;</p>
                <p><strong>(b)</strong> The offer hereinbefore referred to shall be accepted by the act of each such subcontractors, servant employee or agent in performing any function in relation to or affecting the goods the subject of the agreement;</p>
                <p><strong>(c)</strong> For the purposes of the foregoing provisions of this clause the Company is and shall be deemed to be acting as agent on behalf of and trustee for the benefit of all persons who are or become its subcontractors, servants, employees or agents from time to time and all such persons shall to this extent be and be deemed to be parties to the agreement concerned.</p>
                <p><strong>(d)</strong> The customer undertakes that no claim or allegation shall be made by the customer or any other person in respect of the goods or the services which imposes or attempts to impose any liability whatsoever and howsoever arising (including negligence) against any servant, employee and agent or any subcontractor (including servants, employees and agents of the subcontractor). If such a claim should nevertheless be made, the customer shall indemnify the Company and the person against whom the claim is made against the consequences of such claim or allegation.</p>

                <p><strong>25.</strong> In addition to and without prejudice to the foregoing the customer undertakes that it shall in any event indemnify the Company against all loss, damage, liability, claim, cost, expense, penalty or fine suffered or incurred by the Company arising directly or indirectly from or in connection with the customer instructions or their implementation or the goods including containers.</p>

                <p><strong>26.</strong> Without prejudice to any other condition, the Company shall have the right to enforce any liability of the customer under these conditions or to recover any sums to be paid by the customer under these conditions not only against or from the customer but also if it thinks it against or from the sender and/or owner and/or consignee of the goods.</p>

                <p><strong>27.</strong> The use of a customer own form shall in no way derogate from these conditions the whole of which shall, notwithstanding anything contained in any such form, constitute terms of the agreement so entered into. Any provision in any such form which is contrary to any provision of these conditions shall to the extent of such inconsistency be inapplicable.</p>

                <p><strong>28.</strong> The goods shall be deemed to have been delivered as described unless notice of loss or of damage to the goods indicating the general nature of such loss or damage shall have been given in writing to the Company or to its representative at the place of delivery before or at the time of removal of the goods by a representative of the person entitled to delivery thereof or if the loss or damage be not apparent within three consecutive days thereafter.</p>

                <p><strong>29.</strong> No agent or employee of the Company has the Company authority to alter or vary these conditions.</p>

                <p><strong>30.</strong> All the rights, immunities and exemptions from liability in these terms and conditions shall continue to have their full force and effect in all circumstances and notwithstanding any breach of this contract or of any of these terms and conditions by the Company or any other person entitled to the benefit of such provisions and irrespective of whether such may constitute a fundamental breach of contract or a breach of a fundamental term.</p>

                <p><strong>31.</strong> These standard trading conditions are governed by and shall be construed in accordance with the laws of the State of Victoria, Australia, and the parties agree to submit to the non-exclusive jurisdiction of the Courts of Victoria.</p>
            </div>
        </div>
    </section>

    <!-- FOOTER -->
<footer style="
    background:#ffffff;
    border-top:1px solid #ffffff;
    padding:70px 40px 50px 40px;
">
    <div style="
        max-width:1480px;
        margin:0 auto;
    ">
        <div style="
            display:flex;
            justify-content:flex-start;
            align-items:flex-start;
            gap:150px;
            flex-wrap:wrap;
            padding-bottom:26px;
            border-bottom:1px solid #d9dde5;
        ">
            <!-- LEFT -->
            <div style="
                flex:1 1 420px;
                min-width:300px;
            ">
                <div style="margin-bottom:16px;">
                    <?= $this->Html->image('footer-logo.png', [
                        'alt' => 'Impeccable Courier',
                        'style' => 'max-width:640px; width:100%; height:auto; display:block;'
                    ]) ?>
                </div>

                <p style="
                    margin:0 0 0 27px;
                    color:#475467;
                    font-size:18px;
                    line-height:1.8;
                    font-weight:400;
                    font-family:var(--font-main);
                    max-width:560px;
                ">
                    Trusted international courier services with affordable rates, secure delivery, and reliable support across Australia, Pakistan, the UK, USA and Canada.
                </p>
            </div>

            <!-- RIGHT -->
            <div style="
                flex:1 1 760px;
                min-width:320px;
                display:flex;
                justify-content:space-between;
                gap:70px;
                flex-wrap:wrap;
                align-items:flex-start;
            ">
                <!-- CONTACT + QUICK LINKS -->
                <div style="
                    min-width:260px;
                    display:flex;
                    flex-direction:column;
                    gap:34px;
                ">
                    <!-- contact -->
                    <div>
                        <h4 style="
                            margin:0 0 16px 0;
                            color:#c91c1c;
                            font-size:20px;
                            font-weight:700;
                            font-family:var(--font-main);
                            text-transform:uppercase;
                            letter-spacing:0.6px;
                        ">
                            Contact
                        </h4>

                        <p style="
                            margin:0 0 12px 0;
                            color:#101828;
                            font-size:18px;
                            line-height:1.8;
                            font-family:var(--font-main);
                        ">
                            <?php 
                        $phone = $this->ContentBlock->text('contact-phone');
                        $phoneClean = preg_replace('/\s+/', '', $phone); // removes spaces
                        ?>
                        <strong>Phone:</strong>
                        <a href="tel:<?= h($phoneClean) ?>">
                            <?= h($phone) ?>
                        </a>
                        </p>

                        <p style="
                            margin:0;
                            color:#101828;
                            font-size:18px;
                            line-height:1.8;
                            font-family:var(--font-main);
                        ">
                            <?php $email = $this->ContentBlock->text('contact-email'); ?>
                        <strong>Email:</strong>
                        <a href="mailto:<?= h($email) ?>">
                            <?= h($email) ?>
                        </a>
                        </p>
                    </div>

                    <!-- quick links -->
                    <div>
                        <h4 style="
                            margin:0 0 16px 0;
                            color:#c91c1c;
                            font-size:20px;
                            font-weight:700;
                            font-family:var(--font-main);
                            text-transform:uppercase;
                            letter-spacing:0.6px;
                        ">
                            Quick Links
                        </h4>

                        <div style="
                            display:flex;
                            gap:50px;
                            flex-wrap:wrap;
                        ">
                            <!-- left half -->
                            <div style="
                                display:flex;
                                flex-direction:column;
                                gap:12px;
                                min-width:140px;
                            ">
                                <a href="#"
                                   style="color:#101828; text-decoration:none; font-size:18px; font-family:var(--font-main); transition:color 0.25s ease;"
                                   onmouseover="this.style.color='#c91c1c'"
                                   onmouseout="this.style.color='#101828'">
                                   Home
                                </a>

                                <a href="#"
                                   style="color:#101828; text-decoration:none; font-size:18px; font-family:var(--font-main); transition:color 0.25s ease;"
                                   onmouseover="this.style.color='#c91c1c'"
                                   onmouseout="this.style.color='#101828'">
                                   Booking
                                </a>

                                <a href="#"
                                   style="color:#101828; text-decoration:none; font-size:18px; font-family:var(--font-main); transition:color 0.25s ease;"
                                   onmouseover="this.style.color='#c91c1c'"
                                   onmouseout="this.style.color='#101828'">
                                   About Us
                                </a>
                            </div>

                            <!-- right half -->
                            <div style="
                                display:flex;
                                flex-direction:column;
                                gap:12px;
                                min-width:180px;
                            ">
                                <a href="#"
                                   style="color:#101828; text-decoration:none; font-size:18px; font-family:var(--font-main); transition:color 0.25s ease;"
                                   onmouseover="this.style.color='#c91c1c'"
                                   onmouseout="this.style.color='#101828'">
                                   Contact Us
                                </a>

                                <a href="#"
                                   style="color:#101828; text-decoration:none; font-size:18px; font-family:var(--font-main); transition:color 0.25s ease;"
                                   onmouseover="this.style.color='#c91c1c'"
                                   onmouseout="this.style.color='#101828'">
                                   Terms &amp; Condition
                                </a>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- WAREHOUSE -->
                <div style="min-width:260px; margin-left:10px;">
                    <h4 style="
                        margin:0 0 16px 0;
                        color:#c91c1c;
                        font-size:20px;
                        font-weight:700;
                        font-family:var(--font-main);
                        text-transform:uppercase;
                        letter-spacing:0.6px;
                    ">
                        Warehouse
                    </h4>

                    <p style="
                        margin:0;
                        color:#101828;
                        font-size:18px;
                        line-height:1.8;
                        font-family:var(--font-main);
                        max-width:340px;
                    ">
                        <a href="https://www.google.com/maps?q=1011+Sydney+Road,+Coburg+North,+Victoria+3047" target="_blank">
                            1011 Sydney Road, Coburg North,<br>
                            Victoria 3047
                        </a>
                    </p>
                </div>
            </div>
        </div>

        <div style="
            padding-top:18px;
            text-align:center;
        ">
            <p style="
                margin:0;
                color:#c91c1c;
                font-size:18px;
                line-height:1.7;
                font-weight:500;
                font-family:var(--font-main);
            ">
                © All Rights Reserved by Webspire 2026
            </p>
        </div>
    </div>
</footer>
</div>

<?php $this->start('css'); ?>
<style>
    :root {
        --font-main: 'Inter', Arial, sans-serif;
        --white: #ffffff;
        --black: #161616;
        --accent-red: #c91c1c;
        --text-gray: #4b5563;
    }

    * {
        box-sizing: border-box;
    }

    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
        font-family: var(--font-main);
        background: #ffffff;
        color: #111827;
        scroll-behavior: smooth;
    }

    .terms-page {
        min-height: 100vh;
        background: #ffffff;
    }

    .hero-navbar {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        padding: 10px 50px;
        background: rgba(8, 8, 8, 0.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .hero-nav-container {
        align-items: center;
    }

    .brand-link {
        margin: 0;
        padding: 0;
    }

    .brand-logo {
        width: 280px;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .hero-menu {
        gap: 10px;
    }

    .hero-menu .nav-link {
        color: #ffffff;
        font-size: 18px;
        font-weight: 400;
        padding: 10px 12px !important;
    }

    .hero-menu .nav-link:hover {
        color: #c62828 !important;
    }

    .custom-dropdown {
        border: none;
        border-radius: 12px;
        padding: 10px 0;
        box-shadow: 0 12px 28px rgba(0,0,0,0.18);
        min-width: 270px;
    }

    .custom-dropdown .dropdown-item {
        font-size: 15px;
        padding: 12px 18px;
        font-weight: 400;
        font-family: var(--font-main);
    }

    .custom-dropdown .dropdown-item:hover {
        background: #d1d5db;
    }

    .custom-dropdown .active-item {
        background: #e5e7eb;
    }

    .active-nav {
        color: #ffffff !important;
    }

    .nav-login-item {
        margin-left: 10px;
    }

    .login-btn {
        background: #ffffff;
        color: #161616;
        border-radius: 999px;
        padding: 12px 28px;
        font-size: 17px;
        font-weight: 400;
        min-width: 118px;
        border: none;
    }

    .login-btn:hover {
        background: #c62828;
        color: #ffffff;
    }

    .custom-toggler {
        border-color: rgba(255,255,255,0.45);
        background: rgba(255,255,255,0.08);
    }

    .custom-toggler .navbar-toggler-icon {
        filter: invert(1);
    }

    .terms-content {
        padding: 150px 50px 90px;
        background: #ffffff;
    }

    .terms-container {
        max-width: 1250px;
        margin: 0 auto;
    }

    .terms-container h1 {
        margin: 0 0 30px 0;
        font-size: 50px;
        line-height: 1.1;
        font-weight: 700;
        color: #c62828;
    }

    .terms-container > p {
        margin: 0 0 28px 0;
        font-size: 21px;
        line-height: 1.75;
        color: #4b5563;
        font-weight: 400;
    }

    .terms-block p {
        margin: 0 0 22px 0;
        font-size: 18px;
        line-height: 1.8;
        color: #333333;
    }

    .terms-block .subpoint {
        margin-left: 26px;
    }

    .site-footer {
        background: #ffffff;
        border-top: 1px solid #d9dde5;
        padding: 70px 40px 50px 40px;
    }

    .footer-wrap {
        max-width: 1480px;
        margin: 0 auto;
    }

    .footer-top {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 120px;
        flex-wrap: wrap;
        padding-bottom: 26px;
        border-bottom: 1px solid #d9dde5;
    }

    .footer-left {
        flex: 1 1 420px;
        min-width: 300px;
    }

    .footer-logo-wrap {
        margin-bottom: 16px;
    }

    .footer-desc {
        margin: 0 0 0 27px;
        color: #475467;
        font-size: 18px;
        line-height: 1.8;
        font-weight: 400;
    }

    .footer-right {
        flex: 1 1 760px;
        min-width: 320px;
        display: flex;
        justify-content: space-between;
        gap: 70px;
        flex-wrap: wrap;
    }

    .footer-col {
        min-width: 220px;
    }

    .footer-col h4 {
        margin: 0 0 16px 0;
        color: #c91c1c;
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .footer-col p,
    .footer-col a {
        display: block;
        margin: 0 0 12px 0;
        color: #101828;
        font-size: 18px;
        line-height: 1.8;
        text-decoration: none;
    }

    .footer-col a:hover {
        color: #c91c1c;
    }

    .footer-bottom {
        padding-top: 18px;
        text-align: center;
    }

    .footer-bottom p {
        margin: 0;
        color: #c91c1c;
        font-size: 18px;
        line-height: 1.7;
        font-weight: 500;
    }

    @media (max-width: 1100px) {
        .hero-navbar {
            padding: 18px 22px;
        }

        .terms-content {
            padding: 50px 24px 70px;
        }

        .terms-container h1 {
            font-size: 42px;
        }

        .terms-container > p {
            font-size: 19px;
        }

        .terms-block p {
            font-size: 17px;
        }
    }

    @media (max-width: 991px) {
        .hero-menu {
            gap: 0;
            margin-top: 16px;
            padding: 18px;
            border-radius: 16px;
            background: rgba(8, 10, 18, 0.90);
        }

        .nav-login-item {
            margin-left: 0;
            margin-top: 10px;
        }

        .terms-container h1 {
            font-size: 34px;
        }

        .terms-container > p {
            font-size: 18px;
        }

        .terms-block p {
            font-size: 16px;
        }
    }

    @media (max-width: 767px) {
        .brand-logo {
            width: 220px;
        }

        .site-footer {
            padding: 50px 20px 35px;
        }

        .terms-content {
            padding: 42px 18px 60px;
        }
    }

        .hero-navbar {
        position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 50px;
    background: rgba(8, 8, 8, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    }

    .hero-menu .nav-link:hover {
        color: #c62828 !important;
    }



    .hero-nav-container {
        align-items: center;
    }

    .brand-link {
        margin: 0;
        padding: 0;
    }

    .brand-logo {
        width: 280px;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .hero-menu {
        gap: 10px;
    }

    .hero-menu .nav-link {
        color: var(--white);
        font-size: 18px;
        font-weight: 400;
        padding: 10px 12px !important;
        letter-spacing: 0.2px;
    }

    .hero-menu .nav-link:hover,
    .hero-menu .nav-link:focus {
        color: var(--white);
        opacity: 0.82;
    }

    .custom-dropdown {
        border: none;
        border-radius: 12px;
        padding: 10px 0;
        box-shadow: 0 12px 28px rgba(0,0,0,0.18);
        min-width: 270px;
    }

    .custom-dropdown .dropdown-item {
        font-size: 15px;
        padding: 12px 18px;
        font-weight: 400;
        font-family: var(--font-main);
    }

    .custom-dropdown .dropdown-item:hover {
        background: #bbbec4ff;
    }

    .nav-login-item {
        margin-left: 10px;
    }

    .login-btn {
        background: var(--white);
        color: var(--black);
        border-radius: 999px;
        padding: 12px 28px;
        font-size: 17px;
        font-weight: 400;
        min-width: 118px;
        border: none;
    }

    .login-btn:hover {
        background: #c62828;
        color: var(--white);
    }

    .custom-toggler {
        border-color: rgba(255,255,255,0.45);
        background: rgba(255,255,255,0.08);
    }

    .custom-toggler .navbar-toggler-icon {
        filter: invert(1);
    }
</style>
<?php $this->end(); ?>