@font-face {
    font-family: 'Ibrand';
    src: url('font/Ibrand.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #FFFFFF;
    --text-primary: #000000;
    --text-secondary: #555555;
    --accent-color: #EBBC6F;
    --accent-light: #f7e5c4;
    --border-color: #f0f0f0;
    --radius-lg: 40px;
    --radius-md: 20px;
    --container-width: 1400px;
    --font-heading: 'Ibrand', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    padding-top: 8px;
    height: 32px;
}

/* Page container */
.page-container {
    padding-top: 120px;
}

/* Rounded Container Utility */
.rounded-container {
    background: #fcfcfc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 5rem 4rem;
    width: 100%;
    transition: var(--transition);
}

.rounded-container.dark {
    background: #000000;
    color: #ffffff;
    border: none;
}

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

.section-header {
    margin-bottom: 3rem;
}

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: normal;
}

h2 {
    font-size: 3.5rem;
    line-height: 1.1;
}

/* Hero */
.section-hero {
    padding-bottom: 6rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tagline {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.headline {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
}

.subheadline {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 3rem;
}

.mockup-img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

/* Features */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.feature-card i,
.feature-card svg {
    width: 40px;
    height: 40px;
    color: var(--accent-color) !important;
    stroke: var(--accent-color);
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Why Box Styles */
.benefit-list {
    list-style: none;
    margin-top: 2.5rem;
}

.benefit-list li {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
}

.glass-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.glass-box p {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 100px;
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

.p-step .num {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-light);
    display: block;
    margin-bottom: 0.5rem;
}

.p-step p {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Box */
.contact-box {
    background: var(--accent-color);
    border: none;
    padding: 6rem 4rem;
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.contact-desc {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 3.5rem;
    max-width: 500px;
}

.contact-actions {
    width: 100%;
}

.contact-buttons-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-pill-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2.5rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-pill-btn i {
    width: 20px;
    height: 20px;
}

.contact-pill-btn.email {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000;
    box-shadow: none;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.contact-pill-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-pill-btn.email:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000;
    box-shadow: none;
}

.tagline.dark {
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary {
    background: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: #ffffff;
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: #fafafa;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    height: 24px;
    opacity: 1;
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .headline {
        font-size: 3.5rem;
    }

    .rounded-container {
        padding: 3.5rem 2.5rem;
    }
}

@media (max-width: 900px) {

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .headline {
        font-size: 3rem;
    }

    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .subheadline {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .rounded-container {
        padding: 3rem 2rem;
        border-radius: 30px;
    }
}

@media (max-width: 600px) {
    :root {
        --radius-lg: 32px;
    }

    .navbar {
        height: 80px;
    }

    .navbar nav {
        display: none;
    }

    .navbar .container {
        justify-content: center;
        align-items: center;
    }

    .navbar .logo img {
        height: 32px;
        padding-top: 8px;
    }

    .section {
        padding: 2.5rem 0;
    }

    .page-container {
        padding-top: 90px;
    }

    .headline {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .subheadline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .hero-visual .mockup-img {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-card i {
        margin-bottom: 1.5rem;
        width: 32px;
        height: 32px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .contact-box {
        padding: 4rem 1.5rem;
    }

    .contact-header h2 {
        font-size: 2.2rem;
    }

    .contact-desc {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .contact-pill-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .contact-pill-btn.email {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .contact-buttons-wrapper {
        gap: 1rem;
    }

    .p-step .num {
        font-size: 3rem;
    }

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

    .footer {
        padding: 3rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Shuls Directory */
.shul-search-wrapper {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 1rem 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.search-bar:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.search-bar i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    margin-right: 1.5rem;
    /* Increased padding to the right of icon */
}

.search-bar input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: var(--font-body);
}

.shuls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.shul-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.shul-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shul-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-color);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.shul-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f9f9f9;
    position: relative;
}

.live-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

.shul-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.shul-card:hover .shul-card-image img {
    transform: scale(1.08);
}

.shul-card-content {
    padding: 1.75rem 2rem 2rem;
}

.shul-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.shul-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.shul-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.shul-header h3 {
    font-size: 1.4rem;
    margin: 0;
    font-family: var(--font-body);
    /* Using body font for cards to make it look cleaner */
    font-weight: 600;
}

.shul-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.shul-address i {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.shul-address p {
    font-size: 0.9rem;
    /* Smaller, cleaner address */
    line-height: 1.4;
    font-weight: 400;
}

.shul-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.view-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.view-live i {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.shul-card:hover .view-live {
    color: var(--accent-color);
}

.shul-card:hover .view-live i {
    transform: translateX(4px);
}

/* Coming Soon Card */
.shul-card.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-style: dashed;
    border-width: 1.5px;
}

.shul-card-content.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
}

.coming-soon-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.coming-soon h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.coming-soon p {
    color: #999;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .shuls-grid {
        grid-template-columns: 1fr;
    }
}

/* Policy Page Content */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 6rem;
}

.policy-content h2 {
    font-size: 2.5rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-primary);
}

.policy-content h3 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.policy-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.policy-content li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .policy-content h2 {
        font-size: 2rem;
    }

    .policy-content h3 {
        font-size: 1.5rem;
    }

    .policy-content p,
    .policy-content li {
        font-size: 1rem;
    }
}