/* General Section Styling */
.our-work {
    background-color: #f9f9f9;
    padding: 8rem 2rem;
    /* 40px 20px */
    max-width: 120rem;
    /* 1200px */
    margin: 0 auto;
    border-radius: 1rem;
    /* 10px */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Shadow of 4px and blur of 8px */
}

.section-title {
    font-size: 3.2rem;
    /* 32px */
    text-align: center;
    color: #414A7C;
    /* Medium Blue */
    margin-bottom: 2rem;
    /* 20px */
}

/* Intro Paragraph Styling */
.intro p {
    font-size: 1.8rem;
    /* 18px */
    color: #555;
    text-align: center;
    margin-bottom: 4rem;
    /* 40px */
}

/* Portfolio Section Styling */
.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    /* min-width of 300px */
    gap: 2rem;
    /* Gap between grid items (20px) */
}

.project {
    /* background-color: #fff; */
    border-radius: 1rem;
    /* Rounded corners (10px) */
    overflow: hidden;
    box-shadow: 0 .4rem .8rem rgba(0, 0, 0, .1);
    /* Shadow (4px and blur of (8px)) */
}

.project-image {
    width: 100%;
    height: auto;
}

.project-details {
    padding: 2rem;
    /* Padding of (20px) */
}

.project-details h3 {
    font-size: 2.4rem;
    /* Font size of (24px) */
    color: #414A7C;
    /* Medium Blue */
}

.project-details p {
    font-size: 1.8rem;
    /* Font size of (16px) */
    color: #555;
    margin-bottom: 1rem;
    /* Margin bottom (10px) */
}

.project-details ul {
    list-style-type: none;
    padding-left: 2rem;
    /* Padding left of (20px) */
}

.project-details ul li {
    font-size: 1.6rem;
    /* Font size of (14px) */
    color: #555;
}

.project-details ul li::before {
    content: "\25B8";
    /* Arrow symbol */
    color: #E0AE81;
    /* Medium Orange */
    font-size: 2rem;
    /* Font size of arrow symbol (12px) */
    margin-right: .5rem;
    /* Margin right of arrow (5px) */
}

/* Testimonials Section Styling */
.testimonials {
    background-color: #f9f9f9;
    padding: 3rem;
    /* 30px */
    margin-top: 4rem;
    /* 40px */
    border-radius: 1rem;
    /* 10px */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Shadow of 4px and blur of 8px */
}

.testimonials h2 {
    font-size: 2.4rem;
    /* 24px */
    text-align: center;
    color: #414A7C;
    /* Medium Blue */
}

blockquote {
    font-style: italic;
    color: #555555;
    /* Medium gray */
    margin-top: 2rem;
    /* 20px */
    padding-left: 2rem;
    /* 20px */
    border-left: 0.5rem solid #DB9F6B;
    /* Dark Orange (5px) */
}

blockquote p {
    margin-bottom: 1rem;
    /* 10px */
    font-size: 1.8rem;
}

blockquote cite {
    display: block;
    text-align: right;
    font-size: 1.5rem;
    /* 14px */
}

/* Call-to-Action Section Styling */
.cta {
    background-color: #414A7C;
    /* Medium Blue */
    color: white;
    text-align: center;
    padding: 3rem;
    /* 30px */
    margin-top: 4rem;
    /* 40px */
    border-radius: 1rem;
    /* Rounded corners (10px) */
}

.cta h2 {
    font-size: 2.8rem;
    /* Font size of (28px) */
}

.cta p {
    font-size: 1.8rem;
    /* Font size of (18px) */
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    /* Padding of (10px x-axis, 20px y-axis) */
    background-color: #E0AE81;
    /* Medium Orange */
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    /* Rounded corners (5px) */
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #DB9F6B;
    /* Dark Orange on hover */
}


/**********************/
/* What We Do Section */
/**********************/

.what-we-do {
    background-color: #f9f9f9;
    padding: 8rem 2rem;
    /* 40px 20px */
    max-width: 120rem;
    /* 1200px */
    margin: 0 auto;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.what-we-do h1 {
    font-size: 3.2rem;
    /* Font size of (32px) */
    text-align: center;
    color: #414A7C;
    /* Medium Blue */
    margin-bottom: 2rem;
    /* Spacing below the heading (20px) */
}

/* Services Section Styling */
.services {
    padding: 2rem;
    margin-bottom: 4rem;
    background: #EBF3FF;
    border-radius: 1rem;
}

.services h2 {
    font-size: 2.8rem;
    /* Font size of (28px) */
    text-align: center;
    color: #414A7C;
    /* Medium Blue */
    margin-bottom: 3rem;
    /* Spacing below the section title (30px) */
}

.service-item {
    background-color: #fff;
    padding: 3rem;
    /* Padding inside each service item (30px) */
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    margin: 3rem;
    /* Spacing between service items (20px) */
}

.service-item h3 {
    font-size: 2.4rem;
    /* Font size of (24px) */
    color: #414A7C;
    /* Medium Blue */
    margin-bottom: 1.5rem;
    /* Spacing below the service title (15px) */
}

.service-item p {
    font-size: 1.6rem;
    /* Font size of (16px) */
    color: #555;
}

/* Approach Section Styling */
.approach {
    margin-bottom: 4rem;
    /* Spacing below approach section (40px) */
}

.approach h2 {
    font-size: 2.8rem;
    /* Font size of (28px) */
    text-align: center;
    color: #414A7C;
    /* Medium Blue */
    margin-bottom: 3rem;
    /* Spacing below the section title (30px) */
}

.approach p {
    font-size: 1.8rem;
    /* Font size of (18px) */
    color: #555;
    text-align: center;
}


/***********/
/* SAMPLES */
/***********/

/* General Section Styling */
.samples {
    background-color: #f9f9f9;
    padding: 8rem 2rem;
    /* 40px 20px */
    max-width: 120rem;
    /* 1200px */
    margin: 0 auto;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

/* Intro Paragraph Styling */
.intro p {
    font-size: 1.8rem;
    /* Font size of (18px) */
    color: #555;
    text-align: center;
    margin-bottom: 4rem;
    /* Spacing below the intro paragraph (40px) */
}

/* Sample Grid Styling */
.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    /* Responsive grid layout with min-width of 300px */
    gap: 2rem;
    /* Gap between grid items (20px) */
}

.sample-item {
    background-color: #fff;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    overflow: hidden;
    box-shadow: 0 .4rem .8rem rgba(0, 0, 0, .1);
    /* Subtle shadow */
}

.sample-image {
    width: 100%;
    height: auto;
}

.sample-details {
    padding: 2rem;
    /* Padding inside each sample item (20px) */
    text-align: center;
}

.sample-details h3 {
    font-size: 2.4rem;
    /* Font size of (24px) */
    color: #414A7C;
    /* Medium Blue */
    margin-bottom: 1.5rem;
    /* Spacing below the sample title (15px) */
}

.sample-details p {
    font-size: 1.6rem;
    /* Font size of (16px) */
    color: #555;
}

.view-demo {
    display: inline-block;
    margin-top: 1.5rem;
    /* Margin above the button (15px) */
    padding: 1rem 2rem;
    /* Padding inside button (10px x-axis, 20px y-axis) */
    background-color: #E0AE81;
    /* Medium Orange button background color */
    color: white;
    text-decoration: none;
    border-radius: .5rem;
    /* Rounded corners for button (5px) */
    font-size: 1.75rem;
    transition: background-color .3s ease-in-out;
}

.view-demo:hover {
    background-color: #DB9F6B;
    /* Dark Orange on hover effect for button */
}

/* Custom Solutions Section Styling */
.custom-solutions {
    margin-top: 4rem;
    /* Spacing above section */
    text-align: center;
    /* Center inline/inline-block children horizontally */
}

.custom-solutions h2 {
    font-size: 2.8rem;
    color: #414A7C;
    margin-bottom: 1rem;
    /* Optional spacing below heading */
}

.custom-solutions p {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 2rem;
    /* Optional spacing below paragraph */
}

.cta-button {
    display: inline-block;
    /* Enable text-align centering */
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: #E0AE81;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 1.75rem;
    transition: background-color 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #DB9F6B;
}


/* Technologies Section Styling */
.technologies {
    margin-top: 4rem;
    /* Spacing above technologies section (40px) */
    text-align: center;
}

.technologies h2 {
    font-size: 2.8rem;
    /* Font size of section heading (28px) */
    color: #414A7C;
    /* Medium Blue */
    margin-bottom: 3rem;
    /* Spacing below the heading (30px) */
}

/* Carousel Container */
.carousel {
    overflow: hidden;
    /* Hide overflow to create a clean carousel effect */
    position: relative;
    padding: 0.75rem 0;
}

/* Carousel List */
.tech-list {
    list-style: none;
    /* Remove default bullet points */
    padding: 0;
    /* Remove default padding */
    display: flex;
    /* Arrange items in a row */
    gap: 2rem;
    /* Space between items */
    will-change: transform;
    /* Optimize for smooth animations */
}

/* Carousel List Items */
.tech-list li {
    flex: 0 0 auto;
    /* Prevent items from shrinking or growing */
    background-color: #fff;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    padding: 2rem;
    /* Padding inside each list item (20px) */
    font-size: 1.6rem;
    /* Font size of list items (16px) */
    color: #555;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Spacing between icon and text (15px) */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-list li:hover {
    transform: translateY(-0.5rem);
    /* Slight lift on hover (5px) */
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
}

.tech-list li::before {
    content: "✔";
    /* Checkmark icon for each item */
    font-size: 2rem;
    /* Icon size (20px) */
    color: #E0AE81;
    /* Medium Orange for the icon */
}

/*********/
/* ABOUT */
/*********/

/* General Section Styling */
.about {
    background-color: #f9f9f9;
    padding: 8rem 2rem;
    /* 40px 20px */
    max-width: 120rem;
    /* 1200px */
    margin: 0 auto;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

/* Company Intro Styling */
.company-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* Space between image and text (20px) */
    margin-bottom: 4rem;
    /* Spacing below company intro (40px) */
}

.company-logo {
    width: 12rem;
    /* Logo size (120px) */
    height: auto;
    border-radius: 1rem;
    /* Rounded corners for logo (10px) */
}

.company-intro p {
    font-size: 1.8rem;
    /* Font size of (18px) */
    color: #555;
}

/* Unified section spacing */
.our-story,
.our-mission,
.our-team,
.our-values {
    margin-bottom: 4rem;
    /* Maintain good vertical rhythm */
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Karla", sans-serif;
    color: #555;
    line-height: 1.6;
    font-size: clamp(1.6rem, 1.2vw, 1.9rem);
    /* Fluid font size */
    text-align: left;
    /* Left align for readability */
}

/* Section headings unified style */
.our-story h2,
.our-mission h2,
.our-team h2,
.our-values h2 {
    font-size: clamp(2.6rem, 2vw, 3.2rem);
    /* Fluid scaling */
    color: #414A7C;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Paragraph and list inside these sections */
.our-story p,
.our-mission p,
.our-team ul,
.our-values ul {
    font-size: clamp(1.8rem, 1vw, 1.8rem);
    color: #555;
    margin-bottom: 1.4rem;
    line-height: 1.6;
    text-align: left;
}

/* Optional: enhanced ul styling */
.our-team ul,
.our-values ul {
    list-style: none;
    padding-left: 1.8rem;
    margin-left: 0;
    display: grid;
    gap: 0.9rem;
}

.our-team ul li::before,
.our-values ul li::before {
    content: none;
    /* Elegant checkmark */
    color: #DB9F6B;
    font-weight: bold;
    margin-right: 0.8rem;
}

/* Mobile-friendly margin tweaks */
@media (max-width: 600px) {

    .our-story,
    .our-mission,
    .our-team,
    .our-values {
        padding: 0 1rem;
        font-size: clamp(1.3rem, 2vw, 1.7rem);
    }

    .our-story h2,
    .our-mission h2,
    .our-team h2,
    .our-values h2 {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
}


/* Team Section Styling */
.our-team {
    margin-bottom: 4rem;
    /* Spacing below team section (40px) */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    /* Responsive grid layout with min-width of 250px */
    gap: 2rem;
    /* Gap between team members (20px) */
}

.team-member {
    text-align: center;
    background-color: #fff;
    padding: 2rem;
    /* Padding inside each team member card (20px) */
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 .4rem .8rem rgba(0, 0, 0, .1);
    /* Subtle shadow for cards */
}

.team-member img {
    width: 10rem;
    /* Image size (100px) */
    height: auto;
    border-radius: 50%;
    /* Circular image style for team members */
    margin-bottom: 1.5rem;
    /* Spacing below image (15px) */
}

.team-member h3 {
    font-size: 2.4rem;
    /* Font size of team member names (24px) */
    color: #414A7C;
    /* Medium Blue */
}

.team-member p {
    font-size: 1.6rem;
    /* Font size of team member roles (16px) */
    color: #555;
}

/* Approach List Styling */
.our-team ul {
    list-style-type: none;
    /* Remove default bullet points */
    padding-left: 0;
}

.our-team ul li {
    font-size: 1.8rem;
    /* Font size of list items (18px) */
    color: #555;
    margin-bottom: 1.5rem;
    /* Spacing between list items (15px) */
}

.our-team ul li strong {
    color: #414A7C;
    /* Highlighted text in Medium Blue */
}

/* Values List Styling */


.our-values ul li {
    font-size: 1.8rem;
    /* Font size of list items (18px) */
}

/* Call-to-Action Section Styling */
.cta {
    background-color: #414A7C;
    /* Medium Blue background for CTA section */
    color: white;
    text-align: center;
    padding: 3rem;
    /* Padding inside CTA section (30px) */
    border-radius: 1rem;
    /* Rounded corners for CTA section (10px) */
}

.cta h2 {
    font-size: 2.8rem;
    /* Font size of CTA heading (28px) */
}

.cta p {
    font-size: 1.8rem;
    /* Font size of CTA paragraph text (18px) */
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    /* Margin above the button (20px) */
    padding: 1rem 2rem;
    /* Padding inside button (10px x-axis, 20px y-axis) */
    background-color: #E0AE81;
    /* Medium Orange button background color */
    color: white;
    text-decoration: none;
    border-radius: .5rem;
    /* Rounded corners for button (5px) */
}

.cta-button:hover {
    background-color: #DB9F6B;
    /* Dark Orange on hover effect for button */
}


/***************/
/* OUR PROCESS */
/***************/

/* General Section Styling */
.our-process {
    background-color: #f9f9f9;
    padding: 8rem 2rem;
    /* 40px 20px */
    max-width: 120rem;
    /* 1200px */
    margin: 0 auto;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

/* Process Intro Styling */
.process-intro p {
    font-size: 1.8rem;
    /* Font size of (18px) */
    color: #555;
    text-align: center;
    margin-bottom: 4rem;
    /* Spacing below the intro paragraph (40px) */
}

/* Process Steps Styling */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    /* Responsive grid layout with min-width of 300px */
    gap: 2rem;
    /* Gap between steps (20px) */
}

.step {
    background-color: #fff;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    padding: 3rem;
    /* Padding inside each step (30px) */
    box-shadow: 0 .4rem .8rem rgba(0, 0, 0, .1);
    /* Subtle shadow for cards */
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    font-size: 3.6rem;
    color: #E0AE81;
    font-weight: bold;
    margin-bottom: 0;
    /* remove bottom margin */
    width: 4.5rem;
    text-align: center;
}

.step-header h2 {
    margin: 0;
    /* remove top and bottom margin */
    font-size: 2.8rem;
    color: #414A7C;
}


.step h2 {
    font-size: 2.8rem;
    /* Font size of step title (28px) */
    color: #414A7C;
    /* Medium Blue for titles */
    /* margin-bottom: 1.5rem; */
    /* Spacing below the title (15px) */
}

.step p {
    font-size: 1.8rem;
    /* Font size of step description (16px) */
    color: #555;
}

.step ul {
    list-style-type: disc;
    padding-left: 3rem;
    /* Indentation for bullet points (30px) */
}

.step ul li {
    font-size: 1.6rem;
    /* Font size of list items (16px) */
    color: #555;
}

/* Process Benefits Section Styling */
.process-benefits {
    margin-top: 7rem;
    /* Spacing above benefits section (40px) */
}

.process-benefits h2 {
    font-size: 2.8rem;
    /* Font size of section heading (28px) */
    text-align: center;
    color: #414A7C;
    /* Medium Blue for titles */
    padding-bottom: 2rem;
}

.process-benefits ul {
    list-style-type: none;
    /* Remove default bullet points */
    padding-left: 0;
}

.process-benefits ul li {
    font-size: 1.8rem;
    /* Font size of list items (18px) */
    color: #555;
    margin-bottom: 1.5rem;
    /* Spacing between list items (15px) */
}

.process-benefits ul li strong {
    color: #414A7C;
    /* Highlighted text in Medium Blue */
}

/* Call-to-Action Section Styling */
.cta {
    background-color: #414A7C;
    /* Medium Blue background for CTA section */
    color: white;
    text-align: center;
    padding: 3rem;
    /* Padding inside CTA section (30px) */
    border-radius: 1rem;
    /* Rounded corners for CTA section (10px) */
}

.cta h2 {
    font-size: 2.8rem;
    /* Font size of CTA heading (28px) */
}

.cta p {
    font-size: 1.8rem;
    /* Font size of CTA paragraph text (18px) */
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    /* Margin above the button (20px) */
    padding: 1rem 2rem;
    /* Padding inside button (10px x-axis, 20px y-axis) */
    background-color: #E0AE81;
    /* Medium Orange button background color */
    color: white;
    text-decoration: none;
    border-radius: .5rem;
    /* Rounded corners for button (5px) */
}

.cta-button:hover {
    background-color: #DB9F6B;
    /* Dark Orange on hover effect for button */
}

/********/
/* NEWS */
/********/

.news {
    background-color: #f9f9f9;
    padding: 8rem 2rem;
    max-width: 120rem;
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.08);
}

/* Center the main title a bit nicer */
.news .section-title {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #111827;
}

/* Intro text */
.news-intro {
    max-width: 70rem;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.news-intro p {
    font-size: 1.8rem;
    color: #4b5563;
}

/* Responsive grid:
   - Desktop: up to 4 columns
   - Tablets: 2–3 columns depending on width
   - Mobile: 1 column */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.4rem;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Make the whole card clickable */
.news-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-post-link:focus-visible {
    outline: 0.18rem solid #e0ae81;
    outline-offset: 0.3rem;
    border-radius: 1.2rem;
}

/* Card styling (reuse from before, minus read-more) */
.news-post {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.2rem 0.6rem rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
        background-color 0.18s ease-out;
}

.news-post-link:hover .news-post {
    transform: translateY(-4px);
    box-shadow: 0 1.2rem 2.4rem rgba(15, 23, 42, 0.14);
    background-color: #f9fafb;
}

/* Image and text spacing already defined; just ensure no read-more margins */
.post-content {
    padding: 1.8rem 2rem 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.post-excerpt {
    font-size: 1.5rem;
    color: #4b5563;
    margin-top: 0.4rem;
}


/* Card styling */
.news-post {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.2rem 0.6rem rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.news-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.2rem 2.4rem rgba(15, 23, 42, 0.12);
}

/* Image and content */
.post-image {
    width: 100%;
    height: 18rem;
    object-fit: cover;
}

.post-content {
    padding: 1.8rem 2rem 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.post-title {
    font-size: 1.9rem;
    line-height: 1.3;
    color: #111827;
    margin: 0;
}

.post-meta {
    font-size: 1.3rem;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.post-excerpt {
    font-size: 1.5rem;
    color: #4b5563;
    margin-top: 0.4rem;
}

/* Categories / search / CTA spacing */
.news-categories,
.news-search,
.cta {
    margin-top: 5rem;
}

.news-categories h2,
.news-search h2 {
    font-size: 2.2rem;
    color: #111827;
    margin-bottom: 1.6rem;
}

.news-categories ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.news-categories li a {
    font-size: 1.5rem;
    color: #414A7C;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background-color: #e5e7eb;
}

.news-categories li a:hover {
    background-color: #d1d5db;
}

/* Search bar */
.news-search {
    text-align: center;
}

.news-search form {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.news-search input[type="text"] {
    font-size: 1.6rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    border: 0.1rem solid #d1d5db;
    min-width: 26rem;
}

.news-search button[type="submit"] {
    font-size: 1.6rem;
    padding: 0.8rem 1.8rem;
    background-color: #e0ae81;
    color: white;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease-out, transform 0.15s ease-out,
        box-shadow 0.15s ease-out;
}

.news-search button[type="submit"]:hover {
    background-color: #db9f6b;
    transform: translateY(-1px);
    box-shadow: 0 0.4rem 0.9rem rgba(15, 23, 42, 0.2);
}

/* CTA */
.cta {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #111827;
    color: #e5e7eb;
    border-radius: 1rem;
    margin-top: 6rem;
}

.cta h2 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
}

.cta p {
    font-size: 1.6rem;
    margin-bottom: 1.6rem;
}

.cta .cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background-color: #e0ae81;
    color: #111827;
    text-decoration: none;
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 600;
    transition: background-color 0.2s ease-out, transform 0.15s ease-out,
        box-shadow 0.15s ease-out;
}

.cta .cta-button:hover {
    background-color: #db9f6b;
    transform: translateY(-1px);
    box-shadow: 0 0.6rem 1.2rem rgba(15, 23, 42, 0.4);
}

/* Pagination small polish */
.pagination {
    text-align: center;
    margin-top: 3rem;
}

.pagination .step-links a,
.pagination .current {
    font-size: 1.5rem;
}


/****************/
/* NEWS CATEGORY */
/****************/

.news-category {
    background-color: #f9fafb;
    padding: 6rem 2rem 8rem 2rem;
    max-width: 120rem;
    margin: 0 auto;
    border-radius: 1rem;
}

.news-category-header {
    text-align: center;
    margin-bottom: 4rem;
}

.news-category-kicker {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.news-category .section-title {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    color: #111827;
}

.news-category-subtitle {
    font-size: 1.5rem;
    color: #4b5563;
    max-width: 60rem;
    margin: 0 auto 1.6rem auto;
}

.news-category-back a {
    font-size: 1.4rem;
    color: #414A7C;
    text-decoration: none;
}

.news-category-back a:hover {
    text-decoration: underline;
}

.news-category-empty {
    font-size: 1.5rem;
    color: #4b5563;
    margin-top: 2rem;
}

/*************/
/* NEWS DETAIL */
/*************/

.news-detail {
    max-width: 80rem;
    margin: 0 auto;
    padding: 6rem 2rem 8rem 2rem;
}

.news-detail-header {
    text-align: left;
    margin-bottom: 2.4rem;
}

.news-detail-kicker {
    font-size: 1.3rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.6rem;
}

.news-detail-title {
    font-size: 3.2rem;
    line-height: 1.15;
    color: #111827;
    margin: 0 0 1.2rem 0;
}

@media (max-width: 640px) {
    .news-detail-title {
        font-size: 2.4rem;
    }
}

.news-detail-meta {
    font-size: 1.4rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.news-detail-meta .dot {
    font-size: 1.2rem;
}

/* Hero image */
.news-detail-hero {
    margin: 2.4rem 0 2.8rem 0;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 1.4rem 2.8rem rgba(15, 23, 42, 0.22);
}

.news-detail-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article body */
.news-detail-body {
    font-size: 1.7rem;
    line-height: 1.7;
    color: #111827;
}

.news-detail-body p {
    margin-bottom: 1.4rem;
}

.news-detail-body h2,
.news-detail-body h3 {
    margin-top: 2.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #111827;
}

.news-detail-body h2 {
    font-size: 2.1rem;
}

.news-detail-body h3 {
    font-size: 1.8rem;
}

.news-detail-body ul,
.news-detail-body ol {
    margin: 1.2rem 0 1.6rem 1.8rem;
}

.news-detail-body li {
    margin-bottom: 0.6rem;
}

/* Footer back link */
.news-detail-footer {
    margin-top: 3.2rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.news-detail-back {
    font-size: 1.5rem;
    color: #414A7C;
    text-decoration: none;
}

.news-detail-back:hover {
    text-decoration: underline;
}


/*****************/
/* NEWS SEARCH UI */
/*****************/

.news-search-page {
    background-color: #f9fafb;
    padding: 6rem 2rem 8rem 2rem;
    max-width: 120rem;
    margin: 0 auto;
    border-radius: 1rem;
}

.news-search-header {
    text-align: center;
    margin-bottom: 4rem;
}

.news-search-kicker {
    font-size: 1.3rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.news-search-page .section-title {
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
    color: #111827;
}

.news-search-summary {
    font-size: 1.5rem;
    color: #4b5563;
    margin-bottom: 1.8rem;
}

/* Inline search form on results page */
.news-search-inline {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.news-search-inline input[type="text"] {
    font-size: 1.6rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    border: 0.1rem solid #d1d5db;
    min-width: 26rem;
    outline: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.news-search-inline input[type="text"]:focus {
    border-color: #e0ae81;
    box-shadow: 0 0 0 0.15rem rgba(224, 174, 129, 0.3);
}

.news-search-inline button[type="submit"] {
    font-size: 1.6rem;
    padding: 0.8rem 1.8rem;
    background-color: #e0ae81;
    color: white;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease-out, transform 0.15s ease-out,
        box-shadow 0.15s ease-out;
}

.news-search-inline button[type="submit"]:hover {
    background-color: #db9f6b;
    transform: translateY(-1px);
    box-shadow: 0 0.4rem 0.9rem rgba(15, 23, 42, 0.2);
}

.news-search-back {
    margin-top: 0.4rem;
}

.news-search-back a {
    font-size: 1.4rem;
    color: #414A7C;
    text-decoration: none;
}

.news-search-back a:hover {
    text-decoration: underline;
}

/* Empty state */
.news-search-empty {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: #4b5563;
    text-align: center;
}


/***************/
/* NEWS SUBSCRIBE */
/***************/

.news-subscribe {
    min-height: calc(100vh - 12rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 40%, #d1d5db 100%);
}

.news-subscribe-card {
    width: 100%;
    max-width: 48rem;
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 1.2rem 2.4rem rgba(15, 23, 42, 0.16);
    padding: 3.2rem 3rem 3.4rem 3rem;
}

.news-subscribe .section-title {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
    text-align: center;
    color: #111827;
}

.news-subscribe-intro {
    font-size: 1.6rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 2.4rem;
}

.news-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.news-subscribe-field label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
}

.news-subscribe-field input[type="email"],
.news-subscribe-field input[type="text"] {
    width: 100%;
    font-size: 1.6rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 0.1rem solid #d1d5db;
    outline: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.news-subscribe-field input:focus {
    border-color: #e0ae81;
    box-shadow: 0 0 0 0.15rem rgba(224, 174, 129, 0.3);
}

.news-subscribe-note {
    font-size: 1.3rem;
    color: #6b7280;
}

.news-subscribe-button {
    width: 100%;
    justify-content: center;
}

.news-subscribe-back {
    margin-top: 2.4rem;
    text-align: center;
}

.news-subscribe-back a {
    font-size: 1.4rem;
    color: #414A7C;
    text-decoration: none;
}

.news-subscribe-back a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .news-subscribe-card {
        padding: 2.4rem 2rem 2.6rem 2rem;
    }

    .news-subscribe .section-title {
        font-size: 2.2rem;
    }
}


/****************/
/* CONFIRM PLAN */
/****************/

/* Confirm Plan Section Styling */
.confirm-plan {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    /* 40px 20px */
    max-width: 60rem;
    /* 600px */
    margin: 0 auto;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    text-align: center;
    /* Center-align content */
}

.plan-name {
    font-size: 2.4rem;
    /* Font size of plan name (24px) */
    color: #E0AE81;
    /* Medium Orange */
    margin-bottom: 1.5rem;
    /* Spacing below the plan name (15px) */
}

.plan-price,
.plan-description {
    font-size: 1.8rem;
    /* Font size of description and price (18px) */
    color: #555;
    margin-bottom: 2rem;
    /* Spacing below each paragraph (20px) */
}

.plan-features {
    list-style-type: disc;
    padding-left: 3rem;
    /* Indentation for bullet points (30px) */
    text-align: left;
    /* Align list items to the left */
}

.plan-features li {
    font-size: 1.6rem;
    /* Font size of list items (16px) */
    color: #555;
    margin-bottom: 1rem;
    /* Spacing between list items (10px) */
}

/* Button Styling */
.btn-primary {
    display: inline-block;
    margin-top: 3rem;
    /* Margin above the button (30px) */
    padding: 1rem 2rem;
    /* Padding inside button (10px x-axis, 20px y-axis) */
    background-color: #E0AE81;
    /* Medium Orange button background color */
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    /* Font size of button text (16px) */
    border-radius: .5rem;
    /* Rounded corners for button (5px) */
    transition: background-color .3s ease-in-out;
}

.btn-primary:hover {
    background-color: #DB9F6B;
    /* Dark Orange on hover effect for button */
}

/*******************/
/* PROJECT DETAILS */
/*******************/

/* Form Styling */
.details-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Space between form elements (20px) */
}

.details-form p {
    font-size: 1.6rem;
    /* Font size of form labels and inputs (16px) */
}

/* Error Message Styling */
.form-errors {
    background-color: #ffe6e6;
    /* Light red background for errors */
    border-left: .5rem solid #414A7C;
    /* Red accent border for errors */
    padding: 1.5rem;
    /* Padding inside the error container (15px) */
    border-radius: .5rem;
    /* Rounded corners (5px) */
    margin-bottom: 2rem;
    /* Spacing below the error container (20px) */
}

.form-errors ul {
    list-style-type: none;
    padding-left: 0;
}

.form-errors li {
    font-size: 1.6rem;
    /* Font size of error messages (16px) */
    color: #414A7C;
    /* Red text for errors */
}

/* Button Styling */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    /* Padding inside button (10px x-axis, 20px y-axis) */
    background-color: #E0AE81;
    /* Medium Orange button background color */
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    /* Font size of button text (16px) */
    border-radius: .5rem;
    /* Rounded corners for button (5px) */
    border: none;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

.btn-primary:hover {
    background-color: #DB9F6B;
    /* Dark Orange on hover effect for button */
}

/* PAYMENT */
/* Payment Section Styling */
.payment-section {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    /* 40px 20px */
    max-width: 60rem;
    /* 600px */
    margin: 0 auto;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

/* Form Styling */
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Space between form elements (20px) */
}

.payment-form p {
    font-size: 1.6rem;
    /* Font size of form labels and inputs (16px) */
}

/* Button Styling */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    /* Padding inside button (10px x-axis, 20px y-axis) */
    background-color: #E0AE81;
    /* Medium Orange button background color */
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    /* Font size of button text (16px) */
    border-radius: .5rem;
    /* Rounded corners for button (5px) */
    border: none;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

.btn-primary:hover {
    background-color: #DB9F6B;
    /* Dark Orange on hover effect for button */
}

/* PAYMENT FAILURE */
/* Payment Failed Section Styling */
.payment-failed {
    background-color: #ffe6e6;
    /* Light red background to indicate error */
    padding: 4rem 2rem;
    /* 40px 20px */
    max-width: 60rem;
    /* 600px */
    margin: 0 auto;
    border-radius: 1rem;
    /* Rounded corners (10px) */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    text-align: center;
    /* Center-align content */
}

.error-message {
    font-size: 1.8rem;
    /* Font size of error message (18px) */
    color: #555;
    margin-bottom: 3rem;
    /* Spacing below the error message (30px) */
}

/* Button Styling */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    /* Padding inside button (10px x-axis, 20px y-axis) */
    background-color: #E0AE81;
    /* Medium Orange button background color */
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    /* Font size of button text (16px) */
    border-radius: .5rem;
    /* Rounded corners for button (5px) */
    border: none;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

.btn-primary:hover {
    background-color: #DB9F6B;
    /* Dark Orange on hover effect for button */
}