:root {
    --primary-color: #D4AF37;
    /* Gold accent */
    --primary-dark: #b89a2e;
    --secondary-color: #1a1a1a;
    /* Slightly lighter dark */
    --surface-color: #121212;
    /* Main dark background */
    --text-color: #e0e0e0;
    /* Main text */
    --text-light: #a0a0a0;
    /* Lighter text */
    --border-color: rgba(255, 255, 255, 0.1);
    --heading-font: 'Poppins', 'Arial', sans-serif;
    /* Ensure Poppins is loaded */
    --body-font: 'Roboto', 'Helvetica Neue', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.25);
    --border-radius: 8px;
    /* Slightly softer corners */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.125rem;
    /* Increased base font size for readability */
    line-height: 1.8;
    /* Slightly increased line height for better spacing */
    margin: 0;
    padding: 0;
    background-color: var(--surface-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* --- Keyframe Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Header --- */
header {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(12px);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(18, 18, 18, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    text-decoration: none;
}

#logo img {
    height: 80px;
    width: auto;
    display: block;
}

#main-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

#main-nav ul li {
    margin-left: 30px;
}

#main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    font-size: 16px;
}

#main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease-out;
}

#main-nav a:hover {
    color: #fff;
}

#main-nav a:hover::after {
    width: 100%;
    left: 0;
}

#hamburger-btn {
    display: none;
}

/* --- Hero Section --- */
#hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    color: var(--text-color);
    text-align: center;
    padding: 160px 20px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated gradient orbs */
#hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-orb 15s ease-in-out infinite;
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-orb 20s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out 0.5s both;
    line-height: 1.2;
}

#hero h1 span {
    background: linear-gradient(135deg, var(--primary-color) 0%, #f0d77c 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

#hero p {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto 45px;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 1s both;
    line-height: 1.8;
}

.btn-hero {
    animation: fadeInUp 1s ease-out 1.5s both;
    padding: 20px 50px;
    font-size: 1.15rem;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

/* --- General Section Styling --- */
section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-family: var(--heading-font);
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #fff;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* --- Clients Section --- */
#clients {
    padding: 120px 0;
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.clients-title {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 120px;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease-in-out;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(1) brightness(0.9);
    transition: all 0.3s ease-in-out;
}

.client-logo:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.client-logo:hover img {
    opacity: 1;
    filter: grayscale(0) brightness(1);
}

/* --- Process Section --- */
#process {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

#process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 50px;
}

/* Swiper slider equal height fix */
.process-slider .swiper-wrapper {
    align-items: stretch;
}

.process-slider .swiper-slide {
    height: auto;
    display: flex;
}

.process-step {
    text-align: center;
    padding: 45px 35px;
    background: linear-gradient(145deg, var(--surface-color) 0%, rgba(18, 18, 18, 0.9) 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(212, 175, 55, 0.1);
}

.process-step:hover::before {
    opacity: 1;
}

.process-number {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--surface-color);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 25px auto;
    font-family: var(--heading-font);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 25px rgba(212, 175, 55, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.process-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.2);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.process-step h3 {
    font-family: var(--heading-font);
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.process-step p {
    max-width: 75ch;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.7;
    flex-grow: 1;
}

/* --- Stats Section --- */
#stats {
    background: linear-gradient(180deg, var(--surface-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

#stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

#stats .section-title {
    color: #fff;
}

#stats .section-title::after {
    background: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    padding: 35px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(212, 175, 55, 0.03);
}

.stat-item h3 {
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #f0d77c 50%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .stat-item h3 {
        font-size: 2.8rem;
    }
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* --- Packages Section --- */
#packages {
    background-color: var(--surface-color);
}

.packages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    align-items: stretch;
}

.package-card {
    flex: 0 1 340px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.package-card-highlighted {
    border: 1px solid var(--primary-color);
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 1;
    background-color: var(--secondary-color);
}

.recommended-badge {
    background-color: var(--primary-color);
    color: var(--surface-color);
    font-size: 0.9rem;
    font-weight: bold;
    padding: 7px 18px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    align-self: center;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.package-card-highlighted:hover {
    transform: translateY(-30px) scale(1.05);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}

.package-card h3 {
    font-family: var(--heading-font);
    font-size: 1.9rem;
    color: var(--primary-color);
    margin-top: 0;
}

.package-card .price {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 10px 0;
    color: #fff;
    white-space: nowrap;
    /* Ensure price stays on one line */
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    flex-grow: 1;
}

.package-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.package-card ul li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
}

/* --- Portfolio Section --- */
#portfolio {
    background-color: var(--secondary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* Needed for the overlay */
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.portfolio-item img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    color: #fff;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-content h3 {
    font-family: var(--heading-font);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #fff;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* --- Blog Section --- */
#blog {
    background-color: var(--surface-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.blog-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content h3 {
    font-family: var(--heading-font);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 75ch;
    flex-grow: 1;
}

.blog-card-content .btn {
    font-size: 0.9rem;
    padding: 12px 25px;
    align-self: flex-start;
}

/* --- Blog & Post Pages --- */
.main-content-page {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 50px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-meta {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: -30px;
}

.post-header .post-meta {
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.post-content {
    margin: 0 auto;
}

.post-content>p,
.post-content>h2,
.post-content>ul,
.post-content>ol {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-content h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-navigation {
    text-align: center;
    margin-top: 50px;
}

/* --- Automation Page Specifics --- */
.automation-examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.example-card {
    flex: 0 1 340px;
    /* Control the width and allow centering */
    background: var(--secondary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.example-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.example-card h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.example-card .icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--heading-font);
}

.btn:hover {
    background: var(--primary-color);
    color: var(--surface-color);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--surface-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--surface-color);
}

/* --- Contact Form --- */
#contact {
    background: var(--secondary-color);
}

.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.contact-info h4 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 75ch;
    margin-left: 0;
    color: var(--text-light);
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23a0a0a0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.4-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
}

.form-group select::-ms-expand {
    display: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.contact-form .btn {
    cursor: pointer;
    align-self: center;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* --- Footer --- */
#main-footer {
    background: #000;
    color: var(--text-light);
    padding: 80px 0 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    flex-wrap: wrap;
}

.footer-about {
    flex: 2;
    min-width: 250px;
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

#logo-footer {
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 75ch;
    margin-left: 0;
}

#logo-footer img {
    height: 50px;
    width: auto;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--heading-font);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.social-icons a {
    color: var(--text-light);
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- About Section Description --- */
.about-description {
    text-align: center;
    max-width: 800px;
    max-width: 75ch;
    margin: 0 auto 20px auto;
}

/* --- Contact Section Description --- */
.contact-description {
    text-align: center;
    max-width: 75ch;
    margin: -20px auto 30px;
}

/* --- CTA Parallax Section --- */
#cta-parallax {
    position: relative;
    padding: 120px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    text-align: center;
    overflow: hidden;
}

#cta-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

#cta-parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

#cta-parallax .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

#cta-parallax .section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#cta-parallax .section-title::after {
    display: none;
}

#cta-parallax p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#cta-parallax .btn {
    padding: 18px 45px;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}

#cta-parallax .btn:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.35);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    #cta-parallax {
        padding: 80px 20px;
    }

    #cta-parallax .section-title {
        font-size: 2rem;
    }

    #cta-parallax p {
        font-size: 1.1rem;
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    #hero h1 {
        font-size: 2.8rem;
    }

    #main-nav {
        display: none;
    }

    #hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

    .hamburger-line {
        width: 30px;
        height: 3px;
        background: var(--text-light);
        border-radius: 10px;
    }

    #main-nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--secondary-color);
        box-shadow: var(--shadow-md);
        padding: 10px 0;
    }

    #main-nav ul {
        flex-direction: column;
    }

    #main-nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    .package-card-highlighted {
        transform: scale(1);
    }

    .footer-top {
        flex-direction: column;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Added for Hero Section responsiveness */
@media (max-width: 992px) {
    #hero h1 {
        font-size: 3rem;
    }

    /* Adjusted for tablets */
}

@media (max-width: 576px) {
    #hero h1 {
        font-size: 2.2rem;
    }

    /* Adjusted for mobile */
    #hero p {
        font-size: 1.1rem;
    }

    /* Adjust hero paragraph on mobile */
}

/* Responsive adjustments for Section Titles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
}

/* ==========================================
   ENHANCED BLOG POST STYLES
   ========================================== */

/* Reading Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #f0d77c 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Post Hero Section */
.post-hero {
    position: relative;
    padding: 160px 20px 100px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.post-hero .container {
    position: relative;
    z-index: 2;
}

/* Post Category Badge */
.post-category {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

/* Post Title */
.post-title {
    font-size: 3.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 35px !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Post Meta Enhanced */
.post-meta-enhanced {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--surface-color);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.post-date {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Enhanced Article Container */
#blog-post {
    padding: 80px 20px;
}

#blog-post .post-image {
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px;
    transition: transform 0.3s ease;
}

#blog-post .post-image:hover {
    transform: scale(1.01);
}

/* Enhanced Post Content Typography */
.post-content {
    max-width: 750px;
    margin: 0 auto;
}

.post-content>p:first-of-type::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 0.8;
    font-weight: 700;
    margin-right: 12px;
    margin-top: 8px;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

.post-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    color: var(--text-color);
}

.post-content h2 {
    font-size: 1.9rem;
    margin-top: 60px;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
    color: #fff;
    position: relative;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    bottom: -10px;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

/* Share Section */
.share-section {
    text-align: center;
    margin: 60px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 500px;
}

.share-section h4 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0 0 25px 0;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: var(--secondary-color);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.share-twitter:hover {
    background: #000;
    border-color: #333;
}

.share-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.share-copy:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--surface-color);
}

/* Author Card */
.author-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin: 50px auto;
    max-width: 600px;
}

.author-card-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--surface-color);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.author-card-content h4 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 10px 0;
}

.author-card-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Enhanced Post Navigation */
.post-navigation {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.post-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.post-navigation .btn span {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.post-navigation .btn:hover span {
    transform: translateX(-5px);
}

/* Responsive for Post */
@media (max-width: 768px) {
    .post-hero {
        padding: 120px 20px 80px;
        min-height: 300px;
    }

    .post-title {
        font-size: 2.2rem !important;
    }

    .post-category {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .author-name {
        font-size: 1rem;
    }

    .post-date {
        font-size: 0.85rem;
    }

    .post-content>p:first-of-type::first-letter {
        font-size: 3rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
        margin-top: 40px;
    }

    .share-section {
        padding: 30px 20px;
    }

    .share-btn {
        width: 45px;
        height: 45px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .author-card-avatar {
        width: 70px;
        height: 70px;
    }
}