/* Custom Styles for Index Page Enhancements - CityHub Brand Colors */

/* ===================================
   SIMPLE HERO SECTION STYLES (for other pages)
   =================================== */

.hero_section_simple {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 350px;
    overflow: hidden;
    background: #071e41;
}

.hero_background_simple {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero_background_image_simple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero_background_image_simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 30, 65, 0.8), rgba(50, 136, 232, 0.6));
}

.hero_content_simple {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero_text_simple {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero_text_simple h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease forwards;
}

.hero_text_simple p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease forwards 0.3s both;
}

/* Simple Hero Responsive Design */
@media (max-width: 1200px) {
    .hero_section_simple {
        height: 50vh;
        min-height: 320px;
    }
    .hero_text_simple h1 {
        font-size: 3rem;
    }
    .hero_text_simple p {
        font-size: 1.2rem;
    }
}

@media (max-width: 991px) {
    .hero_section_simple {
        height: 50vh;
        min-height: 300px;
    }
    .hero_text_simple h1 {
        font-size: 2.5rem;
    }
    .hero_text_simple p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero_section_simple {
        height: 50vh;
        min-height: 280px;
    }
    .hero_text_simple h1 {
        font-size: 2.2rem;
    }
    .hero_text_simple p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero_section_simple {
        height: 50vh;
        min-height: 250px;
    }
    .hero_text_simple h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .hero_text_simple p {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .hero_section_simple {
        height: 50vh;
        min-height: 220px;
    }
    .hero_text_simple h1 {
        font-size: 1.6rem;
    }
    .hero_text_simple p {
        font-size: 0.9rem;
    }
}

/* Fade in animation for simple hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   HERO SECTION STYLES
   =================================== */

/* Main Hero Section */
.hero_section {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
    background: #071e41;
}

.hero_background {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero_slide.active {
    opacity: 1;
}

.hero_background_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero_background_image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 30, 65, 0.7), rgba(50, 136, 232, 0.5));
}

.hero_content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero_text_container {
    text-align: center;
    color: #fff;
}

.hero_line {
    display: block;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(30px);
}

.hero_line_1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #fff;
}

.hero_line_2 {
    height: 2px;
    width: 60px;
    background: #fc0201;
    margin: 20px auto;
    transform: translateY(30px) scale(0);
}

.hero_line_3 {
    font-size: 5rem;
    font-weight: 800;
    color: #fc0201;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero_line_4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.1em;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Navigation */
.hero_navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.hero_nav_prev,
.hero_nav_next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.hero_nav_prev:hover,
.hero_nav_next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fc0201;
    transform: scale(1.1);
}

.hero_nav_prev i,
.hero_nav_next i {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.hero_nav_prev:hover i,
.hero_nav_next:hover i {
    color: #fc0201;
}

/* Hero Indicators */
.hero_indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero_indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero_indicator.active {
    background: #fc0201;
    border-color: #fc0201;
    transform: scale(1.2);
}

.hero_indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Vertical Side Text */
.hero_side_text {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 200px;
    background: #071e41;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 15% 50%);
}

.hero_side_text_container {
    padding-left: 40px;
    padding-right: 60px;
    text-align: center;
    color: #fff;
}

.hero_side_text_content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3288e8;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero_side_text_content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #fff;
    opacity: 0.9;
}

.hero_scroll_indicator {
    margin-top: 20px;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.hero_scroll_indicator i {
    color: #fc0201;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.hero_scroll_indicator:hover i {
    transform: translateY(3px);
}

/* Text Animation */
@keyframes heroTextSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .hero_line_1 {
        font-size: 2.2rem;
    }
    .hero_line_3 {
        font-size: 4.5rem;
    }
    .hero_line_4 {
        font-size: 1.4rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero_section {
        height: 75vh;
    }
    .hero_line_1 {
        font-size: 2rem;
    }
    .hero_line_3 {
        font-size: 4rem;
    }
    .hero_line_4 {
        font-size: 1.3rem;
    }
    .hero_side_text {
        width: 250px;
        height: 180px;
    }
    .hero_side_text_container {
        padding-left: 30px;
        padding-right: 50px;
    }
    .hero_side_text_content h2 {
        font-size: 1.3rem;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .hero_section {
        height: 75vh;
        min-height: 450px;
    }
    .hero_line_1 {
        font-size: 1.8rem;
    }
    .hero_line_3 {
        font-size: 3.5rem;
    }
    .hero_line_4 {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    .hero_navigation {
        padding: 0 20px;
    }
    .hero_nav_prev,
    .hero_nav_next {
        width: 40px;
        height: 40px;
    }
    .hero_side_text {
        width: 220px;
        height: 160px;
    }
    .hero_side_text_container {
        padding-left: 25px;
        padding-right: 45px;
    }
    .hero_side_text_content h2 {
        font-size: 1.1rem;
    }
    .hero_side_text_content p {
        font-size: 0.8rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero_section {
        height: 75vh;
        min-height: 400px;
    }
    .hero_line_1 {
        font-size: 1.6rem;
    }
    .hero_line_3 {
        font-size: 3rem;
    }
    .hero_line_4 {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    .hero_navigation {
        padding: 0 15px;
    }
    .hero_nav_prev,
    .hero_nav_next {
        width: 35px;
        height: 35px;
    }
    .hero_nav_prev i,
    .hero_nav_next i {
        font-size: 16px;
    }
    .hero_side_text {
        width: 200px;
        height: 140px;
    }
    .hero_side_text_container {
        padding-left: 20px;
        padding-right: 40px;
    }
    .hero_side_text_content h2 {
        font-size: 1rem;
    }
    .hero_side_text_content p {
        font-size: 0.75rem;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .hero_section {
        height: 75vh;
        min-height: 350px;
    }
    .hero_line_1 {
        font-size: 1.4rem;
    }
    .hero_line_2 {
        width: 40px;
        margin: 15px auto;
    }
    .hero_line_3 {
        font-size: 2.5rem;
    }
    .hero_line_4 {
        font-size: 1rem;
        padding: 0 10px;
    }
    .hero_navigation {
        padding: 0 10px;
    }
    .hero_nav_prev,
    .hero_nav_next {
        width: 30px;
        height: 30px;
    }
    .hero_nav_prev i,
    .hero_nav_next i {
        font-size: 14px;
    }
    .hero_indicators {
        bottom: 20px;
        gap: 10px;
    }
    .hero_indicator {
        width: 10px;
        height: 10px;
    }
    .hero_side_text {
        width: 180px;
        height: 120px;
    }
    .hero_side_text_container {
        padding-left: 15px;
        padding-right: 35px;
    }
    .hero_side_text_content h2 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    .hero_side_text_content p {
        font-size: 0.7rem;
        line-height: 1.4;
    }
    .hero_scroll_indicator {
        margin-top: 15px;
    }
    .hero_scroll_indicator i {
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .hero_section {
        height: 75vh;
        min-height: 300px;
    }
    .hero_line_1 {
        font-size: 1.2rem;
    }
    .hero_line_3 {
        font-size: 2.2rem;
    }
    .hero_line_4 {
        font-size: 0.9rem;
    }
    .hero_side_text {
        width: 160px;
        height: 100px;
    }
    .hero_side_text_container {
        padding-left: 12px;
        padding-right: 30px;
    }
    .hero_side_text_content h2 {
        font-size: 0.8rem;
    }
    .hero_side_text_content p {
        font-size: 0.65rem;
    }
}

/* ===================================
   EXISTING STYLES (PRESERVED)
   =================================== */

/* Brand Colors:
   Dark Blue: #071e41
   Vivid Red: #fc0201
   Blue: #3288e8
   Black: #000000
   White: #FFFFFF
*/

/* Quality Featured Card Pulse Animation */
@keyframes pulse-quality {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(252,2,1,0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(252,2,1,0.7);
    }
}

/* Quality Featured Card Hover */
.quality_featured_card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(7,30,65,0.5) !important;
    border-color: #fc0201;
}

/* Value Card Hover Effects */
.value_card {
    transition: all 0.3s ease;
}

.value_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(7, 30, 65, 0.25) !important;
    border-color: #fc0201 !important;
}

.value_card:hover .value_icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Testimonial Card Hover Effects */
.testimonial_card {
    transition: all 0.3s ease;
}

.testimonial_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3) !important;
}

/* About Section Responsive */
@media (max-width: 991px) {
    .about_content {
        padding-left: 0 !important;
        margin-top: 30px;
    }
    
    .mission_vision_section .col-lg-6 {
        padding: 20px !important;
    }
}

/* Mission and Vision Box Animations */
.mission_box, .vision_box {
    transition: all 0.3s ease;
}

.mission_box:hover, .vision_box:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Core Values Section Responsive */
@media (max-width: 767px) {
    .core_values_section .col-lg-4 {
        margin-bottom: 30px !important;
    }
}

/* Testimonials Responsive */
@media (max-width: 991px) {
    .testimonials_section .col-lg-4 {
        margin-bottom: 30px !important;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Section Title Enhancements */
.section_title h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section_title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fc0201, #3288e8);
    border-radius: 2px;
}

/* Icon Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.value_icon i, .mission_box i, .vision_box i {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #071e41, #fc0201);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Hover Enhancements */
.button a {
    position: relative;
    overflow: hidden;
}

.button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
}

.button a:hover::before {
    left: 100%;
}

/* Testimonial Author Image Hover */
.author_image {
    transition: all 0.3s ease;
}

.testimonial_card:hover .author_image {
    transform: scale(1.1);
}

/* Loading Animation for Images */
.about_image img, .v_slider_image img {
    transition: transform 0.3s ease;
}

.about_image:hover img {
    transform: scale(1.05);
}

/* Responsive Typography */
@media (max-width: 767px) {
    .mission_box h2, .vision_box h2 {
        font-size: 26px !important;
    }
    
    .mission_box p, .vision_box p {
        font-size: 15px !important;
    }
    
    .value_card h3 {
        font-size: 20px !important;
    }
}

/* Enhanced Shadow Effects */
.value_card, .testimonial_card {
    position: relative;
    overflow: hidden;
}

.value_card::before, .testimonial_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252,2,1,0.1), transparent);
    transition: left 0.5s ease;
}

.value_card:hover::before, .testimonial_card:hover::before {
    left: 100%;
}

/* Quote Icon Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

.fa-quote-left {
    animation: pulse 2s ease-in-out infinite;
}

/* Mission & Vision Icon Glow */
.mission_box i, .vision_box i {
    filter: drop-shadow(0 0 10px rgba(252,2,1,0.5));
}

/* Accessibility Improvements */
.value_card:focus, .testimonial_card:focus {
    outline: 3px solid #fc0201;
    outline-offset: 3px;
}

/* Print Styles */
@media print {
    .mission_vision_section, .testimonials_section {
        background: white !important;
        color: black !important;
    }
}

/* Portfolio Showcase Styles */
.portfolio_image_container {
    transition: all 0.3s ease;
}

.portfolio_image_container img {
    transition: all 0.5s ease;
}

.portfolio_dot {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.portfolio_dot:hover {
    transform: scale(1.3) !important;
}

/* Services Section Improvements */
.services_item_inner {
    transition: all 0.4s ease;
}

.services_item_inner .service_item_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services_item_inner .service_item_content p {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    line-height: 1.7;
    font-size: 15px;
}

.services_slider .owl-item.center .services_item_inner .service_item_content p {
    -webkit-line-clamp: 6;
    line-clamp: 6;
}

.service_item_button {
    margin-top: auto;
}

/* Business Overview Section */
.overview_image img {
    transition: transform 0.5s ease;
}

.overview_image:hover img {
    transform: scale(1.05);
}

.feature_icon {
    transition: all 0.3s ease;
}

.feature_item:hover .feature_icon {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(7,30,65,0.2);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .overview_content {
        padding-left: 0 !important;
        margin-top: 30px;
    }
    
    .portfolio_showcase_section .col-lg-5,
    .portfolio_showcase_section .col-lg-7 {
        margin-bottom: 30px;
    }
    
    .portfolio_image_container {
        height: 350px !important;
    }
}

@media (max-width: 767px) {
    .portfolio_image_container {
        height: 280px !important;
    }
    
    .portfolio_dots {
        justify-content: center;
    }
}
