/* ========================================
   BORU BASE PAGES - REUSABLE COMPONENTS
   Hero sections and section layouts for all pages
   ======================================== */

/* Container - if not already defined elsewhere */
.boru-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   PAGE HERO SECTIONS (Image backgrounds)
   Used for page headers with background images
   ======================================== */

.boru-page-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.4)), url('../images/boru-contracts-hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px !important;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 130px;
}

.boru-page-hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@supports (-webkit-touch-callout: none) {
    .boru-page-hero {
        background-attachment: scroll;
    }
}

.boru-page-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

.boru-page-hero-content .subtitle {
    color: #ffc107;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.boru-page-hero-content .heading {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.2;
}

.boru-page-hero-content .description {
    display: none;
}

/* ========================================
   INTRO SECTIONS (White text sections)
   Generic intro section for all pages
   ======================================== */

.boru-intro {
    padding: 80px 20px;
    background: #f8f9fa;
}

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

.boru-intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.boru-intro-content .subtitle {
    color: #4ECDC4;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.boru-intro-content .heading {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.2;
}

.boru-intro-content .description {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.boru-intro-content .description strong {
    color: #333;
    font-weight: 600;
}

/* Alternative intro with section subtitle for subpages */
.boru-intro-section {
    padding: 100px 0;
    background: white;
}

.boru-intro-section .boru-intro-content {
    padding: 0 20px;
}

.boru-intro-content .boru-section-subtitle {
    color: #4ECDC4;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.boru-intro-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.boru-intro-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   SECTION LAYOUTS - Image + Text + Badge
   Reusable for multiple page types
   ======================================== */

.boru-about {
    padding: 100px 0;
    background: white;
}

.boru-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.boru-about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.boru-about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.boru-experience-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #ffc107;
    color: #333;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

.boru-experience-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #333;
}

.boru-experience-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.boru-about-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.boru-about-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.boru-features-list {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.boru-features-list li {
    color: #333;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    font-weight: 500;
}

.boru-features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4ECDC4;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

/* ========================================
   TEAM SECTION (2-Column Card Grid)
   Reusable for About page and other pages
   ======================================== */

.boru-team-section {
    padding: 100px 0;
    background: #e8f4f5;
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
}

.boru-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.boru-team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid #4ECDC4;
}

.boru-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.boru-team-image {
    overflow: hidden;
    height: 300px;
}

.boru-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.boru-team-card:hover .boru-team-image img {
    transform: scale(1.05);
}

.boru-team-card h3 {
    font-size: 24px;
    margin: 25px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.boru-team-card h3 i {
    color: #4ECDC4;
    font-size: 28px;
}

.boru-team-card p {
    margin: 0 25px 20px 25px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.boru-team-card .boru-service-features {
    margin: 0 25px 25px 25px;
}

/* ========================================
   TEAM SECTION - 2 Card Grid with Images
   Reusable for Team, Equipment, or similar sections
   ======================================== */

.boru-team-section {
    padding: 100px 0;
    background: #e8f4f5;
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
}

.boru-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.boru-team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid #4ECDC4;
}

.boru-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.boru-team-image {
    overflow: hidden;
    height: 300px;
}

.boru-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.boru-team-card:hover .boru-team-image img {
    transform: scale(1.05);
}

.boru-team-card h3 {
    font-size: 24px;
    margin: 25px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.boru-team-card h3 i {
    color: #4ECDC4;
    font-size: 28px;
}

.boru-team-card p {
    margin: 0 25px 20px 25px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.boru-team-card .boru-service-features {
    margin: 0 25px 25px 25px;
    list-style: none;
    padding: 0;
}

.boru-team-card .boru-service-features li {
    color: #333;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    font-weight: 500;
}

.boru-team-card .boru-service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4ECDC4;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    /* Page Hero sections */
    .boru-page-hero {
        padding: 100px 20px !important;
        min-height: 250px;
        margin-top: 110px;
    }

    .boru-page-hero-content .heading {
        font-size: 36px;
    }

    .boru-page-hero-content .description {
        font-size: 18px;
    }

    /* Intro sections */
    .boru-intro {
        padding: 60px 20px;
    }

    .boru-intro-content .heading {
        font-size: 32px;
    }

    .boru-intro-content .description {
        font-size: 16px;
    }

    .boru-intro-section {
        padding: 60px 0;
    }

    .boru-intro-content h2 {
        font-size: 32px;
    }

    .boru-intro-content p {
        font-size: 16px;
    }

    /* About sections */
    .boru-about {
        padding: 60px 0;
    }

    .boru-about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .boru-about-image {
        order: -1;
    }

    .boru-about-image img {
        height: 400px;
    }

    .boru-about-text h2 {
        font-size: 32px;
    }

    /* Team sections */
    .boru-team-section {
        padding: 60px 0;
    }

    .boru-team-grid {
        grid-template-columns: 1fr;
    }

    .boru-team-card h3 {
        font-size: 20px;
        margin: 20px;
    }

    .boru-team-card p {
        font-size: 15px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    /* Page Hero sections */
    .boru-page-hero {
        padding: 60px 20px !important;
        margin-top: 90px;
    }

    .boru-page-hero-content .heading {
        font-size: 28px;
    }

    .boru-page-hero-content .description {
        font-size: 16px;
    }

    /* Intro sections */
    .boru-intro {
        padding: 40px 20px;
    }

    .boru-intro-content .heading {
        font-size: 28px;
    }

    .boru-intro-content .description {
        font-size: 15px;
    }

    .boru-intro-content h2 {
        font-size: 28px;
    }

    .boru-intro-content p {
        font-size: 15px;
    }

    /* About sections */
    .boru-about-image img {
        height: 300px;
    }

    .boru-about-text h2 {
        font-size: 28px;
    }

    .boru-experience-badge {
        top: 15px;
        right: 15px;
        padding: 15px;
    }

    .boru-experience-number {
        font-size: 24px;
    }
}

/* ========================================
   PROJECT SHOWCASE BANNER
   Full-width photo banner for linking to projects/gallery
   ======================================== */

.boru-projects-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)), url('../images/projects-banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
}

@supports (-webkit-touch-callout: none) {
    .boru-projects-banner {
        background-attachment: scroll;
    }
}

.boru-projects-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.boru-projects-banner-subtitle {
    color: #ffc107;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boru-projects-banner h2 {
    font-size: 42px;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    font-family: 'Roboto', sans-serif;
}

.boru-projects-banner p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
    color: white;
}

.boru-projects-banner-button {
    background: #ffc107;
    color: #333;
    padding: 15px 35px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.boru-projects-banner-button:hover {
    background: #ffb81c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .boru-projects-banner {
        padding: 80px 20px;
    }

    .boru-projects-banner h2 {
        font-size: 32px;
    }

    .boru-projects-banner p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .boru-projects-banner {
        padding: 60px 20px;
    }

    .boru-projects-banner h2 {
        font-size: 28px;
    }

    .boru-projects-banner p {
        font-size: 15px;
    }
}