/* Custom CSS for Daily Home Guides */

:root {
    --primary-color: #0f766e;
    --secondary-color: #f97316;
    --dark-color: #0b1220;
    --light-color: #fbfaf8;
    --success-color: #16a34a;
    --text-color: #111827;
    --text-muted: #4b5563;
    --surface-color: #ffffff;
    --border-color: rgba(17, 24, 39, 0.10);
    --shadow-color: rgba(11, 18, 32, 0.14);
}

/* Global Styles */
body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-color);
}

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

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), rgba(15, 118, 110, 0.75), var(--secondary-color)) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), rgba(15, 118, 110, 0.78), var(--secondary-color));
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 118, 110, 0.25), 0 10px 24px rgba(249, 115, 22, 0.18);
}

.btn-outline-light:hover {
    color: var(--dark-color);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

.card,
.accordion-item {
    border-radius: 18px;
    border-color: var(--border-color);
}

.shadow-sm {
    box-shadow: 0 10px 28px var(--shadow-color) !important;
}

.shadow {
    box-shadow: 0 18px 46px rgba(11, 18, 32, 0.20) !important;
}

.shadow-lg {
    box-shadow: 0 26px 70px rgba(11, 18, 32, 0.24) !important;
}

/* Navigation */
.navbar-brand {
    color: var(--dark-color) !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.navbar {
    transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.navbar .btn {
    border-radius: 999px;
    padding-left: 18px;
    padding-right: 18px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(11, 18, 32, 0.65), rgba(11, 18, 32, 0.50)), url('../images/UiGLQzoVXTxe.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.86), rgba(249, 115, 22, 0.74));
}

.hero-title {
    animation: fadeInUp 1s ease-out;
}

.hero-section .btn {
    border-radius: 999px;
}

.hero-section .btn-lg {
    padding-left: 22px;
    padding-right: 22px;
}

.hero-section .lead {
    opacity: 0.94;
    max-width: 54rem;
    margin-left: auto;
    margin-right: auto;
}

.page-hero {
    position: relative;
    padding: 6.25rem 0;
    color: #fff;
    background:
        radial-gradient(900px 420px at 15% 30%, rgba(249, 115, 22, 0.28), transparent 55%),
        radial-gradient(780px 360px at 85% 25%, rgba(15, 118, 110, 0.38), transparent 55%),
        linear-gradient(rgba(11, 18, 32, 0.58), rgba(11, 18, 32, 0.62)),
        var(--hero-bg, url('../images/UiGLQzoVXTxe.jpg'));
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero .lead {
    opacity: 0.95;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    border-radius: 18px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 55px rgba(11, 18, 32, 0.18);
}

.service-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

/* Portfolio Cards */
.portfolio-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 55px rgba(11, 18, 32, 0.16);
}

.portfolio-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Filter Buttons */
.filter-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 999px;
    padding-left: 18px;
    padding-right: 18px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Testimonial Cards */
.testimonial-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.star-rating {
    color: #fbbf24;
}

/* Contact Form */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.22);
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: var(--border-color);
}

.accordion-button {
    border-radius: 18px !important;
}

.accordion-button:not(.collapsed) {
    color: var(--dark-color);
    background: rgba(15, 118, 110, 0.10);
    box-shadow: none;
}

.accordion-item {
    border-color: var(--border-color);
    background: var(--surface-color);
}

.subscribe-area {
    background: linear-gradient(135deg, var(--primary-color), rgba(15, 118, 110, 0.75), var(--secondary-color)) !important;
}

.site-footer {
    background:
        radial-gradient(800px 380px at 15% 20%, rgba(249, 115, 22, 0.22), transparent 55%),
        radial-gradient(760px 360px at 85% 30%, rgba(15, 118, 110, 0.26), transparent 55%),
        linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(11, 18, 32, 0.98));
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline !important;
}

.contact-info-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.subscribe-text span {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 5px;
    opacity: 0.95;
}

.subscribe-text h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: 6px;
}

.subscribe-wrapper {
    overflow: hidden;
}

.subscribe2-wrapper .subscribe-form input {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    height: 56px;
    margin-right: 14px;
    padding-left: 22px;
    padding-right: 22px;
    width: 70%;
}

.subscribe2-wrapper .subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.subscribe2-wrapper .subscribe-form button {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 999px;
    color: rgba(11, 18, 32, 0.92);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    padding: 18px 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscribe2-wrapper .subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(11, 18, 32, 0.22);
}

.subscribe2-wrapper .subscribe-form button i {
    font-size: 16px;
}

.pb-50 {
    padding-bottom: 50px;
}

.pt-70 {
    padding-top: 70px;
}

.mb-15 {
    margin-bottom: 15px;
}

/* About Page Styles */
.value-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), rgba(15, 118, 110, 0.78), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

/* Process Steps */
.process-step {
    position: relative;
    text-align: center;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), rgba(15, 118, 110, 0.78), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 100%;
    width: 100%;
    height: 2px;
    background: rgba(17, 24, 39, 0.10);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .process-step::after {
        display: none;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
