:root {
    /* Color Palette */
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --secondary-color: #d69e2e;
    --secondary-light: #ecc94b;
    --accent-color: #38b2ac;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --text-light: #edf2f7;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.8);
    --blur: blur(10px);

    /* Layout */
    --max-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Utils */
.section-padding {
    padding: var(--space-lg) 0;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Reveal Animation */
/* Post Detail Page Extensions */
.narrow-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.post-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.post-content h3 {
    margin: 2rem 0 1rem;
}

.post-footer {
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

/* Checklist Page */
.checklist-grid {
    margin-top: 3rem;
}

.checklist-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
}

.checklist-item i {
    color: var(--secondary-color);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.checklist-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.scrolled,
.subpage .navbar {
    background: var(--bg-white);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.subpage .navbar .logo {
    color: var(--primary-color);
}

.subpage .navbar .logo-sub {
    color: var(--text-muted);
}

.subpage .navbar .nav-links a {
    color: var(--text-dark);
}

/* Subpage Headers */
.sub-header {
    background: var(--primary-color);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.sub-header h1 {
    color: white;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-lg);
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.info-card i {
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
}

.info-card h4 {
    margin-bottom: 0.2rem;
}

.contact-form {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.map-box {
    height: 300px;
    background: #e2e8f0;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 2px dashed #cbd5e0;
    margin-bottom: var(--space-lg);
}

/* Offer & Form Styles */
.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.post-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.post-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.post-detail img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.narrow-container {
    max-width: 800px;
}

@media (max-width: 768px) {

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    /* Initial color on Hero */
    transition: var(--transition);
}

.navbar.scrolled .logo,
.subpage .navbar .logo {
    color: var(--primary-color);
}

.logo-sub {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.navbar.scrolled .logo-sub,
.subpage .navbar .logo-sub {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    font-weight: 500;
    color: white;
    /* Initial color on Hero */
    transition: var(--transition);
}

.navbar.scrolled .nav-links a,
.subpage .navbar .nav-links a {
    color: var(--text-dark);
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-links a.active,
.navbar.scrolled .nav-links a:hover,
.subpage .navbar .nav-links a.active,
.subpage .navbar .nav-links a:hover {
    color: var(--primary-color);
}




/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    opacity: 0.9;
    max-width: 600px;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.hero-content {
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(26, 54, 93, 0.4) 100%);
    z-index: -1;
}

.hero-btns {
    display: flex;
    gap: var(--space-sm);
}

/* Trust Bar */
.trust-bar {
    background: white;
    box-shadow: var(--shadow-sm);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.trust-item svg {
    color: var(--secondary-color);
    width: 32px;
    height: 32px;
}

/* Services */
.section-header {
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img-wrap {
    height: 250px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: var(--space-md);
}

.service-info h3 {
    margin-bottom: var(--space-xs);
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-sm);
    color: var(--primary-color);
    font-weight: 600;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-list {
    margin: var(--space-md) 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.check {
    color: var(--accent-color);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.stat-card {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.philosophy-box {
    background: #edf2f7;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.philosophy-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.philosophy-box p {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

footer a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 968px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

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

/* Latest Blog Section (Home) */
.bg-light {
    background-color: var(--bg-light);
}

.latest-blog .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: var(--space-md);
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-content h3 {
    margin: 0.5rem 0 1rem;
    font-size: 1.25rem;
}

/* Offer Page Specifics */
.offer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.offer-form-container {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

.side-img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.trust-info h3 {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 0.3rem;
}

.trust-info ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.trust-info i {
    color: var(--accent-color);
}

.detail-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.benefits {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
}

.benefits h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.benefits ul {
    margin-top: 0 !important;
}

.benefits li {
    display: flex;
    align-items: flex-start !important;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.benefits li i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--accent-color);
    width: 20px;
    height: 20px;
}

.benefits strong {
    color: var(--primary-color);
}

/* FAQ Accordion */
.narrow-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion {
    margin-top: 3rem;
}

.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    outline: none;
}

.accordion-header i {
    transition: transform 0.4s ease;
    color: var(--secondary-color);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    background: #fdfdfd;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process Steps */
/* Service Details (Alternating Rows) */
.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.detail-row.reverse {
    direction: rtl;
}

.detail-row.reverse .detail-text {
    direction: ltr;
}

.detail-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.detail-text ul {
    margin-top: 1.5rem;
    padding-left: 0;
}

.detail-text li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.detail-text i {
    color: var(--accent-color);
    flex-shrink: 0;
}

.detail-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    max-width: 100%;
}

.detail-img img:hover {
    transform: scale(1.02);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 54, 93, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    width: 30px;
    height: 30px;
}

.step-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Trust Stats Section */
.bg-primary {
    background: var(--primary-color);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.cert-item i {
    width: 50px;
    height: 50px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cert-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cert-item p {
    opacity: 0.8;
}


/* Offer Page Extensions */
.offer-form-container {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.side-img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.trust-info h3 {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 0.3rem;
}

.trust-info ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.trust-info i {
    color: var(--accent-color);
}

/* Blog Detail / Post Page */
.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: var(--space-md);
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}