/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #010001;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    height: 1.5rem;
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/NoMoreCeilings-bg2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 500;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.6;
}

.hero-cta {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    background-color: #6878d6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: none;
}

.hero-cta:hover {
    background-color: #ffffff !important;
    color: #010001 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* About Hero Wrapper and Overlapping Tiles */
.about-hero-wrapper {
    position: relative;
    margin-bottom: 18rem;
}

.about-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/NoMoreCeilings-bg2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

/* Overlapping Tiles */
.overlap-tiles-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(calc(85% - 3rem));
    z-index: 10;
    background-color: #ffffff;
    padding: 3rem 0;
}

.overlap-tiles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.overlap-tile {
    background: #f8f9ff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.overlap-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(104, 120, 214, 0.2);
}

.tile-accent-line {
    width: 60px;
    height: 4px;
    background: #6878d6;
    margin-left: 1.75rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.tile-content {
    padding: 0 1.75rem 1.5rem 1.75rem;
}

.tile-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #242a56;
    margin-bottom: 0.75rem;
}

.tile-content p {
    font-size: 0.95rem;
    color: #010001;
    line-height: 1.6;
    margin: 0;
}

/* About Containers */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-container-wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-container-split {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

/* About Story Section */
.about-story-section {
    background-color: #ffffff;
    padding: 6rem 2rem;
    position: relative;
}

.story-content {
    position: relative;
}

.quote-mark {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 10rem;
    color: #eff2ff;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.about-story-section .lead-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: #010001;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.about-story-section p {
    font-size: 1.2rem;
    color: #010001;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.highlight-box {
    background: linear-gradient(135deg, #eff2ff 0%, #e0e7ff 100%);
    border-left: 4px solid #6878d6;
    padding: 2.5rem;
    margin-top: 3rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 20px rgba(104, 120, 214, 0.1);
}

.highlight-box .emphasis-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6878d6;
    line-height: 1.7;
    margin: 0;
}

/* About Experience Section */
.about-experience-section {
    background-color: #f8f9ff;
    padding: 6rem 2rem;
}

.experience-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.experience-intro p {
    font-size: 1.3rem;
    color: #010001;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.insight-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-top: 3px solid #6878d6;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(104, 120, 214, 0.15);
}

.insight-number {
    font-size: 3rem;
    font-weight: 700;
    color: #eff2ff;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.insight-card p {
    font-size: 1.15rem;
    color: #010001;
    line-height: 1.7;
    margin: 0;
}

.experience-conclusion {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.closing-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #242a56;
    line-height: 1.8;
    padding: 2rem;
    background: linear-gradient(135deg, #e0e7ff 0%, #eff2ff 100%);
    border-radius: 12px;
}

/* About Mission Section */
.about-mission-section {
    background: linear-gradient(135deg, #242a56 0%, #1a1f3a 100%);
    color: #ffffff;
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

.about-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(104, 120, 214, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.mission-badge {
    display: inline-block;
    background: rgba(104, 120, 214, 0.2);
    color: #6878d6;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 850px;
}

.mission-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6878d6 0%, transparent 100%);
    margin: 2rem 0;
}

.mission-body {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.mission-callout {
    position: relative;
    padding-left: 2rem;
    margin-top: 3rem;
}

.callout-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6878d6 0%, transparent 100%);
}

.mission-callout p {
    font-size: 1.4rem;
    font-weight: 600;
    color: #6878d6;
    line-height: 1.7;
    margin: 0;
}

/* About What We Do Section */
.about-what-section {
    background-color: #ffffff;
    padding: 7rem 2rem;
}

.section-heading-left {
    font-size: 3rem;
    font-weight: 700;
    color: #242a56;
    line-height: 1.2;
    position: relative;
}

.section-heading-left::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #6878d6;
    margin-top: 1.5rem;
}

.what-text {
    font-size: 1.2rem;
    color: #010001;
    line-height: 1.9;
    margin-bottom: 1.8rem;
}

/* About Approach Section */
.about-approach-section {
    background-color: #f8f9ff;
    padding: 7rem 2rem;
}

.section-heading-center {
    font-size: 3rem;
    font-weight: 700;
    color: #242a56;
    text-align: center;
    margin-bottom: 2rem;
}

.approach-lead {
    font-size: 1.3rem;
    color: #010001;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.approach-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6878d6 0%, #4d61d6 100%);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 50px rgba(104, 120, 214, 0.2);
}

.approach-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #eff2ff 0%, #e0e7ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.approach-card:hover .approach-icon {
    background: linear-gradient(135deg, #6878d6 0%, #4d61d6 100%);
}

.approach-icon svg {
    color: #6878d6;
    transition: color 0.3s ease;
}

.approach-card:hover .approach-icon svg {
    color: #ffffff;
}

.approach-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #242a56;
    margin-bottom: 1rem;
}

.approach-card p {
    font-size: 1.05rem;
    color: #010001;
    line-height: 1.7;
    margin: 0;
}

.approach-conclusion {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-top: 3rem;
}

.conclusion-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #6878d6 50%, transparent 100%);
    margin: 0 auto 2rem auto;
}

.approach-conclusion p {
    font-size: 1.35rem;
    font-weight: 600;
    color: #242a56;
    line-height: 1.7;
    font-style: italic;
}

/* About Background Section */
.about-background-section {
    background-color: #f8f9ff;
    padding: 6rem 2rem;
}

.background-intro {
    font-size: 1.2rem;
    color: #010001;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.background-statement {
    font-size: 1.4rem;
    font-weight: 700;
    color: #010001;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.background-text {
    font-size: 1.2rem;
    color: #010001;
    line-height: 1.9;
    margin-bottom: 3rem;
}

.insights-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.insight-item {
    position: relative;
    text-align: center;
}

.insight-number-bg {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-weight: 700;
    color: #242a5610;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    z-index: 0;
}

.insight-item h3 {
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    color: #242a56;
    line-height: 1.5;
    margin: 0;
    padding-top: 2.5rem;
    z-index: 1;
}

.background-conclusion {
    font-size: 1.2rem;
    color: #010001;
    line-height: 1.9;
    margin: 0;
}

/* About CTA Section */
.about-cta-section {
    background-color: #ffffff;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #010001;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    color: #010001;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Causes Section */
.causes-section {
    background-color: #eff2ff;
    padding: 4rem 2rem;
    scroll-margin-top: 80px;
}

.causes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #010001;
    margin-bottom: 3rem;
    font-weight: 700;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tile {
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.tile:hover {
    background-color: #6878d6;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tile:hover .tile-icon {
    color: #ffffff;
}

.tile:hover .tile-title {
    color: #ffffff;
}

.tile:hover .tile-text {
    color: #ffffff;
}

.tile-icon {
    color: #6878d6;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile-icon svg {
    width: 36px;
    height: 36px;
}

.tile-title {
    font-size: 1.1rem;
    color: #010001;
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.tile-text {
    font-size: 0.85rem;
    color: #010001;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

/* Clarity Section */
.clarity-section {
    background-color: #ffffff;
    padding: 4rem 2rem;
}

.clarity-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.clarity-title {
    font-size: 2.5rem;
    color: #010001;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.clarity-content p {
    font-size: 1.1rem;
    color: #010001;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.clarity-cta {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 2rem;
    background-color: #6878d6 !important;
    color: #ffffff !important;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.clarity-cta:hover {
    background-color: #4d61d6 !important;
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.content-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
}

h1 {
    color: #010001;
    margin-bottom: 1rem;
}

h2 {
    color: #010001;
}

p {
    margin-bottom: 1rem;
    color: #010001;
}

/* Button Styles */
button, .btn {
    background-color: #285F6B;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    font-size: 1rem;
}

button:hover, .btn:hover {
    background-color: #367D8A;
}

/* Footer Styles */
.site-footer {
    background-color: #242a56;
    color: #ffffff;
    margin-top: auto;
}

.footer-bottom {
    background-color: #242a56;
    text-align: center;
    padding: 1.5rem;
    color: #ffffff;
}

.footer-bottom p {
    margin: 0;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .overlap-tiles {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-hero-wrapper {
        margin-bottom: 16rem;
    }

    .overlap-tiles-container {
        transform: translateY(calc(85% - 3rem));
    }

    .insights-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo a {
        font-size: 1rem;
        gap: 0.35rem;
        white-space: nowrap;
    }

    .logo-icon {
        height: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        max-height: 250px;
        padding: 1rem 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        opacity: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .hero-content {
        padding: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tiles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tile-title {
        font-size: 1.25rem;
    }

    .clarity-title {
        font-size: 1.8rem;
    }

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

    /* About page responsive */
    .about-hero {
        height: 50vh;
        min-height: 400px;
    }

    .about-hero-wrapper {
        margin-bottom: 0;
    }

    .overlap-tiles {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .overlap-tiles-container {
        position: static;
        transform: none;
        padding: 3rem 0;
        margin-top: -3rem;
    }

    .about-cta-section {
        padding: 6rem 2rem;
        margin-top: 0;
    }

    .tile-content {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .tile-accent-line {
        margin-left: 1.5rem;
        margin-top: 1.5rem;
    }

    .tile-content h3 {
        font-size: 1.2rem;
    }

    .tile-content p {
        font-size: 0.9rem;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }

    .insights-items {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .background-intro,
    .background-text,
    .background-conclusion {
        font-size: 1.1rem;
    }

    .background-statement {
        font-size: 1.3rem;
    }

    .insight-number-bg {
        font-size: 3rem;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
    }

    .insight-item h3 {
        font-size: 1rem;
        padding-top: 2rem;
        text-align: center;
    }
}

/* Contact Page Styles */
.contact-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/NoMoreCeilings-bg2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

.contact-form-section {
    background-color: #ffffff;
    padding: 4rem 2rem;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #242a56;
    margin-bottom: 1.5rem;
}

.contact-intro p {
    font-size: 1.1rem;
    color: #010001;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.jotform-container {
    margin-top: 2rem;
}
