/*
Theme Name: MyTea Consultancy Services
Theme URI: https://example.com/mytea
Author: Your Name
Description: Professional Finance and Bookkeeping WordPress Theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: mytea
*/

/*
Theme Name: MyTea Consultancy Services
Author: Higher Level Developer
Version: 1.0.0
Text Domain: mytea
*/

:root {
    --primary-color: #0e5083;
    --accent-color: #db8200;
    --text-dark: #212121;
    --text-light: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    overflow-x: hidden; 
    background-color: #333; 
}

/* --- PUSH MENU EFFECT STYLES --- */
#main-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    left: 0;
}

body.menu-open #main-content-wrapper {
    transform: translateX(-280px); 
}

body.menu-open {
    overflow: hidden; 
}

#content-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.menu-open #content-overlay {
    opacity: 1;
    visibility: visible;
}

#side-menu {
    position: fixed;
    top: 0;
    right: -280px; 
    width: 280px;
    height: 100vh;
    background-color: var(--accent-color);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1050;
    padding: 80px 30px 40px 30px;
    overflow-y: auto;
}

body.menu-open #side-menu {
    right: 0; 
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.close-menu-btn:hover { background: rgba(0, 0, 0, 0.3); }

.side-menu-links { list-style: none; padding: 0; margin: 0; }
.side-menu-links li { margin-bottom: 25px; }
.side-menu-links li a {
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    font-family: Georgia, 'Times New Roman', Times, serif; 
}
.side-menu-links li a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.side-menu-sub-links { list-style: none; padding: 0; margin-top: 50px; }
.side-menu-sub-links li { margin-bottom: 20px; }
.side-menu-sub-links li a {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.side-menu-sub-links li a i { width: 25px; font-size: 18px; margin-right: 10px; }

/* --- STANDARD STYLES --- */
a { text-decoration: none; transition: 0.3s; }

.top-bar {
    background-color: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #eaeaea;
}
.top-bar a { color: #555; margin-right: 20px; }
.top-bar a:hover { color: var(--accent-color); }
.top-bar i { color: var(--accent-color); margin-right: 5px; }

.navbar {
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar-brand img { max-height: 80px; }
.desktop-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0 10px;
}
.desktop-nav .nav-link:hover, .desktop-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.custom-toggler {
    border: none;
    background: transparent;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Carousel */
.carousel-item {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}
.carousel-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}
.carousel-caption { bottom: 50%; transform: translateY(50%); z-index: 2; }
.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* Sections General */
section { padding: 80px 0; }
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Services Section */
#services { background-color: #f9f9f9; }
.service-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    padding: 40px 25px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 5px solid var(--accent-color);
}
.service-card img { height: 70px; margin-bottom: 25px; transition: transform 0.3s; }
.service-card:hover { 
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.service-card:hover img { transform: scale(1.1); }
.service-card h4 { color: var(--text-dark); font-weight: 700; font-size: 1.25rem; margin-bottom: 15px; }
.service-card p { font-size: 0.95rem; color: #555; margin-bottom: 20px; line-height: 1.6; }
.read-more { color: var(--accent-color); font-weight: bold; text-transform: uppercase; font-size: 13px; text-decoration: underline; }
.read-more:hover { color: var(--primary-color); }

/* How it Works */
.how-it-works h3 { font-weight: 700; margin-bottom: 20px; }
.how-it-works .subtitle { max-width: 800px; margin: 0 auto 50px auto; font-size: 1.1rem; }
.swiper-container-work { width: 100%; padding-bottom: 40px; }
.work-step { text-align: center; }
.work-step img { height: 50px; margin-bottom: 15px; }
.work-step h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; }
.work-step a { color: var(--accent-color); font-weight: 600; }
.work-step a:hover { text-decoration: underline; }
.swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--accent-color); opacity: 1; }

/* Choose Us */
.choose-us-content { max-width: 900px; margin: 0 auto; }
.choose-us-content ol { font-size: 1rem; color: #333; line-height: 1.8; margin: 30px 0; font-weight: 600; }
.choose-us-content ol li { margin-bottom: 10px; }
.choose-icon-box { text-align: center; margin-top: 40px; }
.choose-icon-box img { height: 55px; margin-bottom: 15px; }
.choose-icon-box h4 { font-weight: 600; font-size: 1.1rem; }

/* Contact Section */
.contact-info-item { display: flex; align-items: center; margin-bottom: 25px; }
.contact-info-item img { height: 40px; margin-right: 20px; }
.contact-info-item a, .contact-info-item p { color: var(--text-light); margin: 0; font-size: 1.1rem; }
.contact-info-item a:hover { color: var(--accent-color); }
.form-control { background: rgba(255,255,255,0.9); border: none; padding: 12px 15px; margin-bottom: 15px; border-radius: 0; }
.btn-submit { background-color: var(--text-dark); color: var(--text-light); padding: 12px 30px; border: none; font-weight: 600; text-transform: uppercase; border-radius: 5px; transition: 0.3s; cursor: pointer;}
.btn-submit:hover { background-color: var(--accent-color); }
.linkedin-btn { background: #000; color: #fff; padding: 10px 14px; border-radius: 50%; font-size: 18px; margin-left: 15px; }
.linkedin-btn:hover { background: var(--accent-color); color: #fff; }

footer { background: #222; color: #aaa; padding: 30px 0; font-size: 0.9rem; }

@media (max-width: 768px) {
    .carousel-caption h2 { font-size: 2rem; }
    .top-bar { text-align: center; }
}

/* --- ABOUT US PAGE STYLES --- */
.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}
.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin: 0;
}
.about-section {
    padding: 80px 0;
}
.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}
.ab-img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 2.5rem; }
    .about-section { padding: 50px 0; }
}

/* --- SERVICES PAGE SPECIFIC --- */
.services-intro { padding: 80px 0 40px; text-align: center; max-width: 800px; margin: 0 auto; }
.services-intro h2 { color: var(--primary-color); font-weight: 700; margin-bottom: 20px; }
.services-intro p { font-size: 1.1rem; color: #555; line-height: 1.8; }
.services-grid-section { padding-bottom: 80px; background-color: #fafafa; padding-top: 60px; }
.service-block {
    background: #fff; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 40px 30px; height: 100%; transition: transform 0.3s ease;
    border-top: 4px solid transparent; text-align: center;
}
.service-block:hover { transform: translateY(-8px); border-top: 4px solid var(--accent-color); }
.service-block img { height: 70px; margin-bottom: 25px; }
.service-block h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; }
.service-block p { color: #666; line-height: 1.7; font-size: 0.95rem; margin-bottom: 0; }
.cta-section { background-color: var(--primary-color); color: white; padding: 70px 0; text-align: center; }
.cta-section h2 { font-weight: 700; margin-bottom: 20px; font-size: 2.2rem; }
.cta-btn {
    background-color: var(--accent-color); color: white; padding: 14px 35px;
    font-size: 1.1rem; font-weight: 600; border-radius: 5px; text-transform: uppercase;
    display: inline-block;
}

/* --- CONTACT PAGE SPECIFIC --- */
.contact-img-wrapper { position: relative; max-width: 600px; margin: 0 auto; }
.contact-img-bg { position: absolute; top: -20px; left: -20px; width: 100%; z-index: 1; opacity: 0.8; }
.contact-img-main { position: relative; z-index: 2; width: 100%; }
.contact-heading { font-size: 2.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 40px; }
.contact-details-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.contact-details-item img { width: 45px; margin-right: 20px; }
.contact-details-item h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
.contact-page-form .form-control { background-color: #f8f9fa; border: 1px solid #ddd; padding: 15px; margin-bottom: 20px; }
.map-container { border-radius: 10px; overflow: hidden; height: 100%; min-height: 400px; }

/* --- MODERN BLOG STYLES --- */
.blog-listing-section { padding: 60px 0; background-color: #fcfcfc; }

/* Blog Card Design */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.blog-thumb {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.blog-content { padding: 25px; }
.blog-meta { font-size: 0.85rem; color: #888; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.blog-meta i { color: var(--accent-color); margin-right: 5px; }
.blog-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; color: var(--primary-color); line-height: 1.3; }
.blog-excerpt { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }

/* Single Post Design */
.single-post-header { padding: 100px 0 60px; background: #f8f9fa; text-align: center; }
.post-cat { color: var(--accent-color); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 10px; display: block; }
.post-main-title { font-size: 3rem; font-weight: 800; color: var(--primary-color); max-width: 900px; margin: 0 auto 20px; }

.post-container { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.entry-content { font-size: 1.15rem; line-height: 1.9; color: #333; }
.entry-content p { margin-bottom: 30px; }
.entry-content h2, .entry-content h3 { color: var(--primary-color); margin-top: 50px; margin-bottom: 20px; font-weight: 700; }
.entry-content blockquote {
    border-left: 5px solid var(--accent-color);
    padding: 20px 40px;
    background: #fff8f0;
    font-style: italic;
    font-size: 1.4rem;
    margin: 40px 0;
}
.featured-image-wide { width: 100%; border-radius: 15px; margin-bottom: 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

/* Pagination */
.pagination { margin-top: 50px; justify-content: center; }
.page-numbers {
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: var(--primary-color);
}
.page-numbers.current { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

@media (max-width: 768px) {
    .post-main-title { font-size: 2rem; }
    .entry-content { font-size: 1.05rem; }
}