/*
Theme Name: Campaign Genesis
Theme URI: http://campaigngenesis.com
Author: Campaign Genesis Pvt. Ltd.
Author URI: http://campaigngenesis.com
Description: A professional digital marketing and lead generation theme for Campaign Genesis Pvt. Ltd.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: campaign-genesis
*/

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --skin-color: #4a0a7b;
    --skin-color-light: #5c1a8f;
    --skin-color-dark: #3a0065;
    --dark-grey: #2a2a2a;
    --text-color: #6e6e6e;
    --title-color: #263045;
    --grey-bg: #f5f5f5;
    --white: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ============================================
   Reset & Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--skin-color);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--title-color);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-1 { width: 8.333%; }
.col-2 { width: 16.666%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-5 { width: 41.666%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333%; }
.col-8 { width: 66.666%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333%; }
.col-11 { width: 91.666%; }
.col-12 { width: 100%; }

[class*="col-"] {
    padding: 10px 15px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-justify: inter-word; text-align: justify; }
.text-white { color: #fff !important; }

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-40 { margin-bottom: 40px; }
.mt-15 { margin-top: 15px; }
.mt-30 { margin-top: 30px; }
.mt-35 { margin-top: 35px; }
.mt-40 { margin-top: 40px; }
.pt-0 { padding-top: 0; }

/* ============================================
   Buttons
   ============================================ */
.ttm-btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.ttm-btn-size-md {
    padding: 12px 30px;
    font-size: 13px;
}

.ttm-btn-size-sm {
    padding: 0;
    font-size: 13px;
}

.ttm-btn-bgcolor-skincolor {
    background-color: var(--skin-color);
    color: #fff;
    border-radius: 3px;
}

.ttm-btn-bgcolor-skincolor:hover {
    background-color: var(--skin-color-dark);
    color: #fff;
}

.ttm-btn-style-border {
    border: 1px solid currentColor;
    background: transparent;
    border-radius: 3px;
}

.ttm-btn-color-darkgrey {
    color: var(--dark-grey);
    border-color: var(--dark-grey);
}

.ttm-btn-color-darkgrey:hover {
    background-color: var(--skin-color);
    color: #fff;
    border-color: var(--skin-color);
}

.ttm-btn-color-white {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.ttm-btn-color-white:hover {
    background-color: #fff;
    color: var(--skin-color);
}

.ttm-btn-color-skincolor {
    color: var(--skin-color);
    font-weight: 600;
}

.ttm-btn-color-skincolor:hover {
    color: var(--skin-color-dark);
}

.btn-inline {
    position: relative;
}

.btn-inline::after {
    content: '\f061';
    font-family: 'FontAwesome';
    margin-left: 8px;
    font-size: 11px;
}

/* ============================================
   Top Bar
   ============================================ */
.ttm-topbar-wrapper {
    background-color: #f7f7f7;
    padding: 8px 0;
    font-size: 13px;
    color: var(--skin-color);
    font-weight: 600;
}

.ttm-topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contact li i {
    color: var(--skin-color);
    font-size: 14px;
}

.top-contact li a {
    color: var(--skin-color);
    font-weight: 600;
}

.top-contact li a:hover {
    color: var(--skin-color);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ttm-social-links-wrapper .social-icons {
    display: flex;
    gap: 10px;
}

.ttm-social-links-wrapper .social-icons a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s;
}

.ttm-social-links-wrapper .social-icons a:hover {
    color: var(--skin-color);
}

.header-btn .ttm-btn {
    padding: 6px 20px;
    font-size: 12px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.ttm-header-wrap {
    background: #f7f7f7;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/*.ttm-stickable-header {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    padding: 0;*/
/*}*/

.ttm-stickable-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding img {
    max-height: 60px;
    padding: 10px 0;
}
img#logo-img {
    max-height: 100%;
    width: 200px;
}
.site-navigation {
    display: flex;
    align-items: center;
    /* position: relative;  */
}

/* Desktop Menu */
.menu > ul {
    display: flex;
    align-items: center;
}

.menu > ul > li {
    position: relative;
}

.menu > ul > li > a {
    display: block;
    padding: 20px 15px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    text-transform: capitalize;
    transition: color 0.3s;
}

.menu > ul > li:hover > a,
.menu > ul > li.current-menu-item > a,
.menu > ul > li.current-menu-ancestor > a,
.menu > ul > li.current_page_item > a,
.menu > ul > li.current_page_ancestor > a {
    color: var(--skin-color);
}

/* Dropdown */
.menu ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 3px solid var(--skin-color);
}

.menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu ul ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-primary);
}

.menu ul ul li:last-child a {
    border-bottom: none;
}

.menu ul ul li a:hover,
.menu ul ul li.current-menu-item > a,
.menu ul ul li.current_page_item > a {
    color: var(--skin-color);
    background-color: #fafafa;
}

/* Sub-sub menu */
.menu ul ul ul {
    top: 0;
    left: 100%;
}

/* Mobile menu toggle */
.ttm-menu-toggle {
    display: none;
    cursor: pointer;
}

.ttm-menu-toggle label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.toggle-block {
    width: 25px;
    height: 3px;
    background: var(--title-color);
    display: block;
    transition: 0.3s;
}

#menu-toggle-form {
    display: none;
}

/* Sticky header */
.ttm-stickable-header-w.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #f7f7f7;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* ============================================
   Page Title / Banner
   ============================================ */
.ttm-page-title-row {
    background: linear-gradient(135deg, var(--skin-color) 0%, var(--skin-color-dark) 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
}

.ttm-page-title-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1" width="100" height="100"/></svg>');
}

.ttm-page-title-row .title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.breadcrumb-wrapper {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    position: relative;
}

.breadcrumb-wrapper a {
    color: rgba(255,255,255,0.9);
}

.breadcrumb-wrapper a:hover {
    color: #fff;
}

.ttm-bread-sep {
    margin: 0 5px;
}

/* ============================================
   Hero Slider (Home Page)
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--dark-grey);
}

.hero-slide {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    display: none;
}

.hero-slide.active {
    display: flex;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 0;
}

.hero-content h1 {
    font-size: 52px;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 strong {
    font-weight: 700;
}

.hero-content p {
    color: #aaa;
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: var(--skin-color);
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    margin-bottom: 30px;
}

.section-title .title-header h5 {
    color: var(--skin-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title .title-header .title {
    font-size: 30px;
    color: var(--title-color);
    font-weight: 600;
    line-height: 1.3;
}

.section-title .title-header .title span {
    color: var(--skin-color);
}

.section-title .title-desc p {
    color: var(--text-color);
    line-height: 1.8;
}

/* ============================================
   Services Section
   ============================================ */
.service-section {
    padding: 70px 0 50px;
    background-color: var(--grey-bg);
}

.featured-icon-box.style6 {
    background: var(--white);
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #eee;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.featured-icon-box.style6:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.featured-icon-box .featured-title h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.featured-icon-box .featured-desc p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
}

.featured-icon-box .ttm-icon {
    margin: 15px 0;
}

.featured-icon-box .ttm-icon i {
    font-size: 40px;
    color: var(--skin-color);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 20px 0;
    background: var(--white);
}

.about-section .section-title {
    margin-bottom: 20px;
}

.about-overlay {
    position: relative;
    margin-top: 20px;
}

.about-overlay-02 {
    background: var(--skin-color);
    color: #fff;
    padding: 15px 25px;
    display: inline-block;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.about-overlay-02 h3 {
    color: #fff;
    font-size: 20px;
    margin: 0;
}

.about-overlay-02 p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Services list */
.ttm-list li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ttm-list li i {
    color: var(--skin-color);
    font-size: 10px;
}

.ttm-list li .ttm-list-li-content {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--title-color);
}

/* ============================================
   Facts / Stats Section
   ============================================ */
.fid-section {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--dark-grey) 0%, #1a1a1a 100%);
    color: #fff;
    position: relative;
}

.ttm-fid {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.ttm-fid .ttm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--skin-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ttm-fid .ttm-icon i {
    font-size: 30px;
    color: #fff;
}

.ttm-fid h4 {
    font-size: 40px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
}

.ttm-fid-title {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 400;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us-section {
    padding: 70px 0;
    background: var(--grey-bg);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--skin-color) 0%, var(--skin-color-dark) 100%);
    color: #fff;
    text-align: center;
}

.cta-section h4 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 5px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
}

.sep-line {
    width: 50px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 15px;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-section {
    padding: 70px 0;
    background: var(--white);
}

.testimonials {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--skin-color);
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials blockquote {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 15px;
    padding: 0 20px;
}

.ttm-ratting-star {
    margin-bottom: 10px;
}

.ttm-ratting-star i {
    color: #f5a623;
    font-size: 14px;
}

.testimonial-caption h6 {
    font-size: 16px;
    margin-bottom: 2px;
}

.testimonial-caption label {
    font-size: 13px;
    color: var(--skin-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-dot.active {
    background: var(--skin-color);
}

/* ============================================
   Footer
   ============================================ */
.first-footer {
    background: linear-gradient(135deg, var(--skin-color) 0%, var(--skin-color-dark) 100%);
    padding: 25px 0;
}

.first-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.first-footer .footer-address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.first-footer .footer-address i {
    font-size: 24px;
    color: rgba(255,255,255,0.8);
}

.first-footer .footer-address p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.first-footer .footer-email .ttm-btn {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.second-footer {
    background: var(--grey-bg);
    padding: 50px 0 30px;
    color: #000;
}

.widget-title {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--skin-color);
    display: inline-block;
}

.second-footer .textwidget {
    font-size: 14px;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 20px;
}

.quicklink-box {
    margin-top: 15px;
}

.quicklink-box .featured-icon-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quicklink-box .ttm-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--skin-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quicklink-box .ttm-icon span {
    color: #fff;
    font-size: 18px;
}

.quicklink-box .featured-desc p {
    color: #aaa;
    font-size: 13px;
    margin: 0;
}

.quicklink-box .featured-title h5 {
    color: #fff;
    font-size: 16px;
    margin: 0;
}

.link-widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.link-widget ul li a {
    color: #aaa;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.link-widget ul li a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    margin-right: 8px;
    color: var(--skin-color);
}

.link-widget ul li a:hover {
    color: var(--skin-color);
    padding-left: 5px;
    font-weight: 600;
}

/* Recent posts widget */
.ttm-recent-post-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ttm-recent-post-list li img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 3px;
}

.ttm-recent-post-list li a {
    color: #ccc;
    font-size: 13px;
    line-height: 1.5;
    display: block;
}

.ttm-recent-post-list li a:hover {
    color: var(--skin-color);
}

.post-date {
    color: var(--skin-color);
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

.post-date i {
    margin-right: 5px;
}

/* Newsletter */
.newsletter-form {
    margin: 15px 0;
    position: relative;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 13px;
    outline: none;
    border-radius: 3px;
}

.newsletter-form input[type="email"]::placeholder {
    color: #888;
}

.newsletter-form input[type="submit"] {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--skin-color);
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
    border-radius: 3px;
}

/* Social icons in footer */
.social-icons.circle ul {
    display: flex;
    gap: 8px;
}

.social-icons.circle a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.social-facebook a { background: #3b5998; }
.social-twitter a { background: #1da1f2; }
.social-flickr a { background: #ff0084; }
.social-linkedin a { background: #0077b5; }

.social-icons.circle a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Bottom footer */
.bottom-footer {
    background: #1a1a1a;
    padding: 15px 0;
    font-size: 13px;
    color: #888;
}

.bottom-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bottom-footer a {
    color: #fff;
}

.bottom-footer a:hover {
    color: var(--skin-color-light);
}

.footer-nav-menu {
    display: flex;
    gap: 15px;
}

.footer-nav-menu a {
    color: #888;
}

.footer-nav-menu a:hover {
    color: var(--skin-color);
}

/* ============================================
   Page Content
   ============================================ */
.page-content-section {
    padding: 50px 0;
}

.page-content-section .ttm_single_image-wrapper {
    margin-bottom: 20px;
}

.page-content-section .highlight-text {
    color: var(--skin-color);
    font-size: 17px;
    font-weight: 900;
}

/* ============================================
   Career / FAQ accordion
   ============================================ */
.accordion .toggle {
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 3px;
}

.accordion .toggle-title a {
    display: block;
    padding: 15px 20px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    color: var(--title-color);
    background: #fafafa;
    transition: all 0.3s;
}

.accordion .toggle-title a:hover,
.accordion .toggle-title a.active {
    background: var(--skin-color);
    color: #fff;
}

.accordion .toggle-content {
    padding: 15px 20px;
    display: none;
}

.accordion .toggle-content.show {
    display: block;
}

/* ============================================
   Portfolio
   ============================================ */
.portfolio-section {
    padding: 50px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 5px;
}

.portfolio-item img {
    width: 100%;
}
.portfolio-overlay h5 {
    color: #fff;
    font-size: 16px;
}

/* ============================================
   Our Ability (3 columns)
   ============================================ */
.ability-card {
    text-align: center;
    margin-bottom: 30px;
}

.ability-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.ability-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ability-card p {
    color: var(--text-color);
    font-size: 14px;
}

/* ============================================
   WordPress specific
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* WordPress alignment */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 20px auto; }

/* WordPress menu classes */
.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    margin-left: 5px;
    font-size: 11px;
}

.sub-menu .menu-item-has-children > a::after {
    content: '\f105';
    float: right;
}

/* ============================================
   Back to top
   ============================================ */
#totop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--skin-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    cursor: pointer;
}

#totop.visible {
    opacity: 1;
    visibility: visible;
}

#totop:hover {
    background: var(--skin-color-dark);
    color: #fff;
}

/* ============================================
   Widget areas / Sidebar
   ============================================ */
.widget {
    margin-bottom: 30px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991px) {
    .col-md-3 { width: 50%; }
    .col-md-4 { width: 50%; }
    .col-md-6 { width: 100%; }
    .col-md-12 { width: 100%; }

    .ttm-menu-toggle {
        display: block;
    }
    .site-header-menu-inner {
        position: relative;
    }

    /* Logo left, Hamburger right */
    .ttm-stickable-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .site-branding {
        flex: 0 0 auto;
    }

    .site-navigation {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }

    .menu.active {
        display: block;
    }

    .menu > ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu > ul > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .menu ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: #fafafa;
    }

    .menu ul ul li a {
        padding-left: 35px;
    }

    .menu ul ul ul li a {
        padding-left: 50px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-slide {
        min-height: 300px;
    }

    .ttm-topbar-content {
        flex-direction: column;
        gap: 5px;
    }

    .topbar-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .first-footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .col-sm-6 { width: 50%; }
    .col-md-3 { width: 100%; }
    .col-md-4 { width: 100%; }

    .row {
        flex-direction: column;
    }

    [class*="col-"] {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .section-title .title-header .title {
        font-size: 24px;
    }

    .ttm-page-title-row .title {
        font-size: 26px;
    }

    .ttm-fid h4 {
        font-size: 30px;
    }

    .bottom-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .ttm-topbar-wrapper {
        display: none;
    }
}

@media (min-width: 768px) {
    .row {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .col-lg-3 { width: 25%; }
    .col-lg-4 { width: 33.333%; }
    .col-lg-5 { width: 41.666%; }
    .col-lg-6 { width: 50%; }
    .col-lg-7 { width: 58.333%; }
    .col-lg-8 { width: 66.666%; }
    .col-lg-12 { width: 100%; }
    .site-navigation {
        position: relative;
    }
}


/* ============================================
   Contact Form 7 Styling
   ============================================ */
.cg-contact-form p {
    margin-bottom: 15px;
}

.cg-contact-form label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    color: var(--title-color);
    margin-bottom: 5px;
}

.cg-contact-form .wpcf7-form-control-wrap {
    display: block;
}

.cg-contact-form input[type="text"],
.cg-contact-form input[type="email"],
.cg-contact-form input[type="tel"],
.cg-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-color);
    background: #fff;
    transition: border-color 0.3s;
    outline: none;
}

.cg-contact-form input[type="text"]:focus,
.cg-contact-form input[type="email"]:focus,
.cg-contact-form input[type="tel"]:focus,
.cg-contact-form textarea:focus {
    border-color: var(--skin-color);
    box-shadow: 0 0 0 3px rgba(74, 10, 123, 0.1);
}

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

.cg-contact-form .wpcf7-submit {
    margin-top: 10px;
    cursor: pointer;
    width: auto;
    border: none;
}

.cg-contact-form .wpcf7-submit:hover {
    background-color: var(--skin-color-dark);
}

.cg-contact-form .wpcf7-spinner {
    display: none;
}

.cg-contact-form .wpcf7-not-valid {
    border-color: #e74c3c;
}

.cg-contact-form .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.wpcf7-response-output {
    border-radius: 3px;
    padding: 10px 15px !important;
    margin: 15px 0 0 0 !important;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    border-color: #27ae60 !important;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

.wpcf7-validation-errors {
    border-color: #e74c3c !important;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}