/* HnH Enterprises - Custom CSS */
/* Brand Colors: Navy Blue (#0a2f5c), Orange (#f5a623), White (#ffffff), Light Grey (#f4f4f4) */

:root {
    --navy-blue: #0a2f5c;
    --orange: #f5a623;
    --white: #ffffff;
    --light-grey: #f4f4f4;
    --text-dark: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --shadow-color: rgba(10, 47, 92, 0.1);
    --shadow-hover: rgba(10, 47, 92, 0.2);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.text-navy { color: var(--navy-blue) !important; }
.text-orange { color: var(--orange) !important; }
.bg-navy { background-color: var(--navy-blue) !important; }
.bg-orange { background-color: var(--orange) !important; }
.bg-light-grey { background-color: var(--light-grey) !important; }
.bg-light-orange { background-color: rgba(245, 166, 35, 0.1) !important; }

/* Section Spacing */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

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

/* Navigation */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-blue) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--orange) !important;
    background-color: rgba(245, 166, 35, 0.1);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
}

.btn-secondary {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--navy-blue);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.btn-outline-primary {
    border-color: var(--navy-blue);
    color: var(--navy-blue);
}

.btn-outline-primary:hover {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
    color: var(--white);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--navy-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-blue) 0%, #1a4b8c 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 47, 92, 0.3);
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Category Cards */
.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.category-card a {
    color: inherit;
    text-decoration: none;
}

.category-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.category-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.category-arrow {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    color: var(--orange);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Highlight Cards */
.highlight-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--orange);
}

.highlight-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.highlight-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Foundation Cards (About Page) */
.foundation-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.foundation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.foundation-icon {
    font-size: 3rem;
    color: var(--orange);
}

.foundation-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.foundation-description {
    color: var(--text-muted);
    line-height: 1.7;
}

.values-list .value-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-grey);
    cursor: pointer;
}

.product-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

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

.product-content {
    padding: 1.5rem;
}

.product-category .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin: 1rem 0;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.service-header {
    margin-bottom: 2rem;
}

.service-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Process Steps */
.process-step {
    position: relative;
    padding-top: 2rem;
}

.process-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.process-icon {
    font-size: 2rem;
    color: var(--navy-blue);
}

.process-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.process-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(245, 166, 35, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

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

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.2rem;
    color: var(--orange);
}

.contact-info-content h6 {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0;
}

.testimonial-author {
    color: var(--text-muted);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--navy-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--orange);
}

/* Footer */
footer {
    background-color: var(--navy-blue) !important;
}

footer h5, footer h6 {
    color: var(--orange) !important;
}

.social-links a,
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover,
.social-link:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128c7e;
    color: var(--white);
    transform: scale(1.1);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--navy-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

/* Benefits Section */
.benefit-item,
.feature-item {
    display: flex;
    align-items: flex-start;
}

.benefit-icon,
.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.benefit-content,
.feature-content {
    flex: 1;
}

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

/* Accordion */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    margin-bottom: 1rem;
}

.accordion-button {
    background: var(--white);
    color: var(--navy-blue);
    font-weight: 500;
    border-radius: 10px;
}

.accordion-button:not(.collapsed) {
    background: var(--light-grey);
    color: var(--navy-blue);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(245, 166, 35, 0.25);
    border-color: var(--orange);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-card,
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .category-card,
    .highlight-card,
    .foundation-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 1.5rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top {
        bottom: 80px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Loading and Animation States */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

.scale-in {
    animation: scaleIn 0.5s ease-in-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .scroll-to-top,
    .navbar,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Utility Classes */
.text-white-50 {
    opacity: 0.75;
}

.border-0 {
    border: none !important;
}

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

.rounded-lg {
    border-radius: 15px !important;
}

/* Custom Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}
