/* Our Businesses Page Specific Styles */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.container.full-width {
    max-width: 100%;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    margin: 15px auto 0;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
.business-hero {
    height: 500px;
    background-image: url('../images/business-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.business-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
    z-index: 1;
}

.business-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Overview Section */
.business-overview {
    padding: 100px 0;
    background-color: #fff;
}

.overview-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.overview-text {
    flex: 1;
}

.overview-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.overview-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    position: absolute;
    bottom: 0;
    left: 0;
}

.overview-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.overview-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.overview-image:hover img {
    transform: scale(1.05);
}

/* Business Verticals Section */
.business-verticals {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

/* Main Heading Styles */
.main-heading {
    text-align: center;
    margin-bottom: 60px;
}

.main-heading h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.heading-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    margin: 0 auto;
}

/* Image Collage Styles */
.image-collage {
    height: 100%;
    display: grid;
    grid-template-rows: 2fr 1fr;
    gap: 5px;
}

.collage-main {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.collage-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collage-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    height: 100%;
}

.collage-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-section:hover .image-collage img {
    transform: scale(1.05);
}

/* Vertical Tabs */
.vertical-tabs {
    margin-top: 50px;
}

.tab-navigation {
    display: flex;
    overflow-x: auto;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 1px;
    gap: 5px;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: max-content;
    text-align: center;
}

.tab-btn:hover {
    color: #e74c3c;
}

.tab-btn.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
    font-weight: 600;
}

.tab-content-container {
    position: relative;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.content-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.content-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.3), rgba(192, 57, 43, 0.3));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.content-image:hover::before {
    opacity: 1;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

.content-details {
    padding: 20px;
    text-align: center;
}

.content-details h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.content-details h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    position: absolute;
    bottom: 0;
    left: 0;
}

.content-details p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.content-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.content-details ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.content-details ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: #555;
}

.content-details ul li::before {
    content: '•';
    color: #e74c3c;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -3px;
}

.key-stats {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    gap: 20px;
}

.stat {
    flex: 1;
    text-align: center;
    border-right: 1px solid #eee;
    padding: 15px 10px;
}

.stat:last-child {
    border-right: none;
}

.stat .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 5px;
}

.stat .label {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
    border: 2px solid #e74c3c;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.btn-outline {
    background-color: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-outline:hover {
    background-color: #e74c3c;
    color: white;
}

/* Partnerships Section */
.partnerships {
    padding: 80px 0;
    background-color: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.partner img {
    max-width: 80%;
    max-height: 80px;
}

/* CTA Section */
.business-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn {
    min-width: 200px;
}

.business-cta .btn-outline {
    border-color: white;
    color: white;
}

.business-cta .btn-outline:hover {
    background-color: white;
    color: #2c3e50;
}

/* Business Grid Styles */
.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
    max-width: 1400px;
}

.business-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.business-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.business-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-card:hover .business-overlay {
    opacity: 1;
}

.business-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.business-overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.business-overlay .btn {
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.business-details {
    padding: 25px;
    text-align: center;
}

.business-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.business-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.business-features {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.business-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.business-features li:last-child {
    border-bottom: none;
}

.business-features li::before {
    content: '•';
    color: #e74c3c;
    position: absolute;
    left: 0;
    top: 7px;
}

.business-stat {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
}

/* Independent Business Sections Styles */
.business-section {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
    width: 100%;
}

.business-section.reverse {
    flex-direction: row-reverse;
}

.business-content {
    flex: 1;
    padding: 50px;
}

.business-image {
    flex: 1;
    height: 500px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-section:hover .business-image img {
    transform: scale(1.05);
}

.business-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.business-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.business-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

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

.business-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.business-features li::before {
    content: '•';
    color: #e74c3c;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 5px;
}

.business-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
}

.business-section .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive styles for independent business sections */
@media (max-width: 1200px) {
    .business-image {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .business-section,
    .business-section.reverse {
        flex-direction: column;
    }
    
    .business-content {
        padding: 40px;
        order: 2;
    }
    
    .business-image {
        width: 100%;
        height: 350px;
        order: 1;
    }
    
    .business-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .business-title {
        font-size: 1.8rem;
    }
    
    .business-content {
        padding: 30px;
    }
    
    .business-image {
        height: 250px;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .overview-content {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .tab-navigation {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .business-hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .key-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
    
    .stat:last-child {
        border-bottom: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .business-hero {
        height: 350px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .content-details h3 {
        font-size: 1.5rem;
    }
    
    .partner {
        height: 80px;
    }
    
    .partner img {
        max-height: 60px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
}

.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
    overflow-y: auto;
}

.popup-content {
    position: relative;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2;
}

.popup-close:hover {
    color: #e74c3c;
}

.popup-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.popup-header h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
}

.popup-body {
    padding: 30px;
}

.popup-body p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.popup-body h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 25px 0 15px;
}

.popup-body ul {
    margin: 0 0 25px 0;
    padding: 0 0 0 20px;
}

.popup-body li {
    margin-bottom: 8px;
    color: #555;
}

.popup-contact {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-info a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Show popup when active */
.popup-overlay.active,
.popup-modal.active {
    display: block;
}

/* Add body class to prevent scrolling when popup is open */
body.popup-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .popup-header {
        padding: 15px 20px;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .popup-close {
        top: 10px;
        right: 15px;
    }
}

/* Responsive adjustments for collage */
@media (max-width: 992px) {
    .main-heading h1 {
        font-size: 2.2rem;
    }
    
    .image-collage {
        grid-template-rows: 3fr 1fr;
    }
}

@media (max-width: 576px) {
    .main-heading h1 {
        font-size: 1.8rem;
    }
    
    .main-heading {
        margin-bottom: 40px;
    }
} 