/* Custom Styles for Sidhu & Sons Construction Ltd - Small Page Headers */

.page-header {
    background: #1C1C1C !important;
    padding: 30px 0 !important;
    margin-top: 0 !important;
}

/* Hero Video Section */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero-video .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video .video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    min-width: 100%;
    min-height: 100%;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
}

.hero-video .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-video .video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: white;
    width: 100%;
    padding: 0 20px;
}

.hero-video .video-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-video .video-content p {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Responsive Video */
@media (max-width: 768px) {
    .hero-video {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-video .video-content h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .hero-video .video-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .hero-video .video-content .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-video {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-video .video-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-video .video-content p {
        font-size: 12px;
    }
}

/* Carousel adjustments for header */
#carousel {
    margin-top: 0 !important;
}

/* Featured Projects Section */
.featured-projects {
    padding: 90px 0;
}

.featured-project-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.featured-project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.featured-project-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.featured-project-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-project-item:hover .featured-project-img img {
    transform: scale(1.1);
}

.featured-project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.featured-project-item:hover .featured-project-overlay {
    transform: translateY(0);
}

.featured-project-overlay h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .featured-project-img img {
        height: 250px;
    }
}

/* Portfolio Page - Featured Projects Gallery */
.portfolio-gallery .portfolio-item {
    margin-bottom: 30px;
}

.portfolio-warp {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    background: #fff;
}

.portfolio-warp:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
}

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

.portfolio-warp:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 60, 114, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
}

.portfolio-warp:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.portfolio-text {
    padding: 20px;
    background: #fff;
}

.portfolio-text h3 {
    color: #030f27;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-text .btn {
    background: #1e3c72;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.portfolio-text .btn:hover {
    background: #2a5298;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .portfolio-img {
        height: 250px;
    }
    
    .portfolio-overlay h3 {
        font-size: 16px;
    }
    
    .portfolio-overlay p {
        font-size: 12px;
    }
}

.page-header h2 {
    color: #fff !important;
    font-size: 24px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-weight: 600;
}

.page-header .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-header .breadcrumb-item a {
    color: #fff !important;
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: #FF6B35 !important;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #fff;
    padding: 0 8px;
}

.banner-dots {
    display: inline-block;
    margin: 0 10px;
    color: #FF6B35;
    font-weight: bold;
}

.banner-dots::before {
    content: " • ";
}

.btn-call {
    transition: all 0.3s ease;
}

.btn-call:hover {
    background: #e55a2b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
}

.cta-section .btn {
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background: #e55a2b !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.top-bar {
    background: #1C1C1C;
    color: #fff;
    padding: 10px 0;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: #FF6B35;
}

.nav-bar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #FF6B35;
}

.footer {
    background: #1C1C1C;
    color: #fff;
}

.footer h2 {
    color: #fff;
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: #FF6B35;
}

.footer-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #333;
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #FF6B35;
    color: #fff;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .banner-dots {
        display: none;
    }
    
    .page-header {
        padding: 20px 0 !important;
    }
    
    .page-header h2 {
        font-size: 20px !important;
    }
}

/* Contact Page - Blue and Black Theme */
.contact .col-md-6:first-child {
    background: #030f27 !important; /* Dark black/blue */
}

.contact .col-md-6:last-child {
    background: #1e3c72 !important; /* Blue background instead of yellow */
}

.contact .contact-item [class^="flaticon-"]::before {
    color: #4a90e2 !important; /* Blue icons instead of yellow */
}

.contact .contact-text h2 {
    color: #4a90e2 !important; /* Blue headings instead of yellow */
}

.contact .section-header p {
    color: #4a90e2 !important; /* Blue subtitle */
    font-weight: 600;
}

.contact .section-header h2 {
    color: #030f27 !important; /* Black heading */
}

.contact .contact-form .btn {
    color: #ffffff !important; /* White text */
    background: #1e3c72 !important; /* Blue background */
    border: 2px solid #4a90e2 !important;
}

.contact .contact-form .btn:hover {
    color: #ffffff !important;
    background: #4a90e2 !important; /* Lighter blue on hover */
    border-color: #4a90e2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    border-color: #4a90e2 !important; /* Blue border on focus */
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25) !important;
}

.contact .alert-success {
    background-color: #1e3c72 !important;
    border-color: #4a90e2 !important;
    color: #ffffff !important;
}

.contact .alert-danger {
    background-color: #8b0000 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

/* Contact Request Modal Styles */
#contactRequestModal .modal-content {
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

#contactRequestModal .modal-header {
    background: #1e3c72;
    color: #fff;
    border-bottom: 2px solid #4a90e2;
}

#contactRequestModal .modal-body {
    background: #f8f9fa;
}

#contactRequestModal .form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

#contactRequestModal #modalSubmitButton:hover {
    background: #4a90e2 !important;
    border-color: #4a90e2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.get-quote-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Services Section - Modern Design */
.service-section {
    position: relative;
    width: 100%;
    padding: 90px 0;
    background: #f8f9fa;
}

.service-card-modern {
    position: relative;
    height: 100%;
    perspective: 1000px;
}

.service-card-modern a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.service-card-modern a:hover {
    color: #1e3c72;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover .service-card-inner {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.2);
    border-top-color: #4a90e2;
}

.service-icon-modern {
    text-align: center;
    margin-bottom: 0;
    padding: 40px 30px 0;
    position: relative;
    z-index: 2;
}

.service-icon-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72 0%, #4a90e2 100%);
    border-radius: 50%;
    position: relative;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.service-icon-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90e2 0%, #1e3c72 100%);
    opacity: 0;
    transition: all 0.4s;
}

.service-card-modern:hover .service-icon-circle::before {
    opacity: 1;
}

.service-icon-circle i {
    font-size: 55px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.service-card-modern:hover .service-icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4);
}

.service-image-wrapper-full {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    border-radius: 15px 15px 0 0;
}

.service-image-wrapper-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s;
}

.service-card-modern:hover .service-image-wrapper-full img {
    transform: scale(1.1);
}

.service-content-modern {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 30px;
    flex: 1;
}

.service-title-modern {
    color: #030f27;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.3s;
    line-height: 1.3;
}

.service-card-modern:hover .service-title-modern {
    color: #1e3c72;
}

.service-description-modern {
    color: #666666;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    transition: all 0.3s;
}

.service-card-modern:hover .service-description-modern {
    color: #555555;
}

.service-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(74, 144, 226, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.service-card-modern:hover .service-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.service-hover-content h4 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-hover-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .service-section {
        padding: 60px 0;
    }
    
    .service-content-modern {
        padding: 25px;
    }
    
    .service-icon-modern {
        padding: 35px 25px 0;
    }
    
    .service-image-wrapper-full {
        height: 220px;
    }
    
    .service-icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .service-icon-circle i {
        font-size: 45px;
    }
    
    .service-title-modern {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .service-section {
        padding: 50px 0;
    }
    
    .service-content-modern {
        padding: 20px;
    }
    
    .service-icon-modern {
        padding: 30px 20px 0;
    }
    
    .service-image-wrapper-full {
        height: 200px;
    }
}

/* Header Services Dropdown Styles */
.nav-link-inner.dropdown-toggle::after {
    display: none;
}

.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    background: #1e3c72;
    border: none;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-item.dropdown .dropdown-menu .dropdown-item {
    color: #ffffff;
    padding: 12px 20px;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: none;
    font-size: 14px;
}

.nav-item.dropdown .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
    background: #4a90e2;
    color: #ffffff;
    padding-left: 25px;
}

.nav-item.dropdown .dropdown-menu .dropdown-item.active {
    background: #4a90e2;
    color: #ffffff;
}

/* Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .nav-item.dropdown .dropdown-menu {
        position: static;
        transform: none;
        margin-top: 5px;
        background: rgba(30, 60, 114, 0.9);
    }
    
    .nav-item.dropdown .dropdown-toggle {
        cursor: pointer;
    }
}
