/* 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;
}

@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: 3.5rem 0;
}

.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: 3rem;
}

.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: 56rem;
    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: 4rem;
}

.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: 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: 4rem;
    height: 4rem;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

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

.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: 4rem;
    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;
}

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

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

.cta-section p {
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto 3rem;
    font-weight: 600;
    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;
    }
}