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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004d99;
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

/* Header Styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo h1 {
    color: #0066cc;
    font-size: 1.8rem;
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: #666;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 0 0 1.5rem;
}

.nav-link {
    display: block;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover, 
.nav-link.active {
    color: #0066cc;
    text-decoration: none;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1010;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background-color: #0066cc;
    color: white;
    padding: 4rem 0;
    background-image: linear-gradient(rgba(0, 102, 204, 0.9), rgba(0, 102, 204, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 600px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e68a00;
    text-decoration: none;
    color: white;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    margin-bottom: 1rem;
    color: #666;
}

/* Trending Section */
.trending {
    padding: 4rem 0;
    background-color: #f0f5ff;
}

.trend-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trend-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.trend-card h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background-color: #004d99;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background-color: #eef5fc;
    display: none;
}

.partners-list {
    text-align: center;
    line-height: 2;
    color: #555;
    font-size: 1.1rem;
}

.partners-list a {
    margin: 0 0.5rem;
    white-space: nowrap;
}


/* Recent Projects Section */
.recent-projects {
    padding: 4rem 0;
    background-color: white;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3, .project-card p, .project-card a {
    padding: 0 1.5rem;
}

.project-card h3 {
    margin: 1.5rem 0 1rem;
    color: #333;
}

.project-card p {
    color: #666;
    margin-bottom: 1rem;
}

.project-card a {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
}

/* Footer */
footer {
    background-color: #222;
    color: #ddd;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: #bbb;
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        padding: 1rem 0;
        width: 100%;
    }
    
    .nav-link:after {
        display: none;
    }
    
    body.nav-open:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-grid, .trend-container {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
    grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-wrapper {
        padding: 0.8rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .btn-primary {
        display: block;
        text-align: center;
    }
    
    .feature-card, .trend-card, .project-card {
        padding: 1.5rem;
    }
}

/* Roofing Page Specific Styles */
.roofing-header {
    background-color: #004d99;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Expert Profile Section */
.expert-intro {
    padding: 4rem 0;
    background-color: white;
}

.expert-profile {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.expert-image {
    flex: 0 0 250px;
}

.expert-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.expert-info {
    flex: 1;
}

.expert-info h2 {
    color: #0066cc;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.expert-title {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.expert-bio {
    margin-bottom: 1rem;
}

.expert-quote {
    font-style: italic;
    border-left: 3px solid #0066cc;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #555;
}

.expert-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.credential {
    background-color: #e6f0ff;
    color: #0066cc;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Materials Tabs Section */
.roofing-materials {
    padding: 4rem 0;
    background-color: #f0f5ff;
}

.materials-tabs {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto;
    white-space: nowrap;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #0066cc;
}

.tab-btn.active {
    color: #0066cc;
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0066cc;
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.material-comparison h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.expert-insight {
    background-color: #f8f9fa;
    border-left: 3px solid #ff9900;
    padding: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #555;
}

.comparison-table {
    margin-bottom: 2rem;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background-color: #0066cc;
    color: white;
    padding: 0.8rem;
    text-align: left;
}

.comparison-table td {
    padding: 0.8rem;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.material-description h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.material-description p {
    margin-bottom: 1rem;
}

/* DIY vs Professional Section */
.diy-vs-professional {
    padding: 4rem 0;
    background-color: white;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.diy-card {
    border-top: 4px solid #ff9900;
}

.pro-card {
    border-top: 4px solid #0066cc;
}

.comparison-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.pros h4 {
    color: #28a745;
    margin-bottom: 1rem;
}

.cons h4 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.pros-cons ul {
    padding-left: 1.5rem;
}

.pros-cons li {
    margin-bottom: 0.5rem;
}

.expert-opinion, .expert-offer {
    background-color: #e6f0ff;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Case Studies Section */
.case-studies {
    padding: 4rem 0;
    background-color: #f0f5ff;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.case-study {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.case-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-content {
    padding: 2rem;
    flex: 1;
}

.case-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.case-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.case-description {
    margin-bottom: 1.5rem;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.result-value {
    display: block;
    font-weight: 700;
    color: #0066cc;
}

/* CTA Section Modification */
.dakdekker-cta {
    background-color: #004080;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: #0066cc;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background-color: #f0f5ff;
    text-decoration: none;
}

/* Responsive Adjustments for Roofing Page */
@media (max-width: 992px) {
    .expert-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-image {
        flex: 0 0 auto;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .expert-quote {
        text-align: left;
    }
    
    .expert-credentials {
        justify-content: center;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .case-study {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 0 auto;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .case-img {
        height: 200px;
    }
    
    .case-results {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .expert-info h2 {
        font-size: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .case-results {
        grid-template-columns: 1fr;
    }
}

/* Calculator Page Styles */
.calculator-header {
    background-color: #0066cc;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.calculators-intro {
    padding: 3rem 0;
    background-color: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.intro-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.expert-tip {
    background-color: #f0f5ff;
    border-left: 3px solid #0066cc;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    border-radius: 4px;
}

/* Calculator Sections */
.calculator-section {
    padding: 3rem 0;
}

.calculator-section:nth-child(odd) {
    background-color: #f8f9fa;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.calculator-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.calculator-card.full-width {
    grid-column: 1 / -1;
}

.calculator-card h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.calculator-card > p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Calculator Forms */
.calculator-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Calculator Results */
.calculator-result {
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.result-header {
    background-color: #0066cc;
    color: white;
    padding: 0.8rem 1.5rem;
}

.result-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.result-content {
    padding: 1.5rem;
}

.total-cost {
    font-size: 1.2rem;
    color: #0066cc;
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.savings-tip {
    background-color: #fff8e6;
    padding: 1rem;
    border-left: 3px solid #ff9900;
    margin-top: 1rem;
}

.calculator-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Tips Section */
.calculator-tips {
    padding: 4rem 0;
    background-color: #f0f5ff;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.tip-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .calculators-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .calculator-card {
        padding: 1.5rem;
    }
    
    .result-content {
        padding: 1rem;
    }
}

/* Projects Page Styles */
.projects-header {
    background-color: #0066cc;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

/* Project Filters */
.project-filters {
    padding: 2rem 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.filter-container {
    text-align: center;
}

.filter-container h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    background-color: #f0f5ff;
    color: #0066cc;
    border: 1px solid #d0e0ff;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #d0e0ff;
}

.filter-btn.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* Projects Grid */
.projects-grid-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.project-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.project-image {
    height: 300px;
    overflow: hidden;
}

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

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

.project-content {
    padding: 2rem;
    flex: 1;
}

.project-category {
    display: inline-block;
    background-color: #f0f5ff;
    color: #0066cc;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.meta-item {
    display: inline-block;
}

.project-description {
    margin-bottom: 1.5rem;
    color: #555;
}

.project-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.result-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.result-value {
    display: block;
    font-weight: 700;
    color: #0066cc;
    font-size: 1.1rem;
}

.project-quote {
    background-color: #f0f5ff;
    border-left: 3px solid #0066cc;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: white;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial:first-child {
    display: block;
}

.testimonial-content {
    background-color: #f0f5ff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: #f0f5ff;
    transform: rotate(45deg);
}

.testimonial-content p {
    font-style: italic;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    margin: 0;
    color: #333;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Start Project Section */
.start-project {
    padding: 4rem 0;
    background-color: #0066cc;
    color: white;
    text-align: center;
}

.start-project-content {
    max-width: 800px;
    margin: 0 auto;
}

.start-project-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.start-project-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.start-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.start-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.start-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    overflow-y: auto;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 0;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    position: relative;
    padding: 2rem;
    margin: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    color: #0066cc;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

.project-details {
    margin-bottom: 2rem;
}

.project-details h3, .project-story h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-details ul {
    list-style: none;
    padding: 0;
}

.project-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.project-details li:last-child {
    border-bottom: none;
}

.project-story {
    margin-bottom: 2rem;
}

.project-story p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-story blockquote {
    background-color: #f0f5ff;
    border-left: 3px solid #0066cc;
    padding: 1.2rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.modal-cta {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.modal-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .project-results {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .project-results {
        grid-template-columns: 1fr;
    }
    
    .modal-gallery {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .start-buttons {
        flex-direction: column;
    }
    
    .start-buttons a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-header {
    background-color: #0066cc;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

/* Contact Options */
.contact-options {
    padding: 4rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card.highlight {
    background-color: #f0f5ff;
    border: 2px solid #0066cc;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.contact-card h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 0.5rem;
}

.contact-label {
    font-weight: 600;
    color: #555;
    margin-right: 0.5rem;
}

.special-offer {
    background-color: #fff8e6;
    padding: 1rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    border-left: 3px solid #ff9900;
}

/* Contact Forms */
.contact-forms {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.forms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.form-section {
    background-color: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-title {
    color: #0066cc;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-description {
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #0066cc;
    outline: none;
}

.contact-form input.invalid,
.contact-form select.invalid,
.contact-form textarea.invalid {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-actions {
    margin-top: 2rem;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
}

.form-success h3 {
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #0066cc;
    font-weight: bold;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 1.5rem;
    color: #666;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: #f0f5ff;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-img {
    width: 100%;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 80%;
    text-align: center;
}

.map-info h3 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.map-info p {
    margin-bottom: 0.5rem;
}

.map-info .btn-primary {
    margin-top: 1.5rem;
}

/* Responsive Adjustments for Contact Page */
@media (max-width: 992px) {
    .forms-container {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .map-info {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 2rem;
    }
    
    .form-section {
        padding: 2rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .forms-container {
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .map-info h3 {
        font-size: 1.2rem;
    }
}

/* Price Comparison Page Styles */
.page-header {
    background-color: #0066cc;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* Search and Filter Section */
.search-filter {
    padding: 2rem 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-box button {
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #004d99;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.filter-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
}

/* Material Results Section */
.material-results {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.material-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
}

.material-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.material-details {
    padding: 1.5rem;
}

.material-details h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.description {
    color: #666;
    margin-bottom: 1rem;
}

.price-range {
    background-color: #f0f5ff;
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.price-label {
    font-weight: 600;
    color: #555;
    margin-right: 0.5rem;
}

.price {
    font-weight: 700;
    color: #0066cc;
}

.suppliers {
    margin-bottom: 1.5rem;
}

.suppliers p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.suppliers ul {
    list-style: none;
    padding-left: 0;
}

.suppliers li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
}

.suppliers li:last-child {
    border-bottom: none;
}

.expert-tip {
    background-color: #fff8e6;
    padding: 1rem;
    border-left: 3px solid #ff9900;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #555;
}

/* Price Trends Section */
.price-trends {
    padding: 4rem 0;
    background-color: white;
}

.trends-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.trend-graph {
    text-align: center;
}

.graph-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trend-analysis h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.trend-list {
    padding-left: 1.5rem;
}

.trend-list li {
    margin-bottom: 1rem;
    color: #555;
}

.trend-list strong {
    color: #333;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background-color: #004d99;
    color: white;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.success-message {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .trends-container {
        grid-template-columns: 1fr;
    }
    
    .trend-graph {
        order: 2;
    }
    
    .trend-analysis {
        order: 1;
    }
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .material-img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .material-details {
        padding: 1.2rem;
    }
}