/* 
   Sky Heights Homecare & Bureau Services
   Custom Stylesheet
   Primary Color: Deep Navy Blue (#0F2C45)
   Accent Color: Warm Gold (#D4AF37)
*/

:root {
    --primary-color: #0F2C45;
    --accent-color: #D4AF37;
    --accent-hover: #b5952f;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.btn-custom {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    display: inline-block;
}

.btn-custom:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-outline-custom:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Header */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.navbar-brand img {
    max-height: 90px;
    /* Increased size as per user request */
    width: auto;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

/* =====================================================
   Hero Slider — Cinematic Full-Viewport Design
   ===================================================== */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

/* Each slide occupies full viewport height */
.hero-slide {
    position: relative;
    min-height: 100vh;
}

/* Background image layer with subtle ken-burns zoom */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.carousel-item.active .hero-bg {
    transform: scale(1);
}

/* Gradient overlay: dark on left, transparent on right */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(15, 44, 69, 0.88) 0%,
            rgba(15, 44, 69, 0.65) 55%,
            rgba(15, 44, 69, 0.25) 100%);
}

/* Content sits above overlay */
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    /* account for sticky navbar */
}

/* Animated badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.carousel-item.active .hero-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Main headline */
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.carousel-item.active .hero-title {
    opacity: 1;
    transform: translateY(0);
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.carousel-item.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* CTA buttons row */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

.carousel-item.active .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn-primary {
    background: var(--accent-color);
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.hero-btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.hero-btn-outline {
    background: transparent;
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* Custom navigation arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.hero-nav:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

/* Dot indicators */
.hero-indicators {
    bottom: 40px;
    gap: 8px;
    margin: 0;
}

.hero-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.hero-indicators button.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Scroll-down bounce arrow */
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll-hint a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.hero-scroll-hint span {
    display: block;
    width: 14px;
    height: 14px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: scrollBounce 1.5s infinite;
}

.hero-scroll-hint span:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.6;
}

.hero-scroll-hint span:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.3;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 100px;
    }

    .hero-nav {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        text-align: center;
    }
}


/* Services */
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* About Section */
.about-img {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.about-img img {
    width: 100%;
    transition: transform 0.3s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.core-value-item {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
}

/* Team */
.team-member {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.team-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    margin-bottom: 5px;
}

.team-role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-client {
    display: flex;
    align-items: center;
}

.client-info h5 {
    margin: 0;
    font-size: 1.1rem;
}

.stars {
    color: var(--accent-color);
}

/* CTA Strip */
.cta-strip {
    background-color: var(--accent-color);
    padding: 40px 0;
    text-align: center;
}

.cta-strip h3 {
    color: var(--white);
    margin: 0;
    font-size: 2rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 20px;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

/* =====================================================
   Individual Page Hero Banners
   ===================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a72 100%);
    padding: 80px 0 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    position: relative;
}

.page-hero .breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   Responsive Tweaks
   ===================================================== */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cta-strip h3 {
        font-size: 1.5rem;
    }
}