/*
Theme Name: ICAP NEW 2026
Theme URI: https://icap.org.pk
Author: KUN Ventures
Author URI: https://kunventures.com
Description: Custom WordPress theme for Institute of Chartered Accountants of Pakistan
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: icap
Tags: custom-logo, custom-menu, featured-images, footer-widgets, theme-options
*/

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3D4955;
    background-color: #fff;
}

a {
    color: #0774B5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2EB24C;
}

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

/* Container */
.container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 0px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-logo img {
    max-height: 80px;
    width: auto;
}

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

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover {
    color: #2EB24C;
}

/* Content Area */
.site-content {
    padding: 0px 0;
    min-height: 60vh;
}

.content-area {
    display: flex;
    gap: 40px;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Posts & Pages */
.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-family: 'Montserrat', serif;
    font-size: 2rem;
    margin: 0 0 10px;
    color: #222;
}

.entry-title a {
    color: inherit;
}

.entry-title a:hover {
    color: #2EB24C;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-content {
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

/* Archive & Search */
.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0874B5;
}

.page-title {
    font-family: 'Montserrat', serif;
    font-size: 1.8rem;
    margin: 0;
    color: #222;
}

.archive-description {
    margin-top: 10px;
    color: #666;
}

/* Post Cards */
.post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 20px;
}

/* Read More Button */
.read-more {
    display: inline-block;
    background: #0874B5;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #2EB24C;
    color: #fff;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #f5f5f5;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #0874B5;
    color: #fff;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-form .search-submit {
    background: #0874B5;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.search-form .search-submit:hover {
    background: #2EB24C;
}

/* Widgets */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.widget-title {
    font-size: 1.2rem;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0874B5;
    color: #222;
}

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

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

/* Footer */
.site-footer {
    background: #3D4955;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget .widget-title {
    color: #fff;
    border-bottom-color: #fff;
}

.footer-widget a {
    color: #eee;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 5px 0;
    color: #999;
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 h1 {
    font-size: 6rem;
    color: #0874B5;
    margin: 0;
}

.error-404 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-404 p {
    color: #666;
    margin-bottom: 30px;
}


:root {
  --text: #626262;
  --slate: #3d4955;
  --primary: #0774b7;
  --secondary: #2eb24c;
	    --tec-color-accent-primary: #0774b7;
	--tec-color-link-accent-hover: #0774b7;
}

html {
  font-size: 0.8333333333vw;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Font Scalablitiy  */
@media (max-width: 991px) {
  html {
    font-size: 1.3333334vw;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 4.102564103vw;
  }
}

/* Project Setup  */
body {
  scroll-behavior: smooth;
  font-family: "Montserrat", sans-serif !important;
	overflow-x:hidden;
}

body
  .elementor-column-gap-default
  > .elementor-column
  > .elementor-element-populated {
  padding: 0 !important;
}

body .elementor-widget:not(:last-child) {
  margin-block-end: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
p,
span {
	  font-family: "Montserrat", sans-serif !important;
  margin: 0 !important;
}

.container-1 {
  padding-left: 17.854rem;
  padding-right: 17.854rem;
}

.container-2 {
  padding-left: 9.396rem;
  padding-right: 9.396rem;
}

.sec-padded {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

.top-padded {
  padding-top: 6.25rem;
}

.bottom-padded {
  padding-bottom: 6.25rem;
}

body .elementor-widget:not(:last-child).m-bottom {
  margin-bottom: 1.5rem !important;
}

/* Header  */

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

.header .logo {
  width: 6.394rem !important;
}

.header .account {
  width: 5.875rem !important;
}

.header .menu {
  width: max-content !important;
}

.header {
  padding-top: 0.967rem;
  padding-bottom: 0.967rem;
}

.header ul.wpr-nav-menu {
  display: flex;
  gap: 2.25rem;
}

.header ul li a {
  font-size: 1.125rem !important;
  font-family: "Montserrat", sans-serif;
  color: var(--slate) !important;
  padding: 0 !important;
  font-weight: bold;
  transition: all 0.4s ease-out;
}

.header ul li a:hover {
  color: var(--secondary) !important;
}

.header ul.sub-menu.wpr-sub-menu {
  width: 25rem;
  padding: 1.469rem 1.25rem;
  display: flex !important;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: 0px 0px 20.1px 0px #00000014;
  border: none !important;
  background: white;
}

.header ul.sub-menu.wpr-sub-menu li {
  border: none;
}

.header svg {
    transition: all 0.4s ease-out;
	cursor:pointer;
}

.header .account .elementor-icon-box-wrapper:hover svg  {
    filter: brightness(0) saturate(100%) invert(55%) sepia(16%) saturate(1970%) hue-rotate(82deg) brightness(100%) contrast(89%);
	transition: all 0.4s ease-out;
}

.header .account .elementor-icon-box-wrapper:hover .elementor-icon-box-title a{
	color:var(--secondary) !important;
		transition: all 0.4s ease-out;
}

.header .account .elementor-icon-box-wrapper{
	cursor:pointer;
}

.header .account .elementor-icon-box-wrapper .elementor-icon-box-title a{
		transition: all 0.4s ease-out;
}

/* Responsive */
@media (max-width: 992px) {
    .content-area {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .entry-title {
        font-size: 1.5rem;
    }
}

