/*
Theme Name: Al Wadi
Theme URI: https://alwadiprinting.com/
Author: Antigravity
Author URI: https://alwadiprinting.com/
Description: Custom theme clone for Al Wadi Printing, an advertising agency.
Version: 1.0.0
Text Domain: alwadi
*/

:root {
    --primary-color: #283891;
    --secondary-color: #F15D30;
    --text-color: #7A7A7A;
    --accent-color: #61CE70;
    --dark-text: #080337;
    --bg-color: #F9FAFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Quicksand', sans-serif;
    color: var(--dark-text);
}

a {
    color: var(--text-color);
    text-decoration: none;
}

/* --- Overlays & Offcanvas --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-text);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.search-form {
    width: 80%;
    max-width: 800px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.search-field {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 15px 50px 15px 0;
    outline: none;
    font-family: 'DM Sans', sans-serif;
}

.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -400px;
    width: 300px;
    max-width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
    transition: left 0.4s ease;
    padding: 40px;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.offcanvas-menu.active {
    left: 0;
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark-text);
}

.offcanvas-logo {
    margin-bottom: 40px;
}

.offcanvas-logo img {
    max-width: 150px;
}

.offcanvas-socials {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offcanvas-socials a {
    color: var(--dark-text);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.offcanvas-contact {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.offcanvas-contact h3 {
    color: var(--dark-text);
    font-size: 20px;
    margin-bottom: 15px;
}

.offcanvas-contact p {
    color: var(--text-color);
    margin-bottom: 5px;
}

/* Mobile Nav inside Offcanvas */
.mobile-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-navigation li {
    border-bottom: 1px solid #eee;
}

.mobile-navigation a {
    display: block;
    padding: 15px 0;
    color: var(--dark-text);
    font-weight: 600;
    text-decoration: none;
}

/* Mobile Sub-menu Support */
.mobile-navigation ul.sub-menu {
    display: none;
    padding-left: 20px;
    margin-bottom: 0;
}

.mobile-navigation li:hover>ul.sub-menu,
.mobile-navigation li.focus>ul.sub-menu {
    display: block;
}

.mobile-navigation ul.sub-menu li {
    border-bottom: none;
    border-top: 1px dashed #eee;
}

.mobile-navigation ul.sub-menu li:last-child {
    border-bottom: none;
}

.mobile-navigation ul.sub-menu a {
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.mobile-navigation li.menu-item-has-children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.3s;
}

.mobile-navigation li.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--dark-text);
    padding: 0;
    margin-right: 20px;
    display: none;
    /* Hide on desktop by default */
}

.menu-toggle .hamburger {
    display: inline-block;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .main-navigation {
        display: none;
    }

    .top-bar {
        display: none;
    }

    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

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

/* Base structural classes */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

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

.top-bar-right {
    display: flex;
    gap: 10px;
}

.social-icon {
    color: #fff;
    background-color: var(--primary-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.social-icon:hover {
    background-color: #1a2560;
    color: #fff;
}

/* --- Header --- */
.site-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: 1px solid #eee;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--dark-text);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--dark-text);
    left: 0;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

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

.main-navigation a {
    color: var(--dark-text);
    font-weight: 600;
    font-size: 15px;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

/* --- Dropdown / Sub-menu Styles --- */
.main-navigation>ul>li {
    position: relative;
    padding: 10px 0;
    /* Creates an invisible bridge to the dropdown */
}

/* Caret for items with children */
.main-navigation>ul>li.menu-item-has-children>a::after {
    content: '\f107';
    /* FontAwesome angle down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 12px;
}

/* Current active item style */
.main-navigation .current-menu-item>a,
.main-navigation .current-menu-ancestor>a {
    color: var(--secondary-color);
    position: relative;
}

/* .main-navigation > ul > .current-menu-item > a::before,
.main-navigation > ul > .current-menu-ancestor > a::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--dark-text);
} */

/* The Dropdown Container */
.main-navigation ul ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-text);
    min-width: 250px;
    padding: 15px 0;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);

    /* Reset layout from parent */
    display: block;
    margin: 0;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 999;
}

/* Show Dropdown on Hover */
.main-navigation ul li.menu-item-has-children:hover>ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.main-navigation ul ul.sub-menu li {
    display: block;
    padding: 0;
    margin: 0;
}

.main-navigation ul ul.sub-menu li a {
    display: block;
    padding: 10px 25px;
    color: #a8a8c0;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-navigation ul ul.sub-menu li a:hover {
    color: #fff;
    padding-left: 32px;
    /* slight indent on hover */
}

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

.search-icon {
    color: var(--dark-text);
    font-size: 18px;
}

.header-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.header-btn:hover {
    background-color: #1a2560;
    color: #fff;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 0;
}

.hero-slider {
    width: 100%;
    height: 800px;
    /* Increased height */
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

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

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

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

.hero-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #d14920;
    color: #fff;
}

/* --- Global Section Styles --- */
.section-padding {
    padding: 80px 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    color: var(--dark-text);
    margin-bottom: 25px;
    line-height: 1.2;
    margin-top: 10px;
}

.section-text {
    color: var(--text-color);
    margin-bottom: 30px;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 16px;
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 54px;
    color: var(--dark-text);
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    line-height: 1;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-text);
    color: #b0b0b0;
    margin-top: 60px;
    position: relative;
    font-size: 14px;
}

.footer-shape-divider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.footer-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: rotate(180deg);
}

.footer-shape-divider .shape-fill {
    fill: var(--dark-text);
}

.footer-container {
    padding: 60px 15px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.widget-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-widget p {
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #b0b0b0;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.newsletter-form .input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px;
    margin-bottom: 15px;
}

.newsletter-form .input-icon {
    padding: 7px 10px 0px;
    color: #fff;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    flex: 1;
    padding: 10px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form .submit-btn {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 16px;
    cursor: pointer;
    z-index: 999;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form .wpcf7-spinner {
    display: none;
}

.privacy-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.privacy-check a {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 13px;
    color: #b0b0b0;
}



/* --- Services Section (Front Page) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.service-content {
    padding: 20px;
    text-align: center;
}

.service-title {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.service-excerpt {
    font-size: 14px;
    color: var(--text-color);
}

/* --- Offer Details Section --- */
.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.offer-content .section-title {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.2;
}

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

/* --- What We Offer Section --- */
.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* --- Clients Section --- */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.client-logo img {
    max-width: 140px;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* --- Portfolio Filters --- */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: #98a4b6;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color, #f45b36);
    color: #fff;
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.portfolio-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 30px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* --- Single Services Template --- */
.service-banner {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.service-banner .container {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 48px;
    margin: 0;
    color: #fff;
}

.single-service-content {
    margin-bottom: 50px;
    text-align: center;
}

.single-service-grid {
    display: block;
}

.service-grid-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    border: 1px solid #e1e4e8;
    margin-bottom: 30px;
    box-sizing: border-box;

    /* Calculate width based on column count and gap (30px), minus a tiny amount to prevent unexpected wrapping */
    width: calc(((100% - ((var(--col-count, 4) - 1) * 30px)) / var(--col-count, 4)) - 0.1px);
}

.service-grid-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid var(--primary-color);
}

.service-grid-name h4 {
    margin: 15px 0 0;
    font-size: 16px;
    color: var(--dark-text);
}

/* --- Floating Actions --- */
.floating-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    background: #fff;
}

.action-toggle {
    background: #000;
    color: #fff;
    padding: 12px 15px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.floating-actions.active .action-buttons {
    max-height: 200px;
}

.action-btn {
    padding: 15px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
    background: #25D366;
    /* WhatsApp Green */
}

.action-btn:hover {
    background: #1eb956;
    color: #fff;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark-text);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: #fff;
}


/*-----------------------------------------
        Responsiveness  Sections
------------------------------------------*/
@media(max-width:767px) {
    .custom-logo {
        max-height: 35px;
        width: auto;
    }

    .footer-widgets {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .offcanvas-menu {
        width: 220px;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats {
        gap: 30px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-service-grid {
        --col-count: 1 !important;
    }

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

@media(max-width:991px) and (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-service-grid {
        --col-count: 2 !important;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.contact-subtitle {
    display: inline-block;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-title {
    font-size: 40px;
    color: var(--dark-text);
    margin-bottom: 25px;
    line-height: 1.2;
}

.contact-desc {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-methods li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: var(--dark-text);
    font-size: 16px;
}

.contact-methods li i {
    color: var(--dark-text);
    font-size: 20px;
    width: 25px;
    text-align: center;
}

.contact-methods li span.fw-bold {
    font-weight: 700;
}

.custom-contact-form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.custom-contact-form .input-group {
    flex: 1;
    position: relative;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    padding: 15px;
}

.custom-contact-form .input-group.textarea-group {
    align-items: flex-start;
}

.custom-contact-form .input-group i {
    color: var(--text-color);
    font-size: 16px;
    margin-right: 15px;
}

.custom-contact-form .input-group.textarea-group i {
    margin-top: 5px;
}

.custom-contact-form .input-group input,
.custom-contact-form .input-group textarea {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 15px;
    color: var(--dark-text);
    font-family: inherit;
    resize: none;
}

.custom-contact-form .input-group input::placeholder,
.custom-contact-form .input-group textarea::placeholder {
    color: #999;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.custom-contact-form .submit-btn {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.custom-contact-form .submit-btn:hover {
    background-color: #d14920;
}

.privacy-check {
    font-size: 13px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-check a {
    color: var(--text-color);
    text-decoration: underline;
}

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

    .custom-contact-form .form-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Contact Cards Section --- */
.contact-cards-section {
    background-color: var(--bg-color);
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.contact-card-title {
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-card-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-card-link {
    color: var(--text-color);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.contact-card-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.wpcf7-form-control-wrap {
    display: inline-block;
    width: 85%;
}

.input-group p,
.form-footer p {
    margin: 0;
    display: flex;
    width: 100%;
}

.privacy-check span {
    width: auto;
}

/* About Us Page Section */
.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-us-image-wrapper {
    position: relative;
    padding: 20px 20px 20px 0;
}

.about-blob-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 46% 54% 23% 77% / 54% 39% 61% 46%;
    /* Organic blob shape */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease-in-out;
}

.about-blob-image:hover {
    border-radius: 54% 46% 77% 23% / 39% 54% 46% 61%;
}

.decorative-blob {
    position: absolute;
    width: 120px;
    height: 120px;
    /* background-color: #E6E6FA; Light purple tint from design */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 0px;
    right: 0px;
    z-index: 1;
    animation: blob-float 6s ease-in-out infinite alternate;
}

@keyframes blob-float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(15deg);
    }
}

.about-us-content .section-title {
    font-size: 42px;
    color: var(--dark-text);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.about-us-content .section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.about-text-content {
    color: var(--text-color);
    line-height: 1.8;
}

.about-text-content p {
    margin-bottom: 15px;
}

/* Mission & Vision & Core Values */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-title {
    color: var(--dark-text);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mv-desc {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
}

.core-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cv-title {
    color: var(--dark-text);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cv-subtitle {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cv-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.cv-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.cv-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-color);
}

.cv-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cv-btn:hover {
    background-color: #d1491d;
    color: #fff;
}

.cv-image-wrapper {
    position: relative;
    text-align: center;
}

.cv-circle-image {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cv-circle-image img {
    width: 100%;
}

.cv-decorative-blob {
    position: absolute;
    width: 150px;
    top: -30px;
    left: -30px;
    z-index: 1;
    opacity: 0.6;
    animation: blob-float 6s ease-in-out infinite alternate;
}

/* About Testimonials */
.about-testimonials-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.about-testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-testi-left .section-title {
    font-size: 46px;
    color: var(--dark-text);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-testi-left .section-subtitle {
    color: var(--dark-text);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.about-testi-right {
    display: flex;
    gap: 30px;
    position: relative;
}

.testi-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    width: 50%;
}

.testi-card-1 {
    transform: translateY(40px);
}

.testi-card-2 {
    transform: translateY(-40px);
}

.testi-avatar {
    width: 80px;
    height: 80px;
    background: #d6dbf0;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    position: relative;
}

.quote-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    border: 3px solid #fff;
}

.testi-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 25px;
}

.testi-author {
    font-weight: 700;
    color: var(--dark-text);
    font-size: 16px;
    margin-bottom: 5px;
}

.testi-role {
    font-size: 14px;
    color: #a0a0a0;
}

/* 404 Error Page */
.error-404-title {
    font-size: 80px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

/* Search Results Page */
.search-results-list {
    margin: 0 auto;
}

.search-result-item {
    margin-bottom: 60px;
}

.search-entry-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.search-entry-title a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s;
}

.search-entry-title a:hover {
    color: var(--primary-color);
}

.search-entry-meta {
    font-size: 13px;
    color: #a0a0a0;
    margin-bottom: 20px;
    font-weight: 500;
}

.meta-separator {
    margin: 0 8px;
    color: #ccc;
}

.search-entry-excerpt {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.search-read-more {
    color: var(--dark-text);
    font-size: 20px;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.search-read-more:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .main-navigation {
        display: none;
    }

    .decorative-blob {
        display: none;
    }

    .top-bar {
        display: none;
    }

    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

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

    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-us-content .section-title {
        font-size: 32px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cv-title {
        font-size: 32px;
    }

    .about-testi-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-testi-left .section-title {
        font-size: 36px;
    }

    .about-testi-right {
        gap: 40px;
    }

    .testi-card {
        width: 40%;
        transform: translateY(0);
    }

    .form-footer p {
        display: block;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {

    .about-testi-right {
        flex-direction: column;
        gap: 0px;
    }

    .testi-card {
        width: auto;
        margin-bottom: 40px;
    }
}