﻿/* Define custom color variables for consistency */
:root {
    --color-primary: #1f3a5f; /* Deep Navy Blue */
    --color-secondary: #007bff; /* Bright Blue Accent */
    --color-text-dark: #333;
    --color-text-light: #666;
    --color-bg-light: #f4f7f8;
    --color-bg-white: #ffffff;
    --border-radius: 12px;
}

/* Section Container */
.about-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Content Wrapper (Flexbox for 50/50 split) */
.content-wrapper {
    display: flex;
    gap: 40px; /* Space between the two columns */
    align-items: center;
    background-color: var(--color-bg-white);
}

/* Left Column - Text and Links */
.about-left {
    flex: 1 1 50%;
    padding: 20px;
    /* Added min-height to help balance against the video on larger screens if needed */
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    color: var(--color-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.2;
}

.description {
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Service Links Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px; /* Slightly reduced margin */
}

.service-link {
    display: block;
    /* Reduced padding for smaller links */
    padding: 10px 15px;
    text-decoration: none;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem; /* Slightly smaller font */
    transition: background-color 0.3s, transform 0.3s;
    border: 1px solid #e0e0e0;
}

    .service-link:hover {
        background-color: var(--color-secondary);
        color: var(--color-bg-white);
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    }

/* Discover More Button */
.discover-button {
    display: inline-block;
    /* Reduced padding for smaller main button */
    padding: 12px 25px;
    background-color: var(--color-secondary);
    color: var(--color-bg-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem; /* Kept standard font size */
    border-radius: 50px;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

    .discover-button:hover {
        background-color: #0056b3; /* Darker blue on hover */
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
    }

/* Right Column - Video */
.about-right {
    flex: 1 1 50%;
    padding: 20px;
    background-color: #e6e6e6; /* Placeholder background */
    border-radius: var(--border-radius);
    overflow: hidden; /* Ensures video border-radius works */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Video Wrapper (16:9 Aspect Ratio) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
    height: 0;
    overflow: hidden;
    border-radius: 8px; /* Inner rounding for the video */
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Responsive Design: Stacking columns on mobile */
@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .about-left, .about-right {
        flex: 1 1 100%; /* Take full width */
        padding: 10px;
    }

    .main-heading {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack links vertically */
    }
}
.ytp-chrome-top ytp-show-cards-title{
    display:none!important;
}