/* Additional Styles for Specific Pages */

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--hunter-green) 0%, var(--pine-teal) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/page-header-bg.jpg') center/cover;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

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

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb::after {
    content: '';
    display: none;
}

/* Product Overview Styles */
.product-overview {
    padding: 80px 0;
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--pine-teal);
    margin-bottom: 2rem;
}

.key-features {
    background: var(--dust-grey);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.key-features h3 {
    color: var(--fern);
    margin-bottom: 1rem;
}

.key-features ul {
    list-style: none;
}

.key-features li {
    padding: 0.5rem 0;
    color: var(--pine-teal);
    position: relative;
    padding-left: 25px;
}

.key-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--fern);
    font-weight: bold;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Product Specifications */
.product-specs {
    list-style: none;
    margin: 1rem 0;
}

.product-specs li {
    padding: 0.3rem 0;
    color: var(--pine-teal);
    font-size: 0.95rem;
}

/* Technical Specifications Table */
.technical-specs {
    padding: 80px 0;
    background: var(--light-grey);
}

.specs-table {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.specs-table th,
.specs-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--dust-grey);
}

.specs-table th {
    background: var(--hunter-green);
    color: var(--white);
    font-weight: 600;
}

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

.specs-table tr:hover {
    background: var(--dust-grey);
}

/* Applications Grid */
.applications-section {
    padding: 80px 0;
    background: var(--white);
}

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

.application-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.application-item i {
    font-size: 3rem;
    color: var(--fern);
    margin-bottom: 1rem;
}

.application-item h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.application-item p {
    color: var(--pine-teal);
}

/* Company Overview Styles */
.company-overview {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.company-overview .overview-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    /* Align to top for sticky effect */
}

.overview-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.overview-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(119, 158, 122, 0.1);
    color: var(--fern);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.overview-text h2 {
    font-size: 2.8rem;
    color: var(--hunter-green);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.image-overlay-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--hunter-green);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 5;
    animation: floating 3s ease-in-out infinite;
}

.image-overlay-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--fern);
}

.image-overlay-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, 0px);
    }
}

@media (max-width: 768px) {
    .image-overlay-badge {
        position: static;
        margin-top: 20px;
        bottom: 0;
        left: 0;
    }
}

.overview-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--fern);
    border-radius: 2px;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--pine-teal);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.overview-image {
    position: sticky;
    top: 120px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.overview-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1),
        -10px -10px 40px rgba(255, 255, 255, 0.8);
    transition: transform 0.5s ease;
}

.overview-image:hover img {
    transform: scale(1.02);
}

.company-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.highlight-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--fern);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.highlight-item:hover::before {
    transform: scaleX(1);
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hunter-green);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(45, 78, 50, 0.2);
}

.highlight-item h4 {
    color: var(--hunter-green);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.highlight-item p {
    color: var(--pine-teal);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 992px) {
    .company-overview .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .overview-image {
        position: static;
        order: -1;
    }
}

/* Homepage About Section CTA */
.about-cta {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0 40px;
    padding-right: 1.5rem;
}

.about-cta .btn {
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-cta {
        justify-content: center;
        padding-right: 0;
        margin-bottom: 30px;
    }
}

/* Mission & Vision Styles */
.mission-vision-section {
    padding: 80px 0;
    background: var(--light-grey);
}

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

.mission-card,
.vision-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--fern);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.mission-card p,
.vision-card p {
    color: var(--pine-teal);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-card ul,
.vision-card ul {
    list-style: none;
}

.mission-card li,
.vision-card li {
    padding: 0.5rem 0;
    color: var(--pine-teal);
    position: relative;
    padding-left: 25px;
}

.mission-card li::before,
.vision-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--fern);
    font-weight: bold;
}

/* Timeline Styles */
.company-history {
    padding: 80px 0;
    background: var(--white);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--fern);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--fern);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 2;
}

.timeline-content h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--pine-teal);
    line-height: 1.6;
}

/* Core Values Styles */
.core-values {
    padding: 80px 0;
    background: var(--light-grey);
}

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

.value-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--dust-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--fern);
    margin: 0 auto 1.5rem;
}

.value-item h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--pine-teal);
    line-height: 1.6;
}

/* Management Team Styles */
.management-team {
    padding: 80px 0;
    background: var(--white);
}

.team-grid {
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.member-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.member-info h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.member-info h4 {
    color: var(--fern);
    margin-bottom: 1rem;
}

.member-info>p {
    color: var(--pine-teal);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.member-achievements h5 {
    color: var(--black);
    margin-bottom: 1rem;
}

.member-achievements ul {
    list-style: none;
}

.member-achievements li {
    padding: 0.5rem 0;
    color: var(--pine-teal);
    position: relative;
    padding-left: 25px;
}

.member-achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--fern);
    font-weight: bold;
}

/* Expertise Areas Styles */
.expertise-areas {
    padding: 80px 0;
    background: var(--light-grey);
}

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

.expertise-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.expertise-item h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.expertise-item p {
    color: var(--pine-teal);
    line-height: 1.6;
}

/* Contact Information Styles */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
}

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

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.contact-card h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-card h4 {
    color: var(--fern);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--pine-teal);
    line-height: 1.6;
}

.contact-card a {
    color: var(--fern);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Contact Form Styles */
.contact-main {
    padding: 80px 0;
    background: var(--light-grey);
}

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

.contact-form-section h2,
.contact-map-section h2 {
    color: var(--black);
    margin-bottom: 1rem;
}

.contact-form-section p,
.contact-map-section p {
    color: var(--pine-teal);
    margin-bottom: 2rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--dust-grey);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fern);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

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

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.directions-info h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
}

.direction-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.direction-item i {
    font-size: 1.5rem;
    color: var(--fern);
    min-width: 30px;
}

.direction-item h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.direction-item p {
    color: var(--pine-teal);
}

/* Business Hours Styles */
.business-hours {
    padding: 80px 0;
    background: var(--white);
}

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

.hours-info h2,
.emergency-contact h2 {
    color: var(--black);
    margin-bottom: 2rem;
}

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

.hours-item {
    background: var(--dust-grey);
    padding: 1.5rem;
    border-radius: 8px;
}

.hours-item h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.hours-item p {
    color: var(--fern);
    font-weight: 600;
}

.emergency-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dust-grey);
    padding: 1.5rem;
    border-radius: 8px;
}

.emergency-info i {
    font-size: 2rem;
    color: var(--fern);
}

.emergency-info h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.emergency-info p {
    color: var(--pine-teal);
}

/* Multi-level Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    position: relative;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--black);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background-color: var(--dust-grey);
    color: var(--fern);
}

/* Submenu Styles */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

/* Submenu scrollbar styling */
.submenu {
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: var(--fern) rgba(0, 0, 0, 0.12);
    /* Firefox: thumb track */
}

/* Chrome/Edge/Safari */
.submenu::-webkit-scrollbar {
    width: 10px;
}

.submenu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.12);
}

.submenu::-webkit-scrollbar-thumb {
    background: var(--fern);
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    /* creates padding around thumb */
}

.submenu::-webkit-scrollbar-thumb:hover {
    background: var(--pine-teal);
}

.dropdown-menu li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--black);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.submenu a:hover {
    background-color: var(--dust-grey);
    color: var(--fern);
    border-left-color: var(--fern);
}

/* Mobile Dropdown Adjustments */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--dust-grey);
        margin-top: 0.5rem;
    }

    .dropdown-menu a {
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.05);
        margin-left: 1rem;
        margin-top: 0.5rem;
    }

    .dropdown-menu li:hover .submenu {
        transform: none;
    }

    .submenu a {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        border-left: 3px solid var(--fern);
        margin-left: 0.5rem;
    }
}

/* FAQ Styles */
.faq-section {
    padding: 80px 0;
    background: var(--light-grey);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--dust-grey);
}

.faq-question h3 {
    color: var(--black);
    margin: 0;
}

.faq-question i {
    color: var(--fern);
    transition: transform 0.3s ease;
}

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

.faq-answer p {
    color: var(--pine-teal);
    line-height: 1.8;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Section Styles */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--hunter-green) 0%, var(--pine-teal) 100%);
    color: var(--white);
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--hunter-green);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .overview-content,
    .mission-vision-grid,
    .contact-content,
    .hours-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding-left: 1rem;
        padding-right: 0;
        text-align: left;
    }

    .timeline-marker {
        left: 30px;
    }

    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Blog Styles */
.blog-section {
    padding: 80px 0;
    background: var(--white);
}

.blog-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-grid {
    display: grid;
    gap: 2rem;
}

.blog-post {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-category {
    background: var(--fern);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-date {
    color: var(--dry-sage);
}

.post-content h2 {
    margin-bottom: 1rem;
}

.post-content h2 a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h2 a:hover {
    color: var(--fern);
}

.post-content p {
    color: var(--pine-teal);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.post-excerpt {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--dust-grey);
}

.post-excerpt p {
    font-size: 0.95rem;
    color: var(--pine-teal);
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--dust-grey);
    border-radius: 50%;
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: var(--fern);
    color: var(--white);
    border-color: var(--fern);
}

.pagination-link.active {
    background: var(--fern);
    color: var(--white);
    border-color: var(--fern);
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--dust-grey);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: var(--fern);
}

.search-form button {
    background: var(--fern);
    color: var(--white);
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background: var(--hunter-green);
}

/* Category List */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--pine-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--fern);
}

.category-list span {
    background: var(--dust-grey);
    color: var(--black);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Recent Posts */
.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 1.5rem;
}

.recent-posts a {
    display: flex;
    gap: 1rem;
    color: var(--pine-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: var(--fern);
}

.recent-posts img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post-content h4 {
    color: var(--black);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.recent-post-content span {
    font-size: 0.8rem;
    color: var(--dry-sage);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    background: var(--dust-grey);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--fern);
    color: var(--white);
}

/* Newsletter Widget */
.newsletter-widget p {
    color: var(--pine-teal);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 12px;
    border: 2px solid var(--dust-grey);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--fern);
}

/* Blog Responsive Adjustments */
@media (max-width: 1024px) {
    .blog-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-content {
        padding: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .recent-posts a {
        flex-direction: column;
        text-align: center;
    }

    .tag-cloud {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 60px 0;
    }

    .post-image {
        height: 200px;
    }

    .post-content {
        padding: 1rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }
}

/* Product Gallery Styles */
.product-gallery {
    padding: 80px 0;
    background: var(--light-grey);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4 / 3;
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

/* Product Card Image Styles */
.product-card {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    /* Reset padding for image to fit */
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

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

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

.product-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content .product-icon {
    margin-top: -60px;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
    background: var(--fern);
    color: var(--white);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* ── CCM Custom Specification Table (Exact Image Look) ── */
.technical-specs-custom {
    padding: 60px 0;
    background: #fff;
}

.ccm-custom-spec-table-container {
    margin: 40px 0;
    overflow-x: auto;
}

.ccm-custom-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    border: 2px solid #c1121f;
    background: #fff;
    margin-top: 20px;
}

.ccm-custom-spec-table th,
.ccm-custom-spec-table td {
    border: 1px solid #c1121f;
    padding: 12px 15px;
    text-align: center;
    vertical-align: middle;
}

.ccm-custom-spec-table th {
    color: #c1121f;
    font-size: 1.2rem;
    font-weight: 700;
    background: #fff;
}

.ccm-custom-spec-table td {
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.ccm-custom-spec-table tr td:first-child {
    color: #443b3c;
    font-weight: bold;
}

/* Gallery Item Caption Overlay */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 12px 10px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    background: var(--fern);
}

/* Video Section Styles */
.video-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.video-container {
    max-width: 380px;
    margin: 40px auto 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #000;
    border: 4px solid var(--white);
    position: relative;
    aspect-ratio: 9 / 16;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .video-section {
        padding: 50px 0;
    }

    .video-container {
        margin-top: 25px;
        border-radius: 12px;
        border-width: 2px;
    }
}