/* Default about page css used*/
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

/* CSS Reset & Base Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.025em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.025em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-bottom p{
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Layout Components */
.page-wrapper {
    min-height: 100vh;
    background: linear-gradient(to bottom right,
            var(--primary),
            var(--shadow),
            var(--secondary));
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn-secondary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.9);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.5);
    border-color: var(--white);
}

/* Sections */
.section {
    padding: 2.5rem 4rem;
}

.section-alt {
    background: linear-gradient(to right,
            var(--secondary),
            var(--shadow),
            var(--secondary));
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.section-dark {
    background: linear-gradient(to bottom right,
            #000000,
            var(--primary),
            var(--secondary));
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero h1 {
    margin-bottom: 2rem;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
    font-size: clamp(1.5rem, 3.5vw, 3rem);
}

.divider {
    width: 8rem;
    height: 0.25rem;
    background: var(--accent);
    margin: 2rem auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 70rem;
    margin: 0 auto;
    font-weight: 600;
    line-height: 1.25;
}

.hero .accent-text {
    color: var(--accent);
    font-weight: 700;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards */
.card {
    background: linear-gradient(to bottom right,
            #000000,
            var(--secondary),
            var(--steel));
    padding: 1.5rem; /* Changed from 3rem */
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 3rem; 
    height: 3rem;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: white;
}

.card h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.card p,
.card ul {
    position: relative;
    z-index: 1;
    line-height: 1.625;
    font-weight: 500;
}

.card ul {
    list-style: none;
}

.card ul li {
    margin-bottom: 0.5rem;
}

.location-card ul li {
    margin-bottom: 0.5rem;
}

.location-card p {
    text-align: left;
}

.location-card ul {
    list-style: none;
    font-size: 1.25rem;
    text-align: left;
    margin: 1rem 0;
}

.bold-p-500 {
    font-weight: 500;
}

.location-card ul {
    position: relative;
    z-index: 1;
    line-height: 1.625;
    font-weight: 500;
}

/* Image Content Blocks */
.content-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .content-block {
        grid-template-columns: repeat(2, 1fr);
    }
}

.content-block-text p {
    font-size: 1.25rem;
    line-height: 1.625;
    margin-bottom: 2rem;
    font-weight: 500;
}

.content-block-image {
    transform: rotate(2deg);
}

.content-block-image.rotate-left {
    transform: rotate(-1deg);
}

.content-block-image img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Stats Section */
.stat-item {
    text-align: center;
}

.stat-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(to bottom right,
            var(--accent),
            var(--secondary));
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.stat-item:hover .stat-icon {
    border-color: var(--white);
    transform: scale(1.1);
}

.stat-icon span {
    font-size: 1.5rem;
    font-weight: 900;
}

.stat-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 900;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
}

/* Location Section */
.location-card {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(to bottom right,
            #000000,
            var(--secondary),
            var(--steel));
    padding: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: scale(1.05);
}

.location-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.location-card:hover::before {
    opacity: 1;
}

.location-icon {
    margin-bottom: 2rem;
}

.location-icon svg {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    stroke: var(--accent);
}

.location-card h3 {
    font-size: 2.25rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.location-card p {
    font-size: 1.25rem;
    line-height: 1.625;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.why-bullets {
    list-style: none;
    text-align: left;
    max-width: 48rem;
    margin: 2rem auto;
    padding-left: 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

.why-bullets li {
    margin-bottom: 0.75rem;
    font-weight: 500;
    padding-left: 2.5rem;
    position: relative;
}

.why-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233b82f6"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 2rem;
}

.cta-section p {
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.25;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .contact-info {
        flex-direction: row;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-decoration: none;
    color: white;
    font-size: 1.125rem;
    transition: background-color 0.2s ease-in-out;
}

.contact-item svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--accent);
    transition: transform 0.3s ease-in-out;
}

.contact-item span {
    font-weight: 500;
}

.contact-item:hover {
    background-color: #3b82f633;
    border-color: rgb(59, 130, 246);
    color: rgb(59, 130, 246);
}

.contact-item:hover svg {
    transform: scale(1.15);
    /* slightly increase size */
}

@media (max-width:764px) {

    .hero p {
        margin-bottom: 0;
        max-width: 100rem;
    }

    .hero {
        margin-bottom: 3rem;
    }

    h3 {
        font-size: 1rem;
    }

    .container {
        padding: 0 0;
    }

    .section {
        padding: 2rem 1rem;
    }

    .contact-item {
        font-size: 1rem;
        padding: 0.75rem 0.75rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .grid {
        gap: 2rem;
    }

    .location-card h3 {
        font-size: 1.5rem;
    }

    .location-card {
        padding: 2rem;
    }

    .hero p {
        font-size:1rem;
    }

    .content-block-text p {
        font-size: 1rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .location-card p {
        font-size: 1rem;
    }

    .location-card ul {
        font-size: 1rem;
    }
}

/* Additional Service-Specific Styles */

/* Content Text Center */
.content-text-center {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.large-text {
    font-size: 1.25rem;
    line-height: 1.625;
    font-weight: 500;
}

/* Approach List Styles */
.approach-list {
    margin-top: 2rem;
}

.approach-item {
    margin-bottom: 2rem;
}

.approach-item h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.approach-item p {
    font-size: 1rem;
    line-height: 1.625;
    font-weight: 500;
}

.subtitle-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Feature Cards - Two Column Grid */
.feature-card {
    background: linear-gradient(to bottom right,
            #000000,
            var(--secondary),
            var(--steel));
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2);
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: white;
}

.feature-card h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    margin: 0;
    line-height: 1.625;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Types Grid */
.types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.type-item {
    background: linear-gradient(to bottom right,
            rgba(0, 0, 0, 0.8),
            var(--secondary));
    padding: 1.5rem 2rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.type-item:hover {
    background: linear-gradient(to bottom right,
            var(--accent),
            var(--secondary));
    border-color: var(--accent);
    transform: scale(1.05);
}

/* FAQ Section */
.faq-container {
    max-width: 56rem;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(to bottom right,
            #000000,
            var(--secondary),
            var(--steel));
    padding: 0; /* Changed */
    margin-bottom: 1rem; /* Changed from 1.5rem */
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateX(5px); 
    box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.2);
}

.faq-item h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.625;
    margin: 0;
    font-weight: 500;
}

.faq-question {
    color: var(--accent);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    padding: 1.5rem 3rem 1.5rem 1.5rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.625;
    margin: 0;
    font-weight: 500;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}


.sticky-cta-btn {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sticky-cta-btn:hover {
    background: rgba(59, 130, 246, 0.9);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

@media (max-width: 764px) {
    .sticky-cta {
        bottom: 15px;
        right: 15px;
    }
    
    .sticky-cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 764px) {
    .faq-question {
        font-size: 1.125rem;
        padding: 1.25rem 2.5rem 1.25rem 1.25rem;
    }
    
    .faq-question::after {
        right: 1.25rem;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 764px) {
    .feature-card {
        padding: 1.5rem;
    }
    
    .approach-item h3 {
        font-size: 1rem;
    }
    
    .approach-item p {
        font-size: 0.9rem;
    }
    
    .large-text {
        font-size: 1rem;
    }
    
    .type-item {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.125rem;
    }
}


@media (max-width: 764px) {
    /* Add these new rules */
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .approach-list {
        margin-top: 1rem;
    }
    
    .approach-item {
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
    }
    
    .types-grid {
        gap: 1rem;
    }
    
    .faq-item:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 764px) {
    .feature-card {
        padding: 1.5rem;
    }
    
    .approach-item h3 {
        font-size: 1rem;
    }
    
    .approach-item p {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .large-text {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .type-item {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        word-wrap: break-word;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.125rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .faq-item p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Additional responsive fixes */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .approach-list {
        margin-top: 1rem;
    }
    
    .approach-item {
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .feature-card p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .types-grid {
        gap: 1rem;
    }
    
    .faq-item:hover {
        transform: translateX(5px);
    }
    
    /* Image overflow fix */
    .content-block-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Text container fixes */
    .content-block-text p,
    .content-text-center p,
    .subtitle-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}