/*
Theme Name: cgsofttech-theme
Theme URI: https://shafeeq.in/
Author: Shafeeq
Author URI: https://shafeeq.in
Description: This theme developed for Goot.me website.
Version: 1.0
Text Domain: cgsofttech-theme
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
    font-family: 'CoHeadlineRegular'; /* Your custom font name */
    src: url('<?php echo get_template_directory_uri(); ?>/fonts/CoHeadline-Regular.woff2') format('woff2'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/CoHeadline-Regular.woff') format('woff'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/CoHeadline-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CoHeadlineBold'; /* Your custom bold font name */
    src: url('<?php echo get_template_directory_uri(); ?>/fonts/CoHeadline-Bold.woff2') format('woff2'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/CoHeadline-Bold.woff') format('woff'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/CoHeadline-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.footer-container .footer-section h4 {
    font-size: 26px !important;
    margin-bottom: 16px !important;
    color: #ffffff;
}
.footer-section ul li a:hover{color: #e8662c;}
body, p {
        font-family: 'CoHeadlineRegular', sans-serif!important;

}
#ingredients p {
    line-height: 10px;
}
.tablepress th {
    text-align: center;
    background-color: #6a2d91!important;
    color: #efefef!important;
    border-style: solid;
    border-width: 1px;
    border-color: #989898!important;
    padding: 1em 1em 1em 1em;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: transparent;
}

/* Header container */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Initially transparent */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background-color 0.3s ease; /* Smooth transition */
}

#main-slogan {
    position: relative;
    top: 50px;
}
#sub-slogan {
    position: relative;
    top: 50px;
}
@media (min-width: 769px) {
    .logo img {
        height: 60px!important;
    }
    .footer-container .footer-section h4 {
        font-size: 26px !important;
        margin-bottom: 16px !important;
        color: #ffffff;
    }
    #mobile-show{display: none;}
    #desktop-show{display: block;}
    .header-container {
        padding: 20px 80px; /* Add more padding for desktop screens */
    }
    .nav-items li a {
    text-decoration: none;
    color: #6a2d91 !important;
    font-size: 16px;
    transition: color 0.3s ease;
}
}

/* Banner or Slider - To push content below the header */
.banner-section {
    padding-top: 100px; /* Adjust based on header height */
}

/* Logo Section */
.logo img {
    height: 60px;
}

/* Navigation - Desktop */
.main-nav {
    display: flex;
    flex-grow: 1;
    justify-content: center;
}

.nav-items {
    display: flex;
    list-style: none;
}

.nav-items li {
    margin: 0 15px;
}

.nav-items li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-items li a:hover {
    color: #ff6600 !important;
}

.nav-items li a.active {
    color: #ff6600; /* Active state color */
}

/* Button Styling */
.header-button {
    display: inline-block;
}

.custom-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5b00b1;
    color: #fff;
    border-radius: 0px 30px 0px 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.custom-button:hover {
    background-color: #450086; /* Darker purple on hover */
}

.custom-button span.arrow {
    display: inline-block;
    margin-left: 10px;
    transition: margin-left 0.3s ease;
}

.custom-button:hover span.arrow {
    margin-left: 15px;
}

/* Mobile Menu Icon - Hidden on Desktop */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    font-size: 30px;
}

/* Mobile Navigation */
.main-nav {
    display: flex;
    justify-content: center;
}


/* Hamburger Icon Styles */
.mobile-menu-icon {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
}

.menu-icon-bar {
    width: 100%;
    height: 4px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Change mobile menu icon to an 'X' when menu is open */
.menu-open ~ .mobile-menu-icon .menu-icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open ~ .mobile-menu-icon .menu-icon-bar:nth-child(2) {
    opacity: 0; /* Hide the middle bar */
}

.menu-open ~ .mobile-menu-icon .menu-icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Styling for drop-down arrow */
.nav-items li .dropdown-arrow {
    margin-left: 5px;
    font-size: 12px;
    color: #000; /* Default color */
    transition: transform 0.3s ease;
    border: solid #000;
    border-width: 0 2px 2px 2px;
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
}

.nav-items li:hover .dropdown-arrow {
    transform: rotate(180deg); /* Rotate arrow on hover */
}

/* Adjust size and positioning if necessary */
.nav-items li .dropdown-arrow {
    margin-left: 10px;
    font-size: 16px;
}

/* Sub-menu styling */
.nav-items .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 10px 0;
}

.nav-items li:hover .sub-menu {
    display: block;
}

.nav-items .sub-menu li {
    padding: 10px 20px;
}

.nav-items .sub-menu li a {
    color: #000;
}

.nav-items .sub-menu li a:hover {
    color: #ff6600; /* Change on hover */
}

.rotate {
    transform: rotate(180deg);
}

.elementor-shape-top {
    top: -1px;
    display: none;
}
.elementor-shape .elementor-shape-fill {
    fill: #fff;
    transform-origin: center;
    transform: rotateY(0deg);
    display: none;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'CoHeadlineBold', sans-serif!important;
    color: #000;
    font-weight: bold;
}
.dropdown-menu{margin: 0px!important;}
.footer-container {
    background-color: #5e3092;
    color: #fff;
    padding: 40px 0;
    padding-bottom: 0px;}

.footer-container .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    width: 23%;
}
.footer-section h4 {
    font-size: 33px;
    margin-bottom: 20px;
    color: #ffffff;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    list-style-position: outside;

}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.rtl .footer-section ul li a {
   
    padding-left: 10px;
    padding-right: 7px;
}
.footer-section ul li i {
    margin-right: 10px;
    margin-left: 10px;
    list-style-position: outside;
}
.rtl #iconsett ul li {
    margin-bottom: 10px;
    display: inline-flex;
    list-style-position: outside;
}
.rtl .footer-section ul li i {
    margin-right: 10px;
    margin-left: 10px;
    /* list-style-position: outside; */
    position: relative;
    top: 10px;
}
.footer-section ul li a:hover {
    color: #e05420 !important;
}
.footer-section form {
    display: flex;
    flex-direction: column;
}

.footer-section form input[type="email"] {
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-bottom: 10px;
}


.footer-section form button {
    padding: 10px;
    border: none;
    color: #ffffff !important;
    background-color: #F05A22!important;
    color: #5e3092;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.footer-section form button:hover {
    background-color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
}

.footer-section ul li a i {
    font-size: 16px;
    margin-right: 5px;
}

.footer-section ul li a i:hover {
    color: #e35c20;
}
.footer-bottom img{width: 100%;}
.footer-container .footer-bottom {
    border-top: none;
    padding-top: 10px;
    margin-top: 20px;
}
/* General form container styling */
.wpcf7 form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Form fields */
.wpcf7 .namefield,
.wpcf7 .email,
.wpcf7 .phone,
.wpcf7 .message {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 2px solid #ccc;
    transition: border 0.3s ease;
    font-size: 16px;
}

/* Field focus effect */
.wpcf7 .namefield:focus,
.wpcf7 .email:focus,
.wpcf7 .phone:focus,
.wpcf7 .message:focus {
    border: 2px solid #007BFF;
    outline: none;
}

/* Placeholder text style */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #999;
    opacity: 0.7;
}

/* Submit button styling */
.wpcf7 input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
    width: 100%;
    text-transform: uppercase;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner.subbtn {
    width: auto;
    border-radius: 2px;
    background-color: #e8662c;
    display: block;
    text-align: center;
}

/* Hover effect for the submit button */
.wpcf7 input[type="submit"]:hover {
    background-color: #ee6a2f!important;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Click animation for submit button */
@keyframes button-press {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.wpcf7 input[type="submit"]:active {
    animation: button-press 0.3s ease-out;
}
.footer-bottom{}
@media (max-width: 768px) {
    .footer-container .footer-section h4 {
        font-size: 22px !important;
        margin-bottom: 9px !important;
        color: #ffffff;
    }
    .footer-container .footer-section ul li {
        font-size: 14px !important;
        margin-bottom: 3px !important;
        color: #ffffff;
    }
.footer-section ul li a {
    color: #fff;
    font-weight: normal;
    text-decoration: none;
}
    /* Make the logo align left and menu icon align right on mobile */
    .elementor-113 .elementor-element.elementor-element-680bce8e {
        padding: 0px 20px 0px 20px!important;
    }
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Hide the normal menu and show mobile icon */
    .main-nav {
        display: none; /* Hide the navigation initially on mobile */
    }

    .mobile-menu-icon {
        display: block; /* Show the mobile icon on mobile devices */
        font-size: 30px;
    }

    /* Hide the 'Get a Free Quote' button on mobile */
    .header-button {
        display: none;
    }

    /* Align logo to the left */
    .logo {
        justify-content: flex-start;
    }

    /* Align mobile icon to the right */
    .mobile-menu-icon {
        justify-content: flex-end;
    }

    .header-button {
        margin-top: 15px;
    }

    .nav-items {
        display: block;
        text-align: left;
    }

    .nav-items li {
        margin: 10px 0;
        border-bottom: 1px solid #ebebeb;
    }

    /* Initially, hide the menu */
    .main-nav {
        display: none;
    }

    /* When menu-open is added, display the menu */
    .main-nav.menu-open {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    /* Close button ('X') when menu is open */
    .menu-open ~ .mobile-menu-icon::before {
        content: '✖'; /* You can use an 'X' or a close icon */
    }
}

@media (max-width: 768px) {
    a#menu-item-dropdown-wpml-ls-4-ar {
    width: 100px;
    float: left;
}
#menu-primary-menu-arabic:last-child .dropdown-menu{
    float: right;
    margin-top: 0px !important;
    text-align: right;
}
div#dispnone {
        display: none;
    }
    #smalltype h4 {
        font-size: 18px;
}
    .footer-section{width:100%;}
    .elementor-113 .elementor-element.elementor-element-d594dd7 {
        width: auto !important;
        max-width: 100% !important;
        --container-widget-width: auto !important;
        --container-widget-flex-grow: 0;
        font-size: var(--e-global-typography-text-font-size);
        line-height: var(--e-global-typography-text-line-height);
    }
    .elementor-kit-81 h2 {
    color: #103371;
    font-family: "Commissioner", Sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2em;
}
    .mobile-menu-icon {
        display: flex;
    }

    .nav-items .sub-menu {
        position: static;
        display: none;
    }

    .nav-items li:hover .sub-menu {
        display: block;
    }

    .nav-items li .dropdown-arrow {
        margin-left: 10px;
        font-size: 16px;
    }
    .mobile-menu-icon{position: relative;right: 10px;}
    #mobile-show{display: block;}
    #desktop-show{display: none;}
}
.elementor-kit-81 a,h1,h2,h3,h4,h5,h6,span,p {
    
    font-family: 'CoHeadlineRegular', sans-serif !important;

}
#upper ul li a {
    text-transform: capitalize;
}
figure.swiper-slide-inner img{width: 70%;}
.elementor-widget-container ul {
    margin-bottom: 0px;
}
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 30px;
    display: none !important;
}
.rtl input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email.namefield {
    direction: rtl;
}
.rtl input.wpcf7-form-control.wpcf7-tel.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-tel.namefield {
    direction: rtl;
}
.rtl .dropdown-menu {
   
    float: right;
    text-align: right;
}