/*
Theme Name: clearfinsol
Author: Abdul Basit
Author URI: https://api.whatsapp.com/send?phone=918285936326
Version: 0.0001
Text Domain: clearfinsol
*/


/* =Reset default browser CSS. Based on work by Eric Meyer.
-------------------------------------------------------------- */
        :root {
                --primary-color: #fff;
                --secondary-color: #1a5490;
                --dark-bg: #044182;
                --teal-bg: #4a7c7e;
            }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        /* Navigation */
        .navbar {
            background-color: rgb(4 65 130 / 66%) !important;
            /*padding: 1rem 0;*/
        }
        .single-post h2 {
			color: #044181;
			font-size: 1.7rem;
			font-weight: 700;
		}
.ab-bt {
    text-align: right;
}
.contact-section .contact-info-item a {
    color: #666;
    text-decoration: none;
}
.post-template-default .navbar, .page-template-default .navbar, .blog .navbar, .page-template .navbar{
    background-color: rgb(4 65 130) !important;
}
.about-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin-top: 3rem;
}
img.alignleft {
    float: left;
    border-radius: 5px;
    padding-right: 15px;
}
		.single-post h3 {
			color: #044181;
			font-size: 1.5rem;
			font-weight: 700;
		}
        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 300;
            color: #fff !important;
        }
        
        .navbar-brand span {
            font-size: 0.7rem;
            vertical-align: super;
            color: var(--secondary-color);
        }
        
        .navbar-nav .nav-link {
            color: #fff !important;
            margin: 0 0.5rem;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .navbar-nav .nav-link:hover {
            color: var(--primary-color) !important;
        }
        
        .navbar-nav .nav-link.active {
            color: var(--primary-color) !important;
        }
        
        /* Hero Section */
        .hero-section {
            position: relative;
            height: 600px;
            background: url(.../../img/bnr1.jpg);
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            color: white;
        }
        
        .hero-content {
             max-width: 435px;
            background: #00000078;
            padding: 27px;
            border-radius: 8px;
                margin-top: 159px;
        }
        
        .hero-content h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }
.hero-content h3 {
            font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0rem;
    text-transform: uppercase;
        }
        
        .hero-content p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .btn-hero {
            background-color: #044182 !important;
            color: white !important;
                padding: 7px 29px !important;
			margin-top: 10px;
            border: none;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
        }
        
        .btn-hero:hover {
            background-color: #c69563;
            color: white;
        }
        
        /* Logo Section */
        .logo-section {
            background-color: var(--secondary-color);
            padding: 80px 0;
            text-align: center;
        }
        
        .cfs-logo {
            max-width: 300px;
            margin: 0 auto;
        }
        
        /* Features Section */
        .features-section {
            background-color: #044182;
            padding: 20px 0;
            color: white;
        }
        
        .feature-item {
            text-align: left;
            padding: 20px;
        }
        
        .feature-icon {
            font-size: 3rem;
            color: #fbfaf6;
            margin-bottom: 1rem;
        }
        
        .feature-item h4 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .feature-item p {
            font-size: 0.95rem;
            line-height: 1.6;
            opacity: 0.9;
        }
        
        /* Solutions Section */
        .solutions-section {
            padding: 80px 0;
            background-color: #f8f9fa;
        }
        
        .section-title {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--secondary-color);
            margin-bottom: 1.5rem;
            text-transform: uppercase;
        }
        
        .chart-container {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .currency-rate {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .currency-flag {
            width: 30px;
            height: 30px;
            background: var(--secondary-color);
            border-radius: 50%;
            margin-right: 10px;
        }
        
        .rate-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--dark-bg);
        }
        
        .rate-change {
            color: #dc3545;
            font-size: 0.9rem;
        }
        
        /* Why Choose Us Section */
        .why-choose-section {
            background-color: var(--dark-bg);
            padding: 45px 0;
            color: white;
        }
        
        .why-choose-section .section-title {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 0rem;
        }
        
        .why-item {
            padding: 30px;
            text-align: left;
        }
        
        .why-number {
            color: var(--primary-color);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .why-item h4 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }
        
        .why-item p {
            /*opacity: 0.8;*/
            line-height: 1.6;
        }
        
        /* Services Section */
        .services-section {
            padding: 80px 0;
            background-color: #fff;
        }
        
        .services-section .section-title {
            color: #044182;
            text-align: center;
            margin-bottom:0rem;
        }
        
        .service-card {
            border: none;
            box-shadow: 0 3px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            height: 100%;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
        }
        
        .service-card img {
            height: 200px;
            object-fit: cover;
        }
        
        .service-card .card-body {
            padding: 25px;
        }
        
        .service-card h5 {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .service-tag {
            color: #044182;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .services-footer {
            text-align: center;
            margin-top: 3rem;
            color: #666;
        }
        
        .services-footer a {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        /* News Section */
        .news-section {
            padding: 40px 0;
            background-color: #f8f9fa;
        }
        
        .grid-view-title {
            font-size: 2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.5rem;
            letter-spacing: 1px;
        }
        
        .title-underline {
            width: 50px;
            height: 3px;
            background-color: #044182;
            margin: 10px auto;
        }
        
        .news-grid-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .news-grid-card.ab-card {
    max-height: 499px;
    overflow: hidden;
    overflow-y: auto;
}
aside#secondary-sidebar #text-2 {
    list-style: none;
}
.textwidget ol {
    padding: inherit;
}
        .news-grid-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }
        
        .news-grid-image {
            width: 100%;
            height: 250px;
            overflow: hidden;
        }
        
        .news-grid-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .news-grid-card:hover .news-grid-image img {
            transform: scale(1.05);
        }
        
        .news-grid-content {
            padding: 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .news-grid-title {
                color: #044181;
                font-size: 1.5rem;
                font-weight: 700;
                margin-bottom: 1rem;
        }
        
        .news-title-underline {
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .news-grid-category {
            color: #999;
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }
        
        .news-grid-description {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            flex: 1;
        }
        
        .news-grid-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid #e0e0e0;
        }
        
        .news-grid-date {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #999;
            font-size: 0.85rem;
        }
        
        .news-grid-date i {
            color: var(--primary-color);
            font-size: 1rem;
        }
        
        .news-grid-link {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #999;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }
        
        .news-grid-link:hover {
            color: var(--primary-color);
        }
        
        .news-grid-link i {
            color: var(--primary-color);
            font-size: 1.3rem;
        }
        
        /* Footer */
        .footer {
            background-color: var(--dark-bg);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer h5 {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .footer ul {
            list-style: none;
            padding: 0;
			margin: 0px;
        }
        
/*         .footer ul li {
            margin-bottom: 0.8rem;
        } */
        
        .footer ul li a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s;
			    margin-right: 10px;
        }
        
        .footer ul li a:hover {
            color: var(--primary-color);
        }
        
        .footer-news-item {
            margin-bottom: 1.5rem;
        }
        
        .footer-news-item h6 {
            color: white;
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
        }
        
        .footer-news-item small {
            color: rgba(255,255,255,0.5);
        }
        
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255,255,255,0.1);
            border-radius: 50%;
            color: white;
            margin-right: 10px;
            transition: background-color 0.3s;
        }
        
        .social-icons a:hover {
            background-color: var(--primary-color);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 2rem;
            padding-top: 2rem;
            text-align: center;
        }
        
        .footer-bottom p {
            margin: 0;
            color: rgba(255,255,255,0.5);
            font-size: 0.9rem;
        }
        
        .footer-bottom a {
            color: var(--primary-color);
            text-decoration: none;
        }
        #news .section-title {
            color: #044182;
            text-align: center;
            margin-bottom: 0rem;
        }
        .why-item ul {
            padding-left: 18px;
        }
        /* service section css start */
/* Section Styling */
        .trader-benefits-section {
            padding: 80px 0;
            background-color: var(--bg-light);
        }
        
        /* Section Title */
        .trader-section-title {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            color: var(--primary-color);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        /* Title Underline */
        .trader-title-underline {
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
            margin: 0 auto 60px;
        }
        
        /* Card Styling */
        .trader-card {
            background: #044182;
            border: none;
            border-radius: 0;
            padding: 20px 23px;
            height: 100%;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .trader-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        .ser-img img {
            //width: 109px;
            height: 160px;
            padding: 15px;
        }
.fimg img{width:140px;}
        /* Card Title */
        .trader-card-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        /* Card Title Underline */
        .trader-card-underline {
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
            margin-bottom: 25px;
        }
        
        /* Card Text */
        .trader-card-text {
            font-size: 1rem;
            color: var(--text-light);
            line-height: 1.7;
            margin-bottom: 25px;
        }
        
        /* Read More Link */
        .read-more-link {
            display: inline-flex;
            align-items: center;
            color: var(--text-light);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .read-more-link:hover {
            color: var(--accent-color);
        }
        
        .read-more-link .icon-circle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background-color: #044182;
            border-radius: 50%;
            /*margin-right: 10px;*/
            transition: all 0.3s ease;
        }
        
        .read-more-link:hover .icon-circle {
            background-color: var(--primary-color);
        }
        
        .read-more-link .icon-circle i {
            color: white;
            font-size: 12px;
        }
        .footer ul li {
/* 			margin-bottom: 0.8rem; */
			display: inline-block;
		}
        /* Responsive Adjustments */
        @media (max-width: 991px) {
            .trader-section-title {
                font-size: 2rem;
            }
            
            .trader-benefits-section {
                padding: 60px 0;
            }
            
            .trader-card {
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 767px) {
			.hero-content h3 {
				font-size: 1.2rem;
			}
            .trader-section-title {
                font-size: 1.75rem;
            }
            
            .trader-benefits-section {
                padding: 40px 0;
            }
            
            .trader-card {
                padding: 30px 20px;
            }
        }
        
        @media (max-width: 575px) {
            .trader-section-title {
                font-size: 1.5rem;
            }
            
            .trader-card-title {
                font-size: 1.1rem;
            }
        }
/* end service section */
/* Page Header */
        .page-header {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                        var(--dark-bg);
            padding: 45px 0 28px;
            margin-top: 70px;
            text-align: center;
            color: white;
        }
        
        .page-header h1 {
            font-size: 3rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }
        
        .page-header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        /* Contact Section */
        .contact-section {
            padding: 80px 0;
            background-color: #f8f9fa;
        }
        
        .contact-info-box {
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 3px 20px rgba(0,0,0,0.1);
            margin-bottom: 30px;
            /*height: 100%;*/
        }
        .contact-form-box .btn-submit {
            background: #044182;
            color: #fff;
        }
        .page-id-61 .contact-icon {
            width: 50px;
            height: 50px;
            background: #044182;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            flex-shrink: 0;
        }
        .footer .contact-form-box {
            padding: 15px 40px;
        }
        .contact-info-item {
            margin-bottom: 30px;
            display: flex;
            align-items: start;
        }
        
        .contact-info-item:last-child {
            margin-bottom: 0;
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            flex-shrink: 0;
        }
        
        .contact-icon i {
            color: white;
            font-size: 1.5rem;
        }
        
        .contact-info-content h5 {
            color: var(--dark-bg);
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }
        
        .contact-info-content p {
            margin: 0;
            color: #666;
            line-height: 1.6;
        }
        
        /* Contact Form */
        .contact-form-box {
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 3px 20px rgba(0,0,0,0.1);
        }
        
        .contact-form-box h3 {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
        }
        
        .form-label {
            color: var(--dark-bg);
            font-weight: 500;
            margin-bottom: 0.5rem;
        }
        
        .form-control, .form-select {
            border: 2px solid #e0e0e0;
            padding: 12px 15px;
            border-radius: 5px;
            transition: border-color 0.3s;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: none;
        }
        
        .form-control::placeholder {
            color: #999;
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .btn-submit {
            background-color: var(--primary-color);
            color: white;
            padding: 12px 40px;
            border: none;
            border-radius: 5px;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
            transition: background-color 0.3s;
        }
        
        .btn-submit:hover {
			background-color: #000 !important;
			color: white !important;
		}
        /* Map Section */
        .map-section {
            padding: 0;
            height: 450px;
            background-color: #e0e0e0;
        }
        
        .map-container {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
        }
.contact-form-box p {
    margin: 0px;
}
        /* Responsive */
        @media (max-width: 768px) {
            .navbar {
                background-color: rgb(4 65 130) !important;
                padding: 0rem 0 !important;
            }
            .hero-content {
                max-width: 215px;
                background: #00000078;
                padding: 10px;
                border-radius: 5px;
                margin-top: 5px;
            }
            .hero-content h1 {
                font-size: 1.3rem;
            }
            .features-section {
                    padding: 0px 0;
                }
            .btn-hero {
                padding: 5px 15px !important;
            }
            .hero-content p {
                font-size: 1.1rem;
            }
            .hero-section {
                    height: 185px;
                    width: 100%;
                    margin-top: 84px;
                }
        }
.widget_calendar {
    list-style: none;
}
/* Calendar Widget Container */
.widget_calendar {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Widget Title */
.widget_calendar .widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0052a3;
}

/* Calendar Wrapper */
#calendar_wrap {
    overflow: hidden;
}

/* Calendar Table */
#wp-calendar {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Calendar Caption (Month/Year Header) */
#wp-calendar caption {
    background: linear-gradient(135deg, #044182 0%, #044182 100%);
    color: white;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    caption-side: top;
}

/* Navigation Links in Caption */
#wp-calendar caption a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

#wp-calendar caption a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Previous Month Link */
#wp-calendar caption #prev {
    float: left;
}

#wp-calendar caption #prev:before {
    content: "← ";
}

/* Next Month Link */
#wp-calendar caption #next {
    float: right;
}

#wp-calendar caption #next:after {
    content: " →";
}

/* Table Head - Day Names */
#wp-calendar thead {
    background: #f8f9fa;
}

#wp-calendar thead th {
    padding: 12px 5px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0052a3;
    border-bottom: 2px solid #e0e0e0;
}

/* Table Body */
#wp-calendar tbody {
    background: white;
}

/* Calendar Cells */
#wp-calendar tbody td {
    padding: 12px 5px;
    text-align: center;
    border: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #666;
    transition: all 0.3s ease;
}

/* Hover Effect on Dates */
#wp-calendar tbody td:hover {
    background: #f0f8ff;
    color: #0052a3;
    cursor: pointer;
}

/* Empty Cells */
#wp-calendar tbody td.pad {
    background: #fafafa;
    cursor: default;
}

#wp-calendar tbody td.pad:hover {
    background: #fafafa;
    color: #666;
}

/* Dates with Posts (Links) */
#wp-calendar tbody td a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px 5px;
    margin: -12px -5px;
    text-decoration: none;
    color: #0052a3;
    font-weight: 700;
    transition: all 0.3s ease;
}

#wp-calendar tbody td a:hover {
    background: linear-gradient(135deg, #0052a3 0%, #00a859 100%);
    color: white;
    border-radius: 8px;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 82, 163, 0.3);
}

/* Today's Date */
#wp-calendar tbody td#today {
    background: #fff3cd;
    font-weight: 700;
    color: #856404;
    border: 2px solid #ffc107;
    border-radius: 8px;
}

#wp-calendar tbody td#today:hover {
    background: #ffc107;
    color: white;
}

/* Table Footer */
#wp-calendar tfoot {
    background: #f8f9fa;
}

#wp-calendar tfoot td {
    padding: 12px 10px;
    text-align: center;
    border-top: 2px solid #e0e0e0;
}

#wp-calendar tfoot td a {
    color: #0052a3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

#wp-calendar tfoot td a:hover {
    color: #00a859;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .widget_calendar {
        padding: 15px;
    }
    
    .widget_calendar .widget-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    #wp-calendar caption {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    #wp-calendar thead th {
        padding: 10px 3px;
        font-size: 0.8rem;
    }
    
    #wp-calendar tbody td {
        padding: 10px 3px;
        font-size: 0.85rem;
    }
    
    #wp-calendar tbody td a {
        padding: 10px 3px;
        margin: -10px -3px;
    }
}

@media (max-width: 480px) {
    .widget_calendar {
        padding: 12px;
    }
    
    #wp-calendar caption {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    #wp-calendar thead th {
        padding: 8px 2px;
        font-size: 0.7rem;
    }
    
    #wp-calendar tbody td {
        padding: 8px 2px;
        font-size: 0.8rem;
    }
    
    #wp-calendar tbody td a {
        padding: 8px 2px;
        margin: -8px -2px;
    }
}
/* Calendar css */