* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.5;
}

/* ---------------------------------------------
   GLOBAL PARAGRAPH FIX — removes weird spacing
---------------------------------------------- */
p {
    text-align: left;
}

/* ---------------------------------------------
   INSTALL APP BUTTON
---------------------------------------------- */
.install-app-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #c47a2c;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: #13294b;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, transform .3s;
    z-index: 99999;
}

.install-app-btn.show {
    opacity: 1;
    visibility: visible;
}

.install-app-btn:hover {
    transform: translateY(-4px);
}

/* ---------------------------------------------
   BACK TO TOP BUTTON
---------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, transform .3s;
    z-index: 99999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-6px);
}

/* ---------------------------------------------
   HEADER
---------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #0b1f4b;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: padding .25s;
}

.site-header.scrolled {
    padding: 10px 24px;
    background: #09183a;
}

.site-header .header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 80px;
    width: auto;
    display: block;
}

.site-header.scrolled .site-logo {
    height: 60px;
}

@media(max-width:900px) {
    .site-logo {
        height: 60px;
    }
}

/* ---------------------------------------------
   NAVIGATION
---------------------------------------------- */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity .2s;
}

.main-nav a:hover {
    opacity: .7;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: .3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media(max-width:900px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0b1f4b;
        display: none;
        padding: 20px 0;
        text-align: center;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
}

/* ---------------------------------------------
   BUTTONS
---------------------------------------------- */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, opacity .2s;
}

.btn.primary {
    background: #ff7a00;
    color: #fff;
    padding: 14px 28px;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 14px 28px;
}

.btn.secondary:hover {
    background: #ffffff22;
}

.btn.small {
    padding: 8px 14px;
    font-size: 14px;
    background: #ff7a00;
    color: #fff;
}

.btn.small:hover {
    opacity: .85;
}

/* ---------------------------------------------
   ICONS
---------------------------------------------- */
.service-icon,
.why-icon,
.how-icon,
.tool-icon {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto 1rem;
}

@media(max-width:600px) {
    .service-icon,
    .why-icon,
    .how-icon,
    .tool-icon {
        width: 50px;
        height: 50px;
    }
}

/* ---------------------------------------------
   HEADINGS
---------------------------------------------- */
section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #0b1f4b;
}

/* ---------------------------------------------
   HERO
---------------------------------------------- */
.hero {
    background: linear-gradient(rgba(11,31,75,.45), rgba(11,31,75,.45)),
                url('/assets/img/hero.png') center/cover no-repeat;
    padding: 160px 40px 140px;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ---------------------------------------------
   SERVICES
---------------------------------------------- */
.services {
    padding: 80px 40px;
    background: #f7f9fc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    justify-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    width: 100%;
    max-width: 220px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    text-decoration: none;
}

.service-item h3 {
    margin-bottom: 12px;
    color: #0b1f4b;
}

/* ---------------------------------------------
   WHY SECTION
---------------------------------------------- */
.why {
    padding: 80px 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.why-item h3 {
    margin-bottom: 12px;
    color: #0b1f4b;
}

/* ---------------------------------------------
   HOW SECTION
---------------------------------------------- */
.how {
    padding: 80px 40px;
    background: #f7f9fc;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.how-step {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.step-number {
    display: inline-block;
    background: #ff7a00;
    color: #fff;
    padding: 10px 16px;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ---------------------------------------------
   TOOLS
---------------------------------------------- */
.tools {
    padding: 80px 40px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tool-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.tool-item h3 {
    margin-bottom: 12px;
    color: #0b1f4b;
}

/* ---------------------------------------------
   TESTIMONIALS
---------------------------------------------- */
.testimonials {
    padding: 80px 40px;
    background: #f7f9fc;
}

.testimonial-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    text-align: center;
    font-style: italic;
}

.testimonial span {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    color: #0b1f4b;
}

/* ---------------------------------------------
   LOCAL SECTION
---------------------------------------------- */
.local {
    background: linear-gradient(to top, rgba(11,31,75,.85), rgba(255,122,0,.25)),
                url('/assets/img/hero2.png') center/cover no-repeat;
    padding: 120px 40px;
    text-align: center;
    color: #fff;
    position: relative;
}

.local h2,
.local p {
    position: relative;
    z-index: 1;
}

.local::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,31,75,.85), rgba(255,122,0,.25));
    z-index: 0;
}

/* ---------------------------------------------
   CTA
---------------------------------------------- */
.cta {
    padding: 80px 40px;
    text-align: center;
    background: #0b1f4b;
    color: #fff;
}

.cta p {
    margin-bottom: 20px;
    font-size: 18px;
}

.cta .btn.primary {
    background: #ff7a00;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

/* ---------------------------------------------
   SOCIAL ICONS
---------------------------------------------- */
.social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #13294b;
    border-radius: 8px;
    transition: transform .2s ease, background .2s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #c47a2c;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.social-icon.shielded-site {
    background: none !important;
    padding: 0 !important;
}

.social-icon.shielded-site img {
    width: 28px;
    height: 28px;
}

/* ---------------------------------------------
   REVEAL ANIMATIONS
---------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------
   FOOTER
---------------------------------------------- */
.site-footer {
    background: #0b1f4b;
    color: #fff;
    padding: 40px 20px;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-column h4 {
    font-size: .85rem;
    margin-bottom: 8px;
    color: #ffb366;
    font-weight: 600;
}

.footer-column a {
    display: block;
    font-size: .75rem;
    color: #d6d6d6;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color .2s;
}

.footer-column a:hover {
    color: #ff7a00;
}

.footer-meta {
    text-align: right;
}

.footer-meta p {
    margin: 4px 0;
    font-size: .8rem;
}

.site-footer .phone-link,
.site-footer .contact-link {
    color: #ff7a00 !important;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s, text-shadow .2s;
}

.site-footer .phone-link::before {
    content: "📞";
    font-size: 16px;
}

.site-footer .contact-link::before {
    content: "✉️";
    font-size: 16px;
}

.site-footer .phone-link:hover,
.site-footer .contact-link:hover {
    color: #ff9a33 !important;
    text-shadow: 0 0 6px rgba(255,122,0,.6);
    text-decoration: underline;
}

.site-footer .social {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.site-footer .social-icon {
    background: #ffffff33;
    padding: 8px;
    border-radius: 4px;
    display: inline-flex;
    transition: background .2s;
}

.site-footer .social-icon:hover {
    background: #ffffff55;
}

.admin-link a {
    font-size: .7rem;
    color: #ccc;
    text-decoration: none;
}

.admin-link a:hover {
    color: #ff7a00;
}

@media(max-width:800px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-meta {
        text-align: center;
    }

    .site-footer .social {
        justify-content: center !important;
    }
}

/* ---------------------------------------------
   RESPONSIVE
---------------------------------------------- */
@media(max-width:900px) {
    section h2 {
        font-size: 26px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .why-grid,
    .how-grid,
    .tools-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .cta {
        padding: 60px 20px;
    }
}

@media(max-width:600px) {
    .hero {
        padding: 120px 20px 100px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 15px;
    }

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

/* ---------------------------------------------
   COOKIE POPUP
---------------------------------------------- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: #0b1f4b;
    color: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .4s, transform .4s;
}

.cookie-popup.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-eyes {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-eyes .eye {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.cookie-eyes .pupil {
    width: 16px;
    height: 16px;
    background: #13294b;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    left: 12px;
    transition: transform .1s;
}

.cookie-eyes .eye.blink {
    animation: blink .15s;
}

@keyframes blink {
    0%, 100% { height: 40px; }
    50% { height: 4px; }
}

.cookie-text h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #ffb366;
}

.cookie-text p {
    margin: 0;
    font-size: .85rem;
}

.cookie-text a {
    color: #ff7a00;
    text-decoration: underline;
}

.cookie-accept {
    background: #ff7a00;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.cookie-accept:hover {
    background: #ff9a33;
}

.cookie-decline {
    color: #aaa;
    font-size: .8rem;
    margin-left: 8px;
    cursor: pointer;
    opacity: .6;
    display: inline-block;
    transition: opacity .2s ease;
}

.cookie-decline:hover {
    opacity: 1;
    animation: headshake .35s ease;
}

@keyframes headshake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

/* ---------------------------------------------
   COOKIE SETTINGS POPUP
---------------------------------------------- */
.cookie-settings {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 1;
    transition: opacity .3s ease;
}

.cookie-settings.hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-settings-inner {
    background: #0b1f4b;
    color: #fff;
    padding: 30px;
    width: 360px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    animation: fadeInUp .35s ease;
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-settings-desc {
    font-size: .85rem;
    opacity: .8;
    margin-bottom: 20px;
}

.cookie-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
}

.cookie-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-toggle.locked span {
    opacity: .6;
}

.toggle {
    width: 46px;
    height: 24px;
    background: #ffffff33;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background .25s ease;
}

.toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .25s ease;
}

.toggle.active {
    background: #ff7a00;
}

.toggle.active::after {
    transform: translateX(22px);
}

.toggle:hover::after {
    animation: wiggle .3s ease;
}

@keyframes wiggle {
    0% { transform: translateX(0); }
    25% { transform: translateX(2px); }
    50% { transform: translateX(-2px); }
    75% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

.cookie-settings-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cookie-save,
.cookie-accept-all {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-save {
    background: #ffffff22;
    color: #fff;
}

.cookie-save:hover {
    background: #ffffff33;
}

.cookie-accept-all {
    background: #ff7a00;
    color: #fff;
}

.cookie-accept-all:hover {
    background: #ff9a33;
}

/* ---------------------------------------------
   FOOTER DROPDOWNS
---------------------------------------------- */
.footer-column.dropdown {
    width: 100%;
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dropdown-arrow {
    transition: transform .3s ease;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    display: flex;
    flex-direction: column;
    padding-left: 2px;
}

.dropdown.open .dropdown-content {
    max-height: 600px;
}

.footer-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 4px 0;
}
.service-item p,
.why-item p,
.how-step p,
.tool-item p,
.testimonial p,
.local p {
    text-align: left;
}
.service-item h3,
.why-item h3,
.how-step h3,
.tool-item h3 {
    text-align: center;
}