/*
Theme Name: Twenty Thirteen
Theme URI: https://wordpress.org/themes/twentythirteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 4.6
Tested up to: 7.0
Requires at least: 3.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready, block-patterns
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.5 - Post Formats
 *   5.6 - Attachments
 *   5.7 - Post/Paging Navigation
 *   5.8 - Author Bio
 *   5.9 - Archives
 *   5.10 - Search Results/No posts
 *   5.11 - 404
 *   5.12 - Comments
 *   5.13 - Multisite
 * 6.0 - Sidebar
 *   6.1 - Widgets
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

:root {
  /* Mobile First (Base / < 768px) */
  --body-font-size: 15px;
  --h1-size: 28px;
  --h2-size: 24px;
  --h3-size: 20px;
  --h4-size: 18px;
  --h5-size: 16px;
  --h6-size: 14px;
  --p-size: 14px;
  --section-padding-y: 40px;
  --primary-color: #3b7b25; /* Extract exact green from mockup */
  --secondary-color: #dd7c2e; /* Extract exact orange from mockup */
  
  --dark-green: #144700;
  --light-green: #a2d288;
  --
}

/* Tablet (Bootstrap md: >= 768px) */
@media (min-width: 768px) {
  :root {
    --body-font-size: 16px;
    --h1-size: 36px;
    --h2-size: 30px;
    --h3-size: 24px;
    --h4-size: 20px;
    --p-size: 16px;
    --section-padding-y: 60px;
  }
}

/* Desktop (Bootstrap lg: >= 992px) */
@media (min-width: 992px) {
  :root {
    --body-font-size: 18px;
    --h1-size: 48px;
    --h2-size: 36px;
    --h3-size: 28px;
    --h4-size: 24px;
    --p-size: 18px;
    --section-padding-y: 80px;
  }
}

/* Apply Variables Globally */
body { font-size: var(--body-font-size); color: #333; font-family: 'Inter', sans-serif; overflow-x: hidden; }
h1 { font-size: var(--h1-size); font-weight: 700; font-family: 'Outfit', sans-serif; }
h2 { font-size: var(--h2-size); font-weight: 700; font-family: 'Outfit', sans-serif; }
h3 { font-size: var(--h3-size); font-weight: 600; font-family: 'Outfit', sans-serif; }
h4 { font-size: var(--h4-size); font-weight: 600; font-family: 'Outfit', sans-serif; }
h5 { font-size: var(--h5-size); font-weight: 600; font-family: 'Outfit', sans-serif; }
h6 { font-size: var(--h6-size); font-weight: 600; font-family: 'Outfit', sans-serif; }
p { font-size: var(--p-size); line-height: 1.6; }
.section-padding { padding-top: var(--section-padding-y); padding-bottom: var(--section-padding-y); }

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-dark-green { background-color: var(--dark-green) !important; }
.bg-light-green { background-color: #f8faf5 !important; } 
.text-dark-green { color: var(--dark-green) !important; }
.text-light-green { color: var(--light-green) !important; }

/* Buttons */
.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
}
.btn-secondary:hover {
    background-color: #d97a36;
    border-color: #d97a36;
    color: #fff;
}

/* Top Bar */
.top-bar {
    font-size: 16px;
    background: linear-gradient(90deg, #144700 0%, #6dc11b 100%);
}

/* Navbar */
#navbar {
    transition: all 0.3s ease-in-out;
}
#navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-green) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    z-index: 1030;
}
.navbar-nav .nav-link {
    font-size: 18px;
    color: #ffffff !important;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover, #navbar.scrolled .navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}
/* .navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
} */

@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-collapse.custom-collapse-contents {
        display: contents !important;
    }
}

/* Logo & Element Swap on Scroll */
#navbar:not(.scrolled) .logo-scrolled { display: none !important; }
#navbar.scrolled .logo-transparent { display: none !important; }
#navbar.scrolled .navbar-toggler { filter: invert(1) !important; }
/* #navbar.scrolled .navbar-toggler { filter: none !important; }
#navbar.scrolled .nav-actions .btn-outline-light {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
#navbar.scrolled .nav-actions .btn-outline-light:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}
#navbar.scrolled .nav-actions span[style*="background-color: white"] {
    background-color: var(--primary-color) !important;
} */

/* Hero Section (Swiper) */
.hero-section {
    min-height: max(100vh, 700px);
    height: auto;
    position: relative;
    display: flex;
}
.hero-swiper .swiper-slide {
    min-height: max(100vh, 700px);
    height: auto;
    display: flex;
    flex-direction: column;
}

/* About Section */
.about-images {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
}
.about-images .main-img {
    width: 95%;
    display: block;
    position: relative;
    z-index: 1;
}
.about-images .overlay-img {
    width: 60%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid #f8faf5;
}
.solutions-section .about-images .overlay-img {
    width: 51%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid #f8faf5;
}
/* Marquee */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    font-size: 18px;
}
.marquee, .marquee-reverse {
    display: inline-flex;
    flex-wrap: nowrap; 
    width: max-content;
}
.marquee {
    animation: marquee 90s linear infinite; 
}
.marquee-reverse {
    animation: marquee-reverse 90s linear infinite;
}
.marquee-wrapper:hover .marquee,
.marquee-wrapper:hover .marquee-reverse {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Services Grid */
.service-card {
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
}

/* Products */
.product-card {
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}
.product-card img {
    transition: transform 0.4s ease;
}
.product-card:hover img {
    transform: scale(1.1);
}
.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.product-card:hover::after {
    transform: scaleX(1);
}
/* Override Twenty Thirteen Default Header */
.site-header { background: transparent !important; background-image: none !important; }

/* Excellence / Features */
.excellence-section {
    background: url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    position: relative;
}
.excellence-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}
.feature-card {
    background: rgba(59, 123, 37, 0.85); /* Semi-transparent primary color */
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.feature-card:hover {
    transform: translateY(-5px);
}

/* Testimonials */
.testimonial-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Footer links */
.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: var(--secondary-color);
}

@media only screen and (max-width: 768px) {
   #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
        background-color: transparent !important;
        display: block !important;
    }

    #mega-menu-wrap-primary .mega-menu-toggle {
        display: none !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    color: white;
        background-color: transparent !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
        color: white;
        background-color: transparent !important;
    }
      .hero-section .slide-bg {
        background-position: 80% top !important;
    }
}

/* ================= Contact 7 style============= */

/* --- CF7 Premium Form Styling --- */

/* Typography styling for labels */
.letter-spacing-1 {
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* Premium Input Fields */
.premium-input {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #333 !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: none !important;
}

/* Input Focus State (Matches your Green Theme) */
.premium-input:focus {
    background-color: #ffffff !important;
    border-color: #559132 !important; /* Your brand light green */
    box-shadow: 0 0 0 4px rgba(85, 145, 50, 0.1) !important;
    outline: none !important;
}

/* Premium Orange Submit Button */
.btn-premium-orange {
    background-color: #df7a28 !important; 
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 4px 12px rgba(223, 122, 40, 0.2) !important;
}

/* Button Hover State */
.btn-premium-orange:hover {
    background-color: #c9681d !important; 
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(223, 122, 40, 0.3) !important;
}

/* Remove ugly CF7 default margins */
.wpcf7-form p {
    margin-bottom: 0 !important;
}
.wpcf7 form.init .wpcf7-response-output {
    display: none;
}
/* Button Click (Active) State - Stops the jitter and creates a natural click feel */
.btn-premium-orange:active {
    transform: translateY(0) !important; /* Pushes the button back down when clicked */
    box-shadow: 0 2px 5px rgba(223, 122, 40, 0.2) !important;
    transition: all 0.1s ease-in-out !important; /* Faster transition for instant click feel */
}
/* Fix Bootstrap Modal Jump/Shake */
body.modal-open {
    overflow-y: scroll !important;
    padding-right: 0 !important;
}


body {
    overflow-y: scroll !important;
    padding-right: 0 !important;
}


header.position-absolute,
nav.fixed-top {
    padding-right: 0 !important;
}