/*
Theme Name: Tillack Consulting Custom Theme
Theme URI: https://tillackconsulting.com
Author: Custom Development
Description: A custom WordPress theme for Tillack Consulting - secure, lightweight, and tailored to business needs
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tillack-custom
Tags: business, consulting, custom-theme, responsive
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset & Base Styles
2.0 Typography
3.0 Layout
4.0 Header
5.0 Navigation
6.0 Content
7.0 Footer
8.0 Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset & Base Styles
--------------------------------------------------------------*/

/* CSS Variables for Fonts */
:root {
    --font-heebo: 'Heebo', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
}

/* Flaticon icon font (used by .fi and .flaticon-* classes) */
@font-face {
    font-family: 'Flaticon';
    src: url('assets/fonts/Flaticon.eot');
    src: url('assets/fonts/Flaticon.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/Flaticon.woff') format('woff'),
         url('assets/fonts/Flaticon.ttf') format('truetype'),
         url('assets/fonts/Flaticon.svg#Flaticon') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Themify icon font (list bullets, arrows, etc.) */
@font-face {
    font-family: 'themify';
    src: url('assets/fonts/themify.eot');
    src: url('assets/fonts/themify.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/themify.woff') format('woff'),
         url('assets/fonts/themify.ttf') format('truetype'),
         url('assets/fonts/themify.svg#themify') format('svg');
    font-weight: normal;
    font-style: normal;
}

.fi {
    font-family: 'Flaticon';
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fi:before {
    font-family: 'Flaticon';
    display: inline-block;
}

/* Icon glyph mappings — the font contains glyphs \f100–\f111.
   Named classes are best-guess mappings; adjust if the wrong icon shows.
   You can also use .flaticon-f100 … .flaticon-f111 directly to pick a glyph. */
.flaticon-analysis:before     { content: "\f100"; }
.flaticon-report:before       { content: "\f101"; }
.flaticon-id-card:before      { content: "\f102"; }
.flaticon-video-player:before { content: "\f103"; }

.flaticon-f100:before { content: "\f100"; }
.flaticon-f101:before { content: "\f101"; }
.flaticon-f102:before { content: "\f102"; }
.flaticon-f103:before { content: "\f103"; }
.flaticon-f104:before { content: "\f104"; }
.flaticon-f105:before { content: "\f105"; }
.flaticon-f106:before { content: "\f106"; }
.flaticon-f107:before { content: "\f107"; }
.flaticon-f108:before { content: "\f108"; }
.flaticon-f109:before { content: "\f109"; }
.flaticon-f10a:before { content: "\f10a"; }
.flaticon-f10b:before { content: "\f10b"; }
.flaticon-f10c:before { content: "\f10c"; }
.flaticon-f10d:before { content: "\f10d"; }
.flaticon-f10e:before { content: "\f10e"; }
.flaticon-f10f:before { content: "\f10f"; }
.flaticon-f110:before { content: "\f110"; }
.flaticon-f111:before { content: "\f111"; }

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    color: #5bc0de;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #31b0d5;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #00355f;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
3.0 Layout
--------------------------------------------------------------*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #00355f;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/*--------------------------------------------------------------
4.0 Header
--------------------------------------------------------------*/
.site-header {
    background-color: #00355f;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
}

.site-logo {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.site-logo a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo .logo-text {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: 3px;
}

.site-logo .logo-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 1.5px;
}

.site-logo img {
    max-height: 120px;
    width: auto;
}

.custom-logo-link {
    display: block;
}

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

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 10px 0;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #5bc0de;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5bc0de;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/*--------------------------------------------------------------
6.0 Content
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 61, 92, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #5bc0de;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #5bc0de;
}

.btn:hover {
    background-color: transparent;
    color: #5bc0de;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #00355f;
}

.page-header {
    position: relative;
    background-color: #00355f;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 0;
    text-align: center;
    color: #fff;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Fallback for mobile devices where background-attachment: fixed can be jittery */
@media (max-width: 768px) {
    .page-header {
        background-attachment: scroll;
        min-height: 320px;
    }
}

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

.page-header h1 {
    font-family: var(--font-montserrat);
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.breadcrumbs {
    font-family: var(--font-heebo);
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.breadcrumbs a {
    font-family: var(--font-heebo);
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 1;
    text-decoration: none;
    color:#00355f;
}

.content-area {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .icon {
    font-size: 3rem;
    color: #5bc0de;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.testimonial-item {
    margin-bottom: 60px;
}

.testimonial-name {
    font-family: var(--font-montserrat);
    font-size: 1.8rem;
    color: #5bc0de;
    font-weight: 600;
    margin-bottom: 25px;
}

.testimonial-box {
    position: relative;
    background: #f8f9fa;
    padding: 35px 40px;
    border-radius: 0;
    border-left: 4px solid #5bc0de;
}

/* Quotes hug the first and last paragraphs of the testimonial text */
.testimonial-content p:first-of-type::before {
    content: "\201C";
    color: #5bc0de;
    font-size: 4rem;
    line-height: 0;
    font-family: Georgia, serif;
    font-weight: 700;
    margin-right: 6px;
    vertical-align: -0.35em;
}

.testimonial-content p:last-of-type::after {
    content: "\201D";
    color: #5bc0de;
    font-size: 4rem;
    line-height: 0;
    font-family: Georgia, serif;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: -0.55em;
}

.testimonial-content {
    font-family: var(--font-heebo);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    margin-bottom: 0;
}

.testimonial-meta {
    font-family: var(--font-montserrat);
    color: #545454;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 15px;
    padding-left: 50px;
}

.contact-section {
    background: #fff;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form - LEFT SIDE */
.contact-form {
    background: transparent;
    padding: 0;
}

/* Contact Form 7 Styling to match original */
.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f8f9fa;
    font-size: 0.95rem;
    color: #666;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #5bc0de;
    background: #fff;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input[type="submit"],
.contact-form button[type="submit"] {
    background: #00355f;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
    background: #5bc0de;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 95, 0.3);
}

/* Contact Info - RIGHT SIDE */
.contact-info {
    padding: 0;
}

.contact-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #5bc0de;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.contact-text {
    flex: 1;
    padding-top: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.contact-text strong {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-text a {
    color: #00355f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #00355f;
    text-decoration: underline;
}

.contact-map {
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
}

.contact-map iframe {
    width: 100% !important;
    height: 450px !important;
    display: block;
    border: none;
}

/*--------------------------------------------------------------
7.0 Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: #00355f;
    color: #fff;
    padding: 60px 0 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding-bottom: 40px;
}

/* Left Column - Bio & Contact */
.footer-left {
    max-width: 500px;
}

.footer-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-phone,
.footer-email,
.footer-address {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-phone a,
.footer-email a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone a {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-email a:hover,
.footer-phone a:hover {
    color: #5bc0de;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
}

/* Right Column - Navigation */
.footer-right {
    padding-top: 0;
}

.footer-right h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5bc0de;
    display: inline-block;
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-right li {
    margin-bottom: 12px;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-right a:hover {
    color: #5bc0de;
    padding-left: 5px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #5bc0de;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(91, 192, 222, 0.4);
}

.scroll-to-top:hover {
    background: #00355f;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(91, 192, 222, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/*--------------------------------------------------------------
8.0 Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #00355f;
        padding: 20px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 40px 0;
    }
}

/*--------------------------------------------------------------
9.0 Gutenberg Core Block Styles
   (Used when rebuilding page content with the Block Editor)
--------------------------------------------------------------*/

/* Cover block - great for hero/CTA sections with background images */
.wp-block-cover {
    margin-bottom: 0;
}

.wp-block-cover .wp-block-cover__inner-container h1,
.wp-block-cover .wp-block-cover__inner-container h2,
.wp-block-cover .wp-block-cover__inner-container h3 {
    color: #fff;
}

/* Buttons block */
.wp-block-button__link {
    background-color: #5bc0de;
    border-radius: 25px;
    padding: 12px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid #5bc0de;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: transparent;
    color: #5bc0de;
}

.is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid currentColor;
}

/* Columns block - used for About/Services two-column layouts */
.wp-block-columns {
    margin-bottom: 40px;
    align-items: center;
}

/* Group block used as a colored section (e.g. dark CTA band) */
.wp-block-group.has-primary-blue-background-color {
    padding: 60px 40px;
}

.wp-block-group.has-primary-blue-background-color h1,
.wp-block-group.has-primary-blue-background-color h2,
.wp-block-group.has-primary-blue-background-color h3,
.wp-block-group.has-primary-blue-background-color p {
    color: #fff;
}

/* Media & Text block - image next to content, like the About section */
.wp-block-media-text__content {
    padding: 0 40px;
}

/* Quote/Pullquote block - for testimonials */
.wp-block-quote,
.wp-block-pullquote {
    border-left: 4px solid #5bc0de;
    padding-left: 25px;
}

.wp-block-quote cite,
.wp-block-pullquote cite {
    color: #5bc0de;
    font-weight: 600;
    font-style: normal;
}

/* Icon-style content boxes built from Group blocks with a class applied */
.icon-box-block {
    text-align: center;
    padding: 30px 20px;
}

.icon-box-block .icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e8f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-box-block .icon-circle i {
    font-size: 2.5rem;
    color: #5bc0de;
}

/*--------------------------------------------------------------
10.0 Homepage Hero Slider
--------------------------------------------------------------*/
.home-hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.home-hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease-in-out;
    z-index: 1;
}

.home-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 53, 95, 0.2);
}

.home-hero-slider .container {
    width: 100%;
    max-width: none;
    padding-left: 20%;
}

.home-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-left: 0;
}

.home-hero-content h1 {
    font-family: var(--font-montserrat);
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.15;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.home-hero-content .btn-cyan {
    background-color: #5bc0de;
    color: #fff;
    padding: 12px 35px;
    border-radius: 25px;
    font-family: var(--font-montserrat);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #5bc0de;
}

.home-hero-content .btn-cyan:hover {
    background-color: transparent;
    color: #5bc0de;
}

.home-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.home-hero-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.home-hero-nav.prev {
    left: 25px;
}

.home-hero-nav.next {
    right: 25px;
}

@media (max-width: 768px) {
    .home-hero-slider {
        height: 450px;
    }

    .home-hero-content h1 {
        font-size: 2rem;
    }

    .home-hero-nav {
        width: 40px;
        height: 40px;
    }
}

/*--------------------------------------------------------------
10.0 Additional Styles
--------------------------------------------------------------*/
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

.site-header.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Contact Form 7 Styling */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #5bc0de;
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background-color: #00355f;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #5bc0de;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.wpcf7-response-output {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-validation-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Testimonials List Styling */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 60px;
    padding-bottom: 40px;
}

/*--------------------------------------------------------------
10.5 Homepage - CTA, Testimonial & Contact Sections
--------------------------------------------------------------*/

/* CTA Section (Gutenberg class .tc-cta-section) */
.tc-cta-section,
.home-cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 90px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.tc-cta-section > .wp-block-group__inner-container,
.home-cta-section > .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.tc-cta-overlay,
.home-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 53, 95, 0.65);
}

.tc-cta-content,
.home-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.tc-cta-content h2,
.home-cta-content h2 {
    color: #fff;
    font-family: var(--font-montserrat);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 35px;
}

.tc-cta-contact,
.home-cta-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.tc-cta-item,
.home-cta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.15rem;
    font-family: var(--font-heebo);
}

.tc-cta-item i,
.home-cta-item i {
    font-size: 1.4rem;
    color: #5bc0de;
}

.tc-cta-item a,
.home-cta-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tc-cta-item a:hover,
.home-cta-item a:hover {
    color: #5bc0de;
}

/* Home Testimonial Slider */
.home-testimonial-slider {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 90px 0;
    overflow: hidden;
}

.home-testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

.home-testimonial-track {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    min-height: 280px;
}

.home-testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out;
}

.home-testimonial-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.home-testimonial-card {
    background: #fff;
    padding: 45px 50px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.home-testimonial-text {
    font-family: var(--font-heebo);
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
}

.home-testimonial-author {
    font-family: var(--font-montserrat);
    font-size: 1.2rem;
    font-weight: 700;
    color: #5bc0de;
    margin-bottom: 5px;
}

.home-testimonial-role {
    font-family: var(--font-montserrat);
    font-size: 0.85rem;
    font-weight: 500;
    color: #777;
}

.home-testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.3s ease;
}

.home-testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.45);
}

.home-testimonial-nav.prev {
    left: calc(50% - 375px - 60px);
}

.home-testimonial-nav.next {
    right: calc(50% - 375px - 60px);
}

/* Home Contact Section */
.home-contact-section {
    background: #fff;
}

@media (max-width: 950px) {
    .home-testimonial-nav.prev {
        left: 15px;
    }

    .home-testimonial-nav.next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .tc-cta-section,
    .home-cta-section,
    .home-testimonial-slider {
        background-attachment: scroll;
        padding: 60px 20px;
    }

    .tc-cta-content h2,
    .home-cta-content h2 {
        font-size: 1.4rem;
    }

    .tc-cta-contact,
    .home-cta-contact {
        flex-direction: column;
        gap: 25px;
    }

    .home-testimonial-card {
        padding: 30px 25px;
    }

    .home-testimonial-nav {
        display: none;
    }
}

/*--------------------------------------------------------------
11.0 About Page - Custom Gutenberg Classes
   (Apply via block "Additional CSS Class(es)" field)
--------------------------------------------------------------*/

/* Narrower centered content column like the original.
   Applies whether the About template (about-content) or the default
   page template (page-about body class) is used. */
.about-content .container,
body.page-about .site-main .container,
body.page-about .site-main .content-area,
body.page-about .site-main .entry-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Prevent Gutenberg layout constraints from left-aligning blocks */
.about-content .container > *,
body.page-about .entry-content > * {
    margin-left: auto;
    margin-right: auto;
}

.about-content h1,
.about-content h2,
.about-content h3,
body.page-about .entry-content h1,
body.page-about .entry-content h2,
body.page-about .entry-content h3 {
    font-family: var(--font-montserrat);
    color: #5bc0de;
    text-align: center;
}

.about-content p,
body.page-about .entry-content p {
    color: #666;
    font-size: 0.98rem;
    line-height: 1.8;
}

/* tc-center-text — apply to any paragraph you want centered */
.tc-center-text {
    text-align: center;
}

/* tc-section-contained — apply to a full-width Group/Cover block to constrain
   its inner content to the main site width while keeping the background full-width */
.tc-section-contained {
    padding-left: 0;
    padding-right: 0;
}

.tc-section-contained > .wp-block-group__inner-container,
.tc-section-contained > .wp-block-cover__inner-container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* tc-section-label — small cyan uppercase label e.g. "WHAT WE DO" */
.tc-section-label {
    display: block;
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    font-weight: 700;
    color: #5bc0de;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 8px;
}

/* tc-section-title — large dark centered title e.g. "Our Services" */
.tc-section-title {
    font-family: var(--font-montserrat);
    font-size: 2rem;
    font-weight: 700;
    color: #00355f;
    text-align: center;
    margin-bottom: 50px;
}

/* tc-about-intro — "My name is Allan" two-column section */
.tc-about-intro {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 60px;
    align-items: center;
    margin: 80px 0;
}

.tc-about-intro > * {
    flex: 1 1 0;
    min-width: 0;
}

.tc-about-intro h2 {
    font-family: var(--font-montserrat);
    font-size: 2rem;
    color: #333;
    text-align: left;
    margin-bottom: 30px;
}

.tc-about-intro h2 span,
.tc-about-intro .highlight {
    color: #5bc0de;
}

.tc-about-intro p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.tc-about-intro .btn-cyan {
    display: inline-block;
    margin-top: 15px;
    background-color: #5bc0de;
    color: #fff;
    padding: 12px 35px;
    border-radius: 25px;
    font-family: var(--font-montserrat);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: 2px solid #5bc0de;
    transition: all 0.3s ease;
}

.tc-about-intro .btn-cyan:hover {
    background-color: transparent;
    color: #5bc0de;
}

/* tc-services-grid — three image cards row */
.tc-services-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    margin-top: 40px;
}

.tc-services-grid > * {
    flex: 1 1 0;
    min-width: 0;
}

/* tc-service-card — individual service image card */
.tc-service-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tc-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tc-service-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.tc-service-card h3 {
    font-family: var(--font-montserrat);
    font-size: 1rem;
    font-weight: 600;
    color: #00355f;
    padding: 18px 0 0;
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .tc-about-intro,
    .tc-services-grid {
        flex-direction: column;
        gap: 40px;
    }

    .tc-service-card img {
        aspect-ratio: 1 / 1;
    }

    .tc-section-title {
        font-size: 1.6rem;
    }
}

/* tc-icon-row — Group block containing the 3 icon boxes */
.tc-icon-row {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
}

.tc-icon-row > * {
    flex: 1 1 0;
    min-width: 0;
}

/* Handle Gutenberg's inner-container wrapper if present */
.tc-icon-row > .wp-block-group__inner-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    width: 100%;
}

.tc-icon-row > .wp-block-group__inner-container > * {
    flex: 1 1 0;
    min-width: 0;
}

/* tc-icon-box — each icon box (use on a Group or Column block) */
.tc-icon-box {
    text-align: left;
    padding: 35px 25px;
    border: 1px solid #dddcdc;
    transition: box-shadow 0.3s ease;
}

.tc-icon-box:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Icon sits top-left of the box; works for both Font Awesome and Flaticon */
.tc-icon-box i,
.tc-icon-box .fi {
    font-size: 2.8rem;
    color: #5bc0de;
    margin-bottom: 18px;
    display: block;
    text-align: left;
}

.tc-icon-box h4,
.tc-icon-box p {
    font-family: var(--font-montserrat);
    font-size: 1.2rem;
    font-weight: 600;
    color: #1b1f28;
    margin: 0;
    line-height: 1.4;
}

/* tc-panel — white bordered content panel with shadow */
.tc-panel {
    background: #fff;
    border: 1px solid #eee;
    padding: 45px 50px;
    margin-bottom: 0px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* tc-panel-wide — breaks out of the 900px column, stays centered */
.tc-panel-wide {
    width: calc(100% + 160px);
    margin-left: -80px;
    margin-right: -80px;
}

@media (max-width: 1100px) {
    .tc-panel-wide {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.tc-panel p {
    font-family: var(--font-heebo);
    font-size: 0.95rem;
    color: #8c8b8b;
    font-size: 1.4rem;
    line-height: 1.8;
}

/* tc-panel-title — centered cyan panel heading */
.tc-panel-title {
    font-family: var(--font-montserrat);
    font-size: 2.6rem;
    font-weight: 700;
    color: #5bc0de;
    text-align: center;
    margin-bottom: 30px;
}

/* tc-two-col — two column layout (Qualifications / Expertise) */
.tc-two-col {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 60px;
    margin: 50px auto;
    width: 100%;
    max-width: 1000px;
}

.tc-two-col > * {
    flex: 1 1 0;
    min-width: 0;
}

/* Handle Gutenberg's inner-container wrapper and Columns block */
.tc-two-col > .wp-block-group__inner-container,
.tc-two-col .wp-block-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 60px;
    width: 100%;
    margin: 0;
}

.tc-two-col > .wp-block-group__inner-container > *,
.tc-two-col .wp-block-columns .wp-block-column {
    flex: 1 1 0;
    min-width: 0;
}

/* Column headings — dark navy, left-aligned, modest size (like original) */
.tc-two-col h2,
.tc-two-col h3,
.tc-two-col h4,
.tc-two-col h5,
.tc-two-col .wp-block-heading {
    font-family: var(--font-montserrat);
    font-size: 1.25rem;
    font-weight: 600;
    color: #00355f;
    text-align: left;
    margin-bottom: 20px;
}

.tc-two-col li {
    text-align: left;
    line-height: 1.5;
}

/* Lists inside the about section — matches original .about-section ul li:before
   (themify check icon \e64d). Applies to lists and sub-lists. */
.about-content ul,
.tc-checklist,
body.page-about .entry-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-content ul li,
.tc-checklist li,
body.page-about .entry-content ul li {
    font-family: var(--font-heebo);
    font-size: 0.95rem;
    color: #555;
    padding: 6px 0 6px 28px;
    position: relative;
}

.about-content ul li::before,
.tc-checklist li::before,
body.page-about .entry-content ul li::before {
    content: "\e64d";
    font-family: "themify";
    color: #5bc0de;
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 0.75rem;
}

/*--------------------------------------------------------------
12.0 Services Page - CTA Section
--------------------------------------------------------------*/
.services-cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 90px 0;
    margin-bottom: 60px;
    color: #fff;
    text-align: center;
}

.services-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 53, 95, 0.65);
}

.services-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.services-cta-content h2 {
    color: #fff;
    font-family: var(--font-montserrat);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 35px;
}

.services-cta-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.services-cta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.15rem;
    font-family: var(--font-heebo);
}

.services-cta-item i {
    font-size: 1.4rem;
    color: #5bc0de;
}

.services-cta-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-cta-item a:hover {
    color: #5bc0de;
}

@media (max-width: 768px) {
    .services-cta-section {
        background-attachment: scroll;
        padding: 60px 20px;
    }

    .services-cta-content h2 {
        font-size: 1.4rem;
    }

    .services-cta-contact {
        flex-direction: column;
        gap: 25px;
    }
}

/*--------------------------------------------------------------
13.0 About Page - Testimonial Slider
--------------------------------------------------------------*/
.about-testimonial-slider {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 0;
    overflow: hidden;
}

.about-testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

.about-testimonial-track {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    min-height: 280px;
}

.about-testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out;
}

.about-testimonial-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.about-testimonial-card {
    background: #fff;
    padding: 45px 50px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.about-testimonial-text {
    font-family: var(--font-heebo);
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
}

.about-testimonial-author {
    font-family: var(--font-montserrat);
    font-size: 1.2rem;
    font-weight: 700;
    color: #5bc0de;
    margin-bottom: 5px;
}

.about-testimonial-role {
    font-family: var(--font-montserrat);
    font-size: 0.85rem;
    font-weight: 500;
    color: #777;
}

.about-testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.3s ease;
}

.about-testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.45);
}

/* Position buttons just outside the 750px card (375px half + 60px button offset) */
.about-testimonial-nav.prev {
    left: calc(50% - 375px - 60px);
}

.about-testimonial-nav.next {
    right: calc(50% - 375px - 60px);
}

/* On smaller screens where the card fills the width, tuck buttons at the edges */
@media (max-width: 950px) {
    .about-testimonial-nav.prev {
        left: 15px;
    }

    .about-testimonial-nav.next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .tc-icon-row {
        flex-direction: column;
    }

    .tc-two-col,
    .tc-two-col > .wp-block-group__inner-container,
    .tc-two-col .wp-block-columns {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 30px;
    }

    .tc-panel {
        padding: 30px 25px;
    }

    .about-testimonial-slider {
        background-attachment: scroll;
        padding: 60px 0;
    }

    .about-testimonial-card {
        padding: 30px 25px;
    }

    .about-testimonial-nav {
        display: none;
    }
}

/* Icon boxes for services */
.icon-box {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.icon-box i {
    font-size: 3rem;
    color: #5bc0de;
    margin-bottom: 20px;
}

.icon-box h3 {
    margin-bottom: 15px;
    color: #00355f;
}

.icon-box p {
    color: #666;
    line-height: 1.8;
}

/* About page styles */
.about-intro {
    background: #f8f9fa;
    padding: 60px 0;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
