/* Custom CSS for AstroHome Interiors */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.hero-content {
    padding: 100px 0 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    padding: 50px 0;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
}

.why-content {
    padding: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-text h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

.why-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Portfolio Highlights */
.portfolio-highlights {
    padding: 80px 0;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.portfolio-overlay h5 {
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin: 0;
    opacity: 0.8;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author h6 {
    margin-bottom: 0.25rem;
    color: white;
}

.testimonial-author small {
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Footer */
.footer {
    padding: 60px 0 20px;
}

.footer h5,
.footer h6 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--secondary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        text-align: center;
        flex-direction: column;
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}



/* Additional styles for new pages */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Service Hero */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Service Detail Cards */
.service-detail-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-detail-card .service-image {
    height: 200px;
    overflow: hidden;
}

.service-detail-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-detail-card:hover .service-image img {
    transform: scale(1.05);
}

.service-detail-card .service-content {
    padding: 1.5rem;
}

.service-detail-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-detail-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.process-step h5,
.process-step h6 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Feature List */
.feature-list .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-list .feature-item i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.feature-list .feature-item h6 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-list .feature-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 1.5rem;
}

.feature-box i {
    font-size: 2.5rem;
    display: block;
}

.feature-box h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    margin: 0;
}

/* Style Grid */
.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.style-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.style-item h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.style-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Approach Cards */
.approach-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.approach-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.approach-card h5 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.approach-card p {
    color: var(--text-light);
    margin: 0;
}

/* Industry Cards */
.industry-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.industry-card h6 {
    margin: 0;
    color: var(--text-dark);
}

/* Mission & Vision Cards */
.mission-card,
.vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
}

.mission-icon,
.vision-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.mission-card h3,
.vision-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mission-card p,
.vision-card p {
    color: var(--text-light);
    margin: 0;
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.value-card h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

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

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    color: var(--text-dark);
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Award Cards */
.award-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.award-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.award-card h6 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.award-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Statistics */
.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

/* Contact Info */
.contact-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h6 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

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

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Terms and Privacy Content */
.terms-text,
.privacy-text {
    line-height: 1.8;
}

.terms-text h2,
.privacy-text h2 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.terms-text h3,
.privacy-text h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.terms-text ul,
.privacy-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.terms-text li,
.privacy-text li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.terms-footer,
.privacy-footer {
    border-left: 4px solid var(--secondary-color);
}

/* Subscribe Page */
.subscribe-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-features {
    margin-top: 2rem;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.subscribe-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 0;
}

.subscribe-form-card {
    background: white;
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    max-width: 500px;
}

.newsletter-form .form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.newsletter-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.newsletter-form .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Benefit Cards */
.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.benefit-card h5 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    margin: 0;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.benefits-list i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 1.5rem;
    }
    
    .subscribe-form-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .hero-features .feature-item {
        font-size: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

