/*
Theme Name: Iqra Soft Park
Theme URI: https://iqrasoftpark.com/
Author: Iqra Soft Park
Author URI: https://iqrasoftpark.com/
Description: A fast, plugin-free business theme for a software company. Home page content is edited in Appearance > Customize > Home page. Works on PHP 7.4 to 8.3.
Version: 1.2.0
Requires at least: 5.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iqra-soft-park
Tags: business, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

:root {
	--ink: #0b1741;
	--paper: #ffffff;
	--mist: #eef3fb;
	--line: #d6deee;
	--teal: #1452d6;
	--teal-d: #0d3aa8;
	--saffron: #f6a800;
	--muted: #4a5878;
	--radius: 6px;
	--font-head: "Bricolage Grotesque", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", "Noto Sans Bengali", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.6em; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; padding-block: 3rem; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--paper); clip: auto; clip-path: none; color: var(--ink);
	display: block; height: auto; width: auto; left: 8px; top: 8px; padding: 12px 18px; z-index: 100000;
}

/* Buttons */
.btn {
	display: inline-block; background: var(--teal); color: #fff; border: 2px solid var(--teal);
	padding: 0.7rem 1.4rem; border-radius: var(--radius); font-family: var(--font-head);
	font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem; line-height: 1.3;
}
.btn:hover { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-small { padding: 0.45rem 1rem; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.site-title { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.custom-logo { max-height: 52px; width: auto; display: block; }
.custom-logo-link { display: block; line-height: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
.site-nav a { display: block; padding: 0.5rem 0.9rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--radius); }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { background: var(--mist); color: var(--teal-d); }
.site-nav li { position: relative; }
.site-nav ul ul {
	position: absolute; left: 0; top: 100%; min-width: 200px; background: var(--paper);
	border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem; display: none; flex-direction: column; align-items: stretch;
}
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: flex; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block; width: 20px; height: 2px; background: var(--ink); position: relative; margin: auto; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after { position: absolute; top: 6px; left: 0; }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1rem; }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; }
	.site-nav ul ul { position: static; display: flex; border: 0; padding-left: 1rem; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Hero: a plan view of a campus, drawn with plain blocks */
.hero { background: var(--mist); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero-title { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; max-width: 14em; }
.hero-text { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.hero-art { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 10px; aspect-ratio: 1 / 1; width: 100%; max-width: 440px; margin-inline: auto; }
.hero-art .b { border-radius: 4px; background: var(--teal); }
.hero-art .b1 { grid-area: 1 / 1 / 4 / 4; background: var(--ink); }
.hero-art .b2 { grid-area: 1 / 4 / 3 / 7; background: var(--teal); }
.hero-art .b3 { grid-area: 3 / 4 / 5 / 5; background: var(--saffron); }
.hero-art .b4 { grid-area: 3 / 5 / 5 / 7; background: #fff; border: 2px solid var(--ink); }
.hero-art .b5 { grid-area: 4 / 1 / 7 / 3; background: #fff; border: 2px solid var(--ink); }
.hero-art .b6 { grid-area: 4 / 3 / 7 / 4; background: var(--teal-d); }
@media (max-width: 860px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-art { max-width: 280px; margin-inline: 0; }
}

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); scroll-margin-top: 80px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .section-title { color: #fff; }

.service-list { list-style: none; margin: 2rem 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.service h3 { font-size: 1.5rem; margin: 0; }
.service p { margin: 0; color: var(--muted); max-width: 40em; }
@media (max-width: 700px) { .service { grid-template-columns: 1fr; gap: 0.5rem; } }

.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: start; }
.about-text { font-size: 1.3rem; line-height: 1.6; margin: 0; max-width: 36em; color: #d9e2f7; }
@media (max-width: 700px) { .about-inner { grid-template-columns: 1fr; } }

.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-details { margin: 1.5rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; }
.contact-details dt { font-weight: 600; }
.contact-details dd { margin: 0; }
.contact-form { background: var(--paper); padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 800px) { .contact-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* Forms (also styles Contact Form 7) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], textarea, select {
	width: 100%; padding: 0.7rem 0.9rem; border: 1px solid #9fb0ba; border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit;
}
textarea { min-height: 140px; }
input[type="submit"], button[type="submit"]:not(.btn) {
	background: var(--teal); color: #fff; border: 2px solid var(--teal); border-radius: var(--radius); padding: 0.7rem 1.4rem; font-weight: 700; cursor: pointer; font-family: var(--font-head); font-size: 1rem;
}
input[type="submit"]:hover { background: var(--teal-d); border-color: var(--teal-d); }
.wpcf7 p { margin: 0 0 1rem; }
.wpcf7-not-valid-tip, .wpcf7-response-output { font-size: 0.95rem; }
.search-form { display: flex; gap: 0.5rem; max-width: 460px; margin-block: 1rem; }
.search-form .search-field { flex: 1; }

/* Content pages and posts */
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 0.8em; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; padding-block: 3rem; }
.page-grid:not(:has(.sidebar)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .page-grid { grid-template-columns: 1fr; } }
.entry-content { max-width: 720px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content .alignwide, .entry-content .alignfull { max-width: none; }
.entry-thumb { margin-bottom: 1.5rem; }
.entry-thumb img { border-radius: var(--radius); }
.entry-footer { margin-top: 2rem; color: var(--muted); font-size: 0.95rem; }
.archive-desc { color: var(--muted); margin-bottom: 1.5rem; }
.not-found .search-form { margin-bottom: 2rem; }

.card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }
.card { border-top: 3px solid var(--ink); padding-top: 1rem; }
.card-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; margin-bottom: 1rem; }
.card-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.3rem; }
.card-title { font-size: 1.35rem; margin: 0 0 0.5rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--teal); text-decoration: underline; }
.card-excerpt p { margin: 0; color: var(--muted); }

.pagination, .post-navigation, .comments-pagination { margin-top: 2.5rem; }
.pagination .nav-links, .post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; }
.pagination .page-numbers { padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Sidebar and widgets */
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1.1rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.4rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.widget a { text-decoration: none; }

/* Comments */
.comments { margin-top: 3rem; max-width: 720px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 1rem 0; border-top: 1px solid var(--line); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 0.6rem; }
.comment-metadata { font-size: 0.85rem; color: var(--muted); }
.comment-form label { display: block; font-weight: 600; margin-bottom: 0.25rem; }

/* WordPress core classes */
.alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.9rem; color: var(--muted); }
.sticky .card-title::before { content: "\2605  "; color: var(--saffron); }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(3, 1fr); }
.gallery-item { margin: 0; }
.bypostauthor { display: block; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--line); padding: 0.5rem 0.75rem; text-align: left; }
pre { overflow-x: auto; background: var(--mist); padding: 1rem; border-radius: var(--radius); }
blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 4px solid var(--saffron); color: var(--muted); }

/* Footer */
.site-footer { background: #070f2b; color: #c3cce6; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-block: 3rem 2rem; }
.footer-title { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; margin: 0 0 0.4rem; }
.footer-desc { margin: 0; }
.site-footer a { color: #fff; }
.site-footer .widget-title { color: #fff; border-color: #2a3870; }
.site-footer .widget li { border-color: #1a2550; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a { text-decoration: none; display: inline-block; padding: 0.2rem 0; }
.footer-base { border-top: 1px solid #1a2550; padding-block: 1.25rem; font-size: 0.9rem; }
.footer-base p { margin: 0; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; animation: none !important; }
}

/* Brand sections */
.kicker { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--teal-d); margin: 0 0 1rem; }
.section-intro { color: var(--muted); max-width: 40em; margin: 0 0 2rem; font-size: 1.1rem; }
.section-cta { margin: 2.5rem 0 0; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }

.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 1.4rem; }
.product:nth-child(3n+2) { border-top-color: var(--ink); }
.product:nth-child(3n) { border-top-color: var(--saffron); }
.product h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.product p { margin: 0; color: var(--muted); }

.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.service { display: block; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.service h3 { font-size: 1.2rem; margin: 0 0 0.25rem; }
.service p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .service-list { grid-template-columns: 1fr; } }

.attach { margin-top: 3rem; padding: 1.75rem; background: var(--mist); border-radius: var(--radius); }
.attach h3 { font-size: 1.4rem; margin: 0 0 0.3rem; }
.attach-focus { margin: 0 0 1rem; font-weight: 600; color: var(--teal-d); }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 1rem; font-weight: 500; }

.band { background: var(--teal); color: #fff; padding-block: 2.5rem; }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.band .section-title { color: #fff; margin-bottom: 0.3rem; }
.band p { margin: 0; max-width: 38em; }

/* Slider */
.slider { position: relative; background: var(--ink); color: #fff; }
.slides { position: relative; height: clamp(380px, 56vw, 580px); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0.7s; display: flex; align-items: center; background: linear-gradient(135deg, var(--ink), var(--teal-d)); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 23, 65, 0.88) 0%, rgba(11, 23, 65, 0.55) 55%, rgba(11, 23, 65, 0.15) 100%); }
.slide-copy { position: relative; }
.slide-title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; color: #fff; max-width: 15em; margin-bottom: 0.5em; }
.slide-text { font-size: 1.2rem; max-width: 34em; margin: 0 0 1.5rem; color: #e3eaff; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.7); background: rgba(11, 23, 65, 0.55); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; }
.slider-btn:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }
.slider-dots { position: absolute; bottom: 1rem; left: 0; right: 0; display: flex; justify-content: center; gap: 0.6rem; z-index: 2; }
.slider-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider-dot.is-active { background: var(--saffron); border-color: var(--saffron); }
@media (max-width: 600px) { .slider-btn { display: none; } }

/* Reviews */
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 86%); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.review { margin: 0; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--saffron); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.stars { margin: 0 0 0.6rem; color: var(--saffron); font-size: 1.25rem; letter-spacing: 0.15em; }
.review-text { margin: 0 0 1.2rem; padding: 0; border: 0; color: var(--ink); flex: 1; }
.review-text p { margin: 0 0 0.7em; }
.review-by { display: flex; align-items: center; gap: 0.8rem; }
.review-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.review-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 800; }
.review-meta { display: flex; flex-direction: column; line-height: 1.35; }
.review-meta span { color: var(--muted); font-size: 0.92rem; }
.review-project { margin: 1rem 0 0; font-weight: 600; }
.admin-hint { background: #fff8e1; border: 1px dashed var(--saffron); padding: 0.8rem 1rem; border-radius: var(--radius); margin: 0; }

/* Order */
.order-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.order-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.order-form p { margin: 0 0 1rem; }
.order-form label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 0.8rem 1rem; border-radius: var(--radius); margin: 0 0 1.25rem; font-weight: 500; }
.notice-ok { background: #e6f6ec; border: 1px solid #7cc79a; color: #14532d; }
.notice-error { background: #fdecec; border: 1px solid #e59a9a; color: #7f1d1d; }
@media (max-width: 800px) { .order-inner { grid-template-columns: 1fr; gap: 2rem; } }
.order-link-wrap { margin: 0.9rem 0 0 !important; }
.order-link { font-weight: 700; color: var(--teal-d); }
.service .order-link-wrap { margin-top: 0.4rem !important; }
