/* Global Container & Responsive Padding */
.container, .auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skymax Brand Styles */
.skymax-logo-img {
    max-width: 250px;
    height: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.skymax-gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Banner with Background Image & Dark Overlay */
.hero-banner {
    position: relative;
    background-image: url('/images/homebanner1.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 90px;
    color: #ffffff;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(9, 37, 82, 0.88) 100%);
    z-index: 1;
}

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

/* Vibrant Light-Blue Estimate Card */
.hero-estimate-card {
    background: linear-gradient(135deg, #0088CC 0%, #0066AA 100%);
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.hero-estimate-card input,
.hero-estimate-card select,
.hero-estimate-card textarea {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0F172A !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 0.92rem !important;
    width: 100%;
}

.hero-estimate-card label {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
    display: block;
}

/* Portfolio Gallery Zoom Effects */
.portfolio-img-box {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(9, 37, 82, 0.08);
}

.portfolio-img-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 14px;
}

.portfolio-img-box:hover img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 37, 82, 0) 30%, rgba(9, 37, 82, 0.88) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    color: #ffffff;
}

.portfolio-img-box:hover .portfolio-overlay {
    opacity: 1;
}

/* Worker Cutout */
.worker-cutout {
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
}

/* Solution Card Image */
.solution-card .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Tier 1: Header Top Bar */
.header-top-bar {
    background: var(--primary-navy, #092552);
    color: #E2E8F0;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-text {
    font-size: 14px !important;
    font-weight: 400 !important;
    align-items: center !important;
    display: inline-flex !important;
    gap: 8px !important;
}

.header-top-bar a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-top-bar a:hover {
    color: var(--primary-cyan, #00A8E8);
}

.header-top-bar .top-left-info span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
}

.header-top-bar .top-social-links a {
    margin-left: 15px;
}

/* Tier 2: Main Header Navbar */
.main-header .header-upper {
    background: #ffffff;
    border-bottom: 2px solid var(--accent-soft-blue, #E0F2FE);
    box-shadow: 0 4px 15px rgba(9, 37, 82, 0.06);
    padding: 12px 0;
}

.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a {
    color: var(--primary-light-blue, #0088CC) !important;
}

/* Call & Action Box */
.header-call-box {
    display: flex;
    align-items: center;
}

/* Solution Cards Hover Styles */
.solution-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(9, 37, 82, 0.06);
    border: 1px solid #E2E8F0;
    transition: all 0.35s ease;
    overflow: hidden;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(9, 37, 82, 0.14) !important;
    border-top: 4px solid var(--primary-cyan, #00A8E8);
}

.solution-card .solution-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--brand-gradient, linear-gradient(135deg, #092552 0%, #0088CC 50%, #00A8E8 100%));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.3);
    transition: all 0.35s ease;
}

.solution-card:hover .solution-icon {
    background: var(--brand-gradient-hover, linear-gradient(135deg, #00A8E8 0%, #0088CC 50%, #092552 100%)) !important;
    transform: scale(1.08);
}

/* Progress Bar Styling */
.skymax-progress-bar-container {
    height: 10px;
    background: #E2E8F0;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
}

.skymax-progress-bar-fill {
    height: 100%;
    background: var(--brand-gradient, linear-gradient(90deg, #092552 0%, #0088CC 50%, #00A8E8 100%));
    border-radius: 6px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image Collage Helper */
.collage-container {
    position: relative;
    padding: 15px;
}

.collage-main-img {
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(9, 37, 82, 0.12);
    width: 100%;
    object-fit: cover;
}

.collage-badge-img {
    position: absolute;
    bottom: -20px;
    right: 0px;
    width: 55%;
    border-radius: 12px;
    border: 5px solid #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Buttons */
.skymax-btn-primary {
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.25);
    padding: 14px 32px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.skymax-btn-primary:hover {
    background: var(--brand-gradient-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.35);
    color: #ffffff !important;
}

.skymax-btn-secondary {
    background: var(--primary-navy) !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease !important;
    padding: 14px 32px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.skymax-btn-secondary:hover {
    background: var(--primary-cyan) !important;
    color: #ffffff !important;
}

.main-footer {
    background-color: var(--primary-navy) !important;
    color: #ffffff;
}

.main-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}
