:root {
  --primary-dark: #0538c9;
  --brand-purple: #9a28e6;
  --light-blue: #849aff;
  --yellow: #c6bb23;
  --off-white: #f7f7f7;
  --pure-white: #ffffff;
}

body {
  background-color: var(--off-white);
  color: var(--primary-dark);
  font-family: "Open Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-family: "Jost", sans-serif;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--off-white) !important;
}

.section-title h2 {
    color: var(--primary-dark);
}

.section-title h2::after {
    background: var(--yellow);
}

/* Hero Section */
#hero {
  background: var(--pure-white) !important;
  height: auto !important;
  padding: 100px 0;
}

#hero h1 {
  color: var(--primary-dark);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
}

#hero h2 {
  color: var(--primary-dark);
  opacity: 0.8;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 30px;
}

#hero .btn-get-started {
  background: var(--primary-dark);
  color: var(--pure-white);
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 600;
  transition: 0.3s;
}

#hero .btn-get-started:hover {
  background: #042db0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 56, 201, 0.2);
}

#hero .btn-get-started.ml-3 {
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

#hero .btn-get-started.ml-3:hover {
    background: rgba(5, 56, 201, 0.05);
}

/* Header */
#header {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(5, 56, 201, 0.06);
}

#header .logo img {
    max-height: 50px;
}

#header .nav-menu a {
  color: var(--primary-dark) !important;
  font-weight: 500;
}

#header .nav-menu .active > a, 
#header .nav-menu a:hover {
  color: var(--primary-dark) !important;
}

#header .nav-menu .active > a::before, 
#header .nav-menu a:hover::before {
    background: var(--yellow) !important;
}

#header .get-started-btn {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

#header .get-started-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

#header .nav-badge {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

#header .nav-badge span {
    background: var(--yellow);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Statistics */
.stats {
    background: var(--off-white);
}

.stats .counters span {
  color: var(--primary-dark);
  font-size: 48px;
  font-weight: 700;
  display: block;
}

.stats .counters p {
    color: var(--primary-dark);
    font-size: 16px;
    margin-top: 10px;
}

/* Why Irshad Section */
#why-irshad {
    background: var(--pure-white);
}

#why-irshad .content {
    background: rgba(132, 154, 255, 0.08); /* Light blue tint */
    padding: 40px;
    border-radius: 24px;
    border-left: 5px solid var(--yellow);
}

#why-irshad p {
    font-size: 18px;
    line-height: 1.8;
}

/* Service Boxes (What We Do) */
.services .icon-box {
  background: var(--pure-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(5, 56, 201, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(132, 154, 255, 0.1);
}

.services .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(5, 56, 201, 0.1);
}

.services .icon-box .icon i {
  color: var(--yellow);
  font-size: 36px;
}

.services .icon-box h4 a {
    color: var(--primary-dark);
    font-weight: 700;
}

.services .icon-box p {
    font-size: 15px;
    color: var(--primary-dark);
    opacity: 0.9;
}

.services .icon-box ul li {
    font-size: 14px;
    margin-bottom: 8px;
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.services .icon-box ul li::before {
    content: "•";
    color: var(--yellow);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Portfolio / Services Grid */
.portfolio .portfolio-item .portfolio-info {
    background: rgba(255, 255, 255, 0.9);
}

.portfolio #portfolio-flters li {
    color: var(--primary-dark);
}

.portfolio #portfolio-flters li.filter-active {
    background: var(--primary-dark);
    color: #fff;
}

/* CTA Section */
.cta {
    background: var(--light-blue);
}

.cta .cta-btn {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

.cta .cta-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    border: 2px solid var(--primary-dark);
}

/* Team Section */
.team .member {
    background: #fff;
    box-shadow: 0px 2px 15px rgba(5, 56, 201, 0.06);
    border-radius: 16px;
}

.team .member .member-info h4 {
    color: var(--primary-dark);
}

.team .member .social a {
    background: var(--off-white);
    color: var(--primary-dark);
}

.team .member .social a:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Contact Section */
.contact .info {
    border-top: 3px solid var(--primary-dark);
    border-bottom: 3px solid var(--primary-dark);
}

.contact .info i {
    color: var(--primary-dark);
    background: var(--off-white);
}

.contact .info i:hover {
    background: var(--primary-dark);
    color: #fff;
}

.contact .php-email-form button[type="submit"] {
    background: var(--primary-dark);
}

/* Footer */
#footer {
  background: var(--off-white);
  color: var(--primary-dark);
}

#footer .footer-top {
  background: var(--pure-white);
  border-top: 4px solid var(--yellow);
}

#footer .footer-top .footer-contact h3 {
    color: var(--primary-dark);
}

#footer .footer-top h4 {
    color: var(--primary-dark);
}

#footer .footer-links ul i {
    color: var(--yellow);
}

#footer .footer-links ul a {
    color: var(--primary-dark);
    opacity: 0.85;
}

#footer .footer-links ul a:hover {
    color: var(--primary-dark);
    opacity: 1;
}

#footer .footer-bottom {
    background: var(--off-white);
    border-top: 1px solid rgba(5, 56, 201, 0.08);
    color: var(--primary-dark);
}

#footer .footer-contact a {
    color: var(--primary-dark);
    text-decoration: underline;
}

#footer .social-links a {
    background: var(--off-white);
    color: var(--primary-dark);
    transition: 0.3s;
}

#footer .social-links a:hover {
    background: var(--primary-dark);
    color: var(--pure-white);
}

.back-to-top i {
    background: var(--primary-dark);
}

/* RTL Specific */
[dir="rtl"] #why-irshad .content {
    border-left: none;
    border-right: 5px solid var(--yellow);
}

[dir="rtl"] .services .icon-box ul li {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .services .icon-box ul li::before {
    left: auto;
    right: 0;
}
