:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --accent-color: #ff9900;
    --text-color: #333333;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.navbar-brand span {
    font-weight: bold;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -76px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.banner-content {
    position: relative;
    z-index: 1;
    padding-left: 3rem;
    padding-top: 55vh;
}

.banner-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.banner-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
}

.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
    padding: 0.6rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
}

/* Features Section */
.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

/* Products Section */
.section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.product-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: white;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    background: white;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--secondary-color);
}

/* Case Studies Section */
.case-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.case-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.case-card:hover img {
    transform: scale(1.05);
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.case-card:hover .case-info {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6));
    transform: translateY(-5px);
}

.case-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.case-card:hover .case-info h3 {
    transform: translateY(-5px);
}

.case-info p {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.case-card:hover .case-info p {
    opacity: 1;
}

.case-info .btn {
    margin-top: 1rem;
    opacity: 0.9;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.case-card:hover .case-info .btn {
    opacity: 1;
    transform: translateY(0);
}

/* About Preview Section */
.about-preview {
    background-color: var(--light-gray);
}

.about-preview img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #1a1a1a;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

footer .list-unstyled li {
    margin-bottom: 0rem;
}

footer .list-unstyled li a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .list-unstyled li a:hover {
    color: var(--accent-color) !important;
}

footer .social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }
    
    .banner-content {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 50vh;
        text-align: center;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
    
    .about-preview {
        text-align: center;
    }
    
    .about-preview img {
        margin-bottom: 2rem;
    }

    .case-card img {
        height: 300px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate {
    opacity: 0;
    will-change: transform, opacity;
}

.animate.fade-in-up {
    transform: translateY(30px);
}

.animate.fade-in-left {
    transform: translateX(-30px);
}

.animate.fade-in-right {
    transform: translateX(30px);
}

.animate.scale-in {
    transform: scale(0.9);
}

/* Animation active states */
.animate.active {
    opacity: 1;
    transform: translate(0) scale(1);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate.delay-1.active {
    transition-delay: 0.2s;
}

.animate.delay-2.active {
    transition-delay: 0.4s;
}

.animate.delay-3.active {
    transition-delay: 0.6s;
}

/* Utility Classes */
.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-item {
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 25px;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
}

/* Page Header Styles */
.page-header {
    padding: 120px 0 60px;
    background: var(--light-gray);
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-color);
}

/* Value Card Styles */
.value-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Product Category Card Styles */
.product-category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-category-card:hover img {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.product-category-card:hover .category-content {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6));
    transform: translateY(-5px);
}

/* Product Detail Card Styles */
.product-detail-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-detail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-detail-card:hover img {
    transform: scale(1.05);
}

.product-detail-card .card-body {
    padding: 1.5rem;
}

.product-detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Feature Box Styles */
.feature-box {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-box h3 {
    color: var(--primary-color);
    margin: 1rem 0;
    font-size: 1.25rem;
}

.feature-box p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* Case Study Card Styles */
.case-study-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.case-study-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-study-card:hover img {
    transform: scale(1.05);
}

.case-study-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.case-study-card:hover .case-study-content {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6));
    transform: translateY(-5px);
}

.case-study-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.case-study-content p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.case-details {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.case-details li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.case-details li i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Filter Button Styles */
.filter-buttons {
    margin-bottom: 1rem;
}

.filter-buttons .btn-outline-primary {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.filter-buttons .btn-outline-primary:hover,
.filter-buttons .btn-outline-primary.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .filter-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Case Studies Section */
.case-studies {
    margin-top: -1rem;
}

/* Statistics Box Styles */
.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.stat-box p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Quality Stats Styles */
.quality-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.quality-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.quality-stat h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.quality-stat p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Certification Card Styles */
.certification-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.cert-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.certification-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-details {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.cert-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.cert-details li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.cert-date {
    display: block;
    color: var(--text-color);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Process Step Styles */
.process-step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.process-step p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* Featured Post Styles */
.featured-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.featured-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 2rem;
}

.featured-content h2 {
    color: var(--primary-color);
    margin: 1rem 0;
    font-size: 2rem;
}

.meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.meta i {
    color: var(--primary-color);
}

.excerpt {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card h3 {
    color: var(--primary-color);
    margin: 1rem 0;
    font-size: 1.25rem;
}

/* Blog Filter Styles */
.blog-filter .btn-outline-primary {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.blog-filter .btn-outline-primary:hover,
.blog-filter .btn-outline-primary.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Newsletter Section Styles */
.newsletter {
    background: white;
}

.newsletter h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form .form-control {
    border-radius: 25px 0 0 25px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 2rem;
}

/* Pagination Styles */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
}

/* Category Buttons */
.category-buttons {
    margin-bottom: 3rem;
}

.category-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.category-buttons .btn.active {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .category-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Company Stats Section */
.company-stats {
    background-color: var(--light-color);
}

.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.stat-item h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin: 0;
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("https://ffocbarrier.com/wp-content/themes/ffoc-theme/src/assets/images/cta-bg.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-cta .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.contact-cta .btn-outline-primary {
    border-color: white;
    color: white;
}

.contact-cta .btn-outline-primary:hover {
    background-color: white;
    color: var(--primary-color);
} 