/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F4F4F4;
    color: #2D2D2D;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===========================
   HEADER
=========================== */
header {
    background: #1E3A5F;
    padding: 15px 20px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    width: 100px;
    height: auto;
    display: block;
    background: white;
    border-radius: 12px;
    padding: 5px;
}

.text-logo {
    width: 100px;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1E3A5F;
    border-radius: 12px;
    padding: 5px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
}

.text-logo-large {
    width: 150px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1E3A5F;
    border-radius: 20px;
    padding: 10px;
    margin: 0 auto 20px;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0;
}

.header-text h1 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
}

.tagline {
    color: #00B4D8;
    font-size: 0.9rem;
    font-style: italic;
}

.header-contact {
    text-align: right;
}

.header-contact p {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.header-contact a {
    color: #00B4D8;
}

.badge {
    background: #FF6B35;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===========================
   NAVIGATION
=========================== */
nav {
    background: #00B4D8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li a {
    display: block;
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background: #1E3A5F;
    color: white;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    background: linear-gradient(135deg, #1E3A5F 0%, #00B4D8 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.hero-logo {
    width: 150px;
    height: auto;
    background: white;
    border-radius: 20px;
    padding: 10px;
    margin: 0 auto 20px;
    display: block;
}

.hero h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

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

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
    background: #FF6B35;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e55a25;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    border: 2px solid white;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #1E3A5F;
}

.btn-emergency {
    background: #FF6B35;
    color: white;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-emergency:hover {
    background: #e55a25;
}

.service-note {
    color: #555;
    font-size: 0.9rem;
    font-style: italic;
    margin: 15px 0;
}

.text-link {
    color: #00B4D8;
    display: inline-block;
    font-weight: 600;
    margin-top: 8px;
}

.text-link:hover {
    color: #1E3A5F;
}

.local-seo,
.service-links-section,
.service-page {
    background: white;
    padding: 55px 20px;
}

.local-seo-inner,
.service-detail-inner {
    max-width: 900px;
    margin: 0 auto;
}

.local-seo h2,
.service-links-section h2,
.service-page h2 {
    color: #1E3A5F;
    margin-bottom: 16px;
}

.local-seo p,
.service-page p {
    color: #555;
    margin-bottom: 24px;
}

.local-links,
.service-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    max-width: 1000px;
    margin: 20px auto 0;
}

.local-links a,
.service-link-grid a {
    background: #F4F4F4;
    border-left: 4px solid #00B4D8;
    border-radius: 8px;
    color: #1E3A5F;
    font-weight: 600;
    padding: 14px 16px;
    transition: transform 0.2s, background 0.3s;
}

.local-links a:hover,
.service-link-grid a:hover {
    background: #EAF8FB;
    transform: translateY(-2px);
}

.reviews-section {
    background: #F4F4F4;
    padding: 60px 20px;
    text-align: center;
}

.reviews-section h2 {
    color: #1E3A5F;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.reviews-intro {
    color: #555;
    max-width: 760px;
    margin: 0 auto 30px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1050px;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 26px 22px;
    text-align: left;
}

.stars {
    color: #FF6B35;
    font-size: 1.1rem;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.review-card h3 {
    color: #1E3A5F;
    margin-bottom: 10px;
}

.review-card p {
    color: #555;
    font-size: 0.95rem;
}

.compact-reviews {
    background: white;
}

/* ===========================
   FEATURES SECTION
=========================== */
.features {
    padding: 60px 20px;
    text-align: center;
    background: white;
}

.features h2 {
    color: #1E3A5F;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

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

.feature-card {
    background: #F4F4F4;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #1E3A5F;
    margin-bottom: 10px;
}

/* ===========================
   SERVICES PREVIEW
=========================== */
.services-preview {
    padding: 60px 20px;
    text-align: center;
    background: #F4F4F4;
}

.services-preview h2 {
    color: #1E3A5F;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

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

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    border-top: 4px solid #00B4D8;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #1E3A5F;
    margin-bottom: 10px;
}

.price {
    color: #FF6B35;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ===========================
   PLANS SECTION
=========================== */
.plans {
    padding: 60px 20px;
    background: #1E3A5F;
    text-align: center;
}

.plans h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    position: relative;
}

.plan-card.featured {
    border: 3px solid #FF6B35;
    transform: scale(1.05);
}

.popular {
    background: #FF6B35;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.plan-card h3 {
    color: #1E3A5F;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00B4D8;
    margin-bottom: 20px;
}

.plan-price span {
    font-size: 1rem;
    color: #666;
}

.plan-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.plan-card ul li {
    padding: 6px 0;
    border-bottom: 1px solid #F4F4F4;
    font-size: 0.9rem;
}

.plan-card ul li::before {
    content: "✅ ";
}

/* ===========================
   PAGE BANNER
=========================== */
.page-banner {
    background: linear-gradient(135deg, #1E3A5F, #00B4D8);
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.page-banner h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.page-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}

/* ===========================
   SERVICE DETAIL
=========================== */
.service-detail {
    padding: 60px 20px;
    background: white;
}

.service-detail.alt {
    background: #F4F4F4;
}

.service-detail-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
}

.service-detail h2 {
    color: #1E3A5F;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-detail p {
    color: #555;
    margin-bottom: 25px;
}

.pricing-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #F4F4F4;
    font-size: 0.95rem;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:nth-child(odd) {
    background: #F9F9F9;
}

.price-row span:last-child {
    font-weight: 700;
    color: #FF6B35;
}

/* ===========================
   EMERGENCY BANNER
=========================== */
.emergency-banner {
    background: #FF6B35;
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.emergency-banner h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.emergency-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 25px;
}

.emergency-banner .btn-primary {
    background: white;
    color: #FF6B35;
}

.emergency-banner .btn-primary:hover {
    background: #F4F4F4;
}

/* ===========================
   ABOUT PAGE
=========================== */
.about-content {
    padding: 60px 20px;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 250px;
    border-radius: 16px;
    background: #F4F4F4;
    padding: 15px;
}

.about-text h2 {
    color: #1E3A5F;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-text p {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.8;
}

.certifications {
    padding: 60px 20px;
    background: #F4F4F4;
    text-align: center;
}

.certifications h2 {
    color: #1E3A5F;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.cert-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    border-top: 4px solid #00B4D8;
}

.cert-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.cert-card h3 {
    color: #1E3A5F;
    margin-bottom: 10px;
}

.values {
    padding: 60px 20px;
    background: #1E3A5F;
    text-align: center;
}

.values h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255,255,255,0.1);
    padding: 30px 20px;
    border-radius: 12px;
    color: white;
}

.value-card span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.value-card h3 {
    color: #00B4D8;
    margin-bottom: 10px;
}

/* ===========================
   FAQ PAGE
=========================== */
.faq-section {
    padding: 60px 20px;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #F9F9F9;
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #1E3A5F;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #EEF7FA;
}

.faq-question.active {
    background: #1E3A5F;
    color: white;
}

.faq-icon {
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: white;
    color: #555;
    line-height: 1.7;
}

.faq-answer.open {
    display: block;
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-section {
    padding: 60px 20px;
    background: #F4F4F4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-wrap,
.contact-info-wrap {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.contact-form-wrap h2,
.contact-info-wrap h2 {
    color: #1E3A5F;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1E3A5F;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    color: #2D2D2D;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00B4D8;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    margin-top: 15px;
    padding: 15px;
    background: #E8F8F0;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    color: #2E7D32;
    font-weight: 600;
}

/* ===========================
   PRIVATE ADMIN LINKS
=========================== */
.admin-page {
    background: #EEF3F7;
}

.admin-banner {
    padding: 42px 20px;
}

.admin-lock,
.admin-workspace {
    padding: 45px 20px 60px;
}

.admin-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-toolbar h2,
.admin-panel h2,
.admin-panel h3 {
    color: #1E3A5F;
}

.admin-toolbar p,
.admin-login-panel p {
    color: #555;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.35fr);
    gap: 24px;
    align-items: start;
}

.admin-panel {
    background: white;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.admin-login-panel {
    max-width: 460px;
    margin: 0 auto;
}

.admin-form {
    margin-top: 22px;
}

.admin-error {
    color: #B3261E;
    font-weight: 600;
    margin-top: 14px;
    min-height: 24px;
}

.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.library-header span,
.fix-category {
    background: #EAF8FB;
    color: #1E3A5F;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.admin-small-button,
.admin-logout {
    color: #1E3A5F;
    border-color: #1E3A5F;
    cursor: pointer;
}

.admin-small-button:hover,
.admin-logout:hover {
    background: #1E3A5F;
    color: white;
}

.import-button {
    text-align: center;
}

#importLinks {
    display: none;
}

.fix-list {
    display: grid;
    gap: 16px;
}

.fix-card {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 18px;
    background: #FBFCFD;
}

.fix-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
}

.fix-card h4 {
    color: #1E3A5F;
    font-size: 1rem;
    line-height: 1.35;
}

.fix-card a {
    display: block;
    color: #007C9D;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
    margin-bottom: 10px;
}

.fix-card a:hover {
    text-decoration: underline;
}

.fix-notes,
.fix-meta {
    color: #555;
    font-size: 0.9rem;
}

.fix-meta {
    margin-top: 10px;
    margin-bottom: 12px;
}

.delete-link-button {
    background: transparent;
    border: 1px solid #C93B2B;
    color: #C93B2B;
    border-radius: 8px;
    padding: 8px 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.delete-link-button:hover {
    background: #C93B2B;
    color: white;
}

.empty-state {
    color: #555;
    background: #F4F4F4;
    border-radius: 8px;
    padding: 18px;
}

.info-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #F0F0F0;
}

.info-icon {
    font-size: 1.8rem;
}

.info-card h3 {
    color: #1E3A5F;
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-card a {
    color: #00B4D8;
    font-weight: 600;
}

.info-card p {
    color: #777;
    font-size: 0.85rem;
}

.emergency-call {
    background: #FFF3EE;
    border: 2px solid #FF6B35;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.emergency-call h3 {
    color: #FF6B35;
    margin-bottom: 8px;
}

.emergency-call p {
    color: #555;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: #2D2D2D;
    color: white;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px;
}

.footer-logo-img {
    width: 120px;
    height: auto;
    background: white;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 15px;
}

.footer-text-logo {
    width: 120px;
    min-height: 75px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4 {
    color: #00B4D8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #CCC;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #00B4D8;
}

.footer-contact p {
    color: #CCC;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #00B4D8;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
    font-size: 0.85rem;
    color: #888;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-contact {
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li a {
        padding: 12px 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img {
        margin: 0 auto;
    }

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

    .admin-toolbar,
    .library-header,
    .fix-card-title-row {
        flex-direction: column;
        align-items: stretch;
    }

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

    .plan-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.3rem;
    }

    .header-text h1 {
        font-size: 1.2rem;
    }
}
