/* Hero Section - CARIAD-inspired */
.header-corporate {
    position: relative;
    overflow: hidden;
}

.header-corporate .content {
    position: relative;
    width: 88%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 0%;
}

.header-corporate .content-inner {
    background-color: #231F20;
    width: 68%;
    padding: 0 63px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-corporate .content-inner .title-lg {
    color: #fff;
    margin-bottom: 30px;
    padding: 0 !important;
    text-align: left;
}

.header-corporate .content-inner .description p {
    color: #fff;
    margin-bottom: 15px;
    font-size: 25px;
    line-height: 1.4;
    /*text-align: left; */
	text-align: justify;
}

@media only screen and (max-width: 767px) {
    .header-corporate .content-inner .description p {
        text-align: left !important;
    }
}

/* Media queries for responsive behavior */
@media only screen and (max-width: 991px) {
    .header-corporate .content {
        justify-content: center;
        padding-right: 0;
    }
    
    .header-corporate .content-inner {
        width: 90%;
        padding: 40px 30px;
    }
}

@media only screen and (max-width: 767px) {
    .header-corporate {
        flex-direction: column;
        height: auto !important;
    }
    /*
    .header-corporate .box-img {
        height: 60vh !important;
        min-height: 400px;
        position: relative !important;
        width: 100%;
    } */
	
	.header-corporate .box-img {
    height: 66vh !important; 
    min-height: 250px;
    position: relative !important;
    width: 100%;
    margin-top: 90px;
    }
    
    .header-corporate .content {
        position: relative !important;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
    }
    
    .header-corporate .content-inner {
        width: 100%;
        height: auto;
        min-height: auto;
        margin: 0;
        padding: 40px 14px;
        border-radius: 0;
    }
    
    .header-corporate .content-inner .title-lg {
        font-size: 22px;
        line-height: 1.3;
        
    }
    
    .header-corporate .content-inner .description p {
        /*text-align: center; */
    }
}

/* Custom grid for the photography section */
.about-photography .dsn-container.dsn-left-container {
    max-width: 100% !important; /* Override any max-width */
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.custom-photography-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
}

/* Text column takes 40% width */
.custom-photography-grid .text-column {
    width: 44%;
    padding-left: 60px;
    padding-right: 58px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
	padding-top: 30px;
    padding-bottom: 30px;
}

/* Image column takes 60% width */
.custom-photography-grid .image-column {
    width: 56%;
    overflow: hidden;
}

/* Ensure text content fills the space */
.custom-photography-grid .text-column .text-content {
    width: 100%;
}

/* Maintain full height of image */
.custom-photography-grid .image-column .img-box {
    height: 101%;
}

.custom-photography-grid .image-column .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Left line styling for headings */
.left-lined {
    position: relative;
    display: inline-block;
}

.left-lined::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    width: 70px;
    height: 4px;
    background-color: currentColor;
    transform: translateY(-1050%);
    line-height: 1px;
}

/* Responsive design for mobile */
@media only screen and (max-width: 991px) {
    .custom-photography-grid {
        flex-direction: column;
    }
    
    .custom-photography-grid .image-column,
    .custom-photography-grid .text-column {
        width: 100%;
    }
    
    .custom-photography-grid .text-column {
        padding: 80px 18px 3px 20px;
    }
    
    .custom-photography-grid .image-column .img-box {
        height: 420px; /* Set a fixed height for mobile */
    }
}






/* Mobile layout adjustments */
@media only screen and (max-width: 991px) {
    /* Custom photography grid - ensure flex column layout */
    .custom-photography-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
    }
    
    /* Order classes for mobile layout */
    .mobile-order-1 {
        order: 2 !important; /* First text section moves down */
    }
    
    .mobile-order-2 {
        order: 1 !important; /* First image moves up */
    }
    
    .mobile-order-3 {
        order: 4 !important; /* Second text section moves down */
    }
    
    .mobile-order-4 {
        order: 3 !important; /* Second image moves up */
    }
    
    /* Third section (if present) */
    .mobile-order-5 {
        order: 6 !important; /* Third text section moves down */
    }
    
    .mobile-order-6 {
        order: 5 !important; /* Third image moves up */
    }
    
    /* Make sure text sections have proper padding 
    .custom-photography-grid .text-column {
        padding: 40px 20px !important; /* Consistent padding 
    } */
    
    /* Make sure each column takes full width on mobile */
    .custom-photography-grid .text-column,
    .custom-photography-grid .image-column {
        width: 100% !important;
    }
    
    /* Fix image height for consistent appearance */
    .custom-photography-grid .image-column .img-box {
        height: 420px !important; /* Fixed height for mobile */
    }
}

/* Additional fixes for very small screens */
@media only screen and (max-width: 576px) {
    .custom-photography-grid .image-column .img-box {
        height: 350px !important; /* Slightly reduced for very small screens */
    }
}