/* styles.css - FaizCreative Solutions branding "Modern Madrasa" */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

:root {
  --navy: #1A237E;
  --gold: #C5A059;
  --indigo: #3F51B5;
  --alabaster: #F5F5F5;
  --dark-warm: #2C1810;
  --white: #ffffff;
  --border-color: rgba(197, 160, 89, 0.3);
  --transition: all 0.3s ease;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  background-color: var(--alabaster);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--navy);
}

h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.15; margin-bottom: 1.5rem; }
h2 { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.25; margin-bottom: 1.5rem; }
h3 { font-size: clamp(20px, 2.5vw, 26px); margin-bottom: 1rem; }

p {
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
  padding: 100px 0;
}

.section-padding {
    padding: 100px 0;
}

.bg-white {
    background-color: #ffffff;
}

.bg-alabaster {
    background-color: var(--alabaster);
}

.text-center {
    text-align: center;
}

.section-heading {
  text-align: center;
  margin-bottom: 8px;
}

.section-heading::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 14px auto 0;
  opacity: 0.75;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 3rem;
}

.section-divider {
  padding: 0 40px;
  opacity: 0.75;
  line-height: 0;
}

/* Navbar */
.navbar {
    background: var(--alabaster);
    padding: 1.25rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar .container {
    max-width: 100%;
    width: 100%;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .brand, .nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.navbar ul {
    display: flex;
    gap: 2rem;
}

.navbar ul li a, .nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}

.navbar ul li a:hover,
.navbar ul li a.active,
.nav-link:hover,
.nav-link.active {
  border-bottom-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-manuscript.webp');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 35, 126, 0.82) 0%,
    rgba(26, 35, 126, 0.55) 50%,
    rgba(26, 35, 126, 0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 100px 80px;
  color: #ffffff;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  margin-bottom: 32px;
}

.hero-stats {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(197, 160, 89, 0.35);
  padding-top: 28px;
}

.hero-stats .stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  display: block;
}

.hero-stats .stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.metric-item .number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.metric-item .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.profile-photo-wrapper {
  background-color: var(--navy);
  border: 2px solid rgba(197, 160, 89, 0.4);
  border-radius: 50%;
  overflow: hidden;
  max-width: 280px;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.profile-photo-wrapper img, .profile-photo-wrapper .responsive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    min-width: 180px;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
  background-color: var(--navy);
  color: #ffffff;
  border: 1.5px solid var(--navy);
  padding: 12px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  border-radius: 0;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

.btn-primary:hover {
  background-color: var(--indigo);
  border-color: var(--indigo);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  padding: 12px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  border-radius: 0;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: #ffffff;
}

.hero-actions .btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.85);
  padding: 12px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  border-radius: 0;
}

.hero-actions .btn-secondary:hover {
  background-color: rgba(197, 160, 89, 0.85);
  color: #ffffff;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card,
.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 4px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(26, 35, 126, 0.07);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.card:hover,
.service-card:hover {
  border-color: rgba(197, 160, 89, 0.55);
  box-shadow: 0 4px 24px rgba(26, 35, 126, 0.12);
  transform: translateY(-5px);
}

.card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 64px;
  height: 64px;
  background-image: url('images/corner.svg');
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

.service-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(to right, #fff, #f9f9fb);
    border: 1px solid var(--gold);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card .outcome {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1rem;
}

.service-card ul {
    margin-bottom: 1.5rem;
}

.service-card ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.price-indicator {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

/* Portfolio */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
}

.filter-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.project-info {
    padding: 2rem;
}

.project-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.meta-item span {
    display: block;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 1px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(26, 35, 126, 0.07);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    width: calc(50% - 1.5rem);
}

.timeline-item:nth-child(even) {
    left: calc(50% + 1.5rem);
    text-align: left;
    width: calc(50% - 1.5rem);
}

.timeline-date {
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    display: block;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 1rem;
}

/* Trust Signals */
.trust-signals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-item {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    color: var(--gold);
}

/* Footer */
footer {
  background-color: var(--navy);
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.09'%3E%3Crect x='10' y='10' width='40' height='40' transform='rotate(45,30,30)'/%3E%3Crect x='15' y='15' width='30' height='30'/%3E%3Crect x='22' y='22' width='16' height='16' transform='rotate(45,30,30)'/%3E%3Cline x1='30' y1='0' x2='30' y2='60'/%3E%3Cline x1='0' y1='30' x2='60' y2='30'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

footer > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social a {
    font-size: 1.25rem;
    opacity: 0.7;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.6;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Client Logos */
.client-logos-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.client-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.client-grid img {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.client-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Testimonials Carousel */
.testimonial-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-height: 250px;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 4rem;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--border-color);
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--gold);
    color: var(--navy);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-button:hover {
    background: var(--gold);
    color: var(--white);
}

.carousel-button.left {
    left: 0;
}

.carousel-button.right {
    right: 0;
}

.stats-row,
.portfolio-stats,
.stat-grid,
.metric-bar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  text-align: center;
}

.stats-row .stat-item,
.portfolio-stats .stat-item,
.stat-grid .stat-item {
  text-align: center;
}

@media (max-width: 768px) {
    .carousel-item {
        padding: 0 3rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
    }
}

/* Digital Arabesque Background Motif */
.digital-arabesque {
    position: relative;
    overflow: hidden;
}

.digital-arabesque::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 400 400' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M200 40 L230 150 L340 180 L230 210 L200 320 L170 210 L60 180 L170 150 Z' stroke='%23C5A059' stroke-width='0.5' /%3E%3Ccircle cx='200' cy='180' r='120' stroke='%23C5A059' stroke-width='0.3' stroke-dasharray='2 8' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

/* Workflow Grid System */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border-top: none;
    border-left: none;
}

.workflow-step {
    padding: 3rem;
    transition: var(--transition);
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 400;
  color: #C5A059;
  opacity: 0.18;
  line-height: 1;
  display: block;
  margin-bottom: -12px;
  pointer-events: none;
  user-select: none;
}

/* Learn More Link Style */
.learn-more {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid transparent;
}

.learn-more:hover {
    border-bottom-color: var(--gold);
}

.learn-more::after {
    content: '→';
    transition: var(--transition);
}

.learn-more:hover::after {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .hero-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {

    .hero-grid,
    .contact-container,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-card.featured {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    section,
    .section-padding {
        padding: 80px 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .navbar .container {
        width: 100%;
        padding: 0 1.5rem;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .navbar ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .metric-bar {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 2rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        text-align: left !important;
        padding-left: 2rem;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .navbar .container {
        padding: 0 1.5rem;
    }

    .digital-arabesque::before {
        width: 150px;
        height: 150px;
        top: -20px;
        right: -20px;
        opacity: 0.08;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .workflow-step {
        padding: 2rem;
    }
}
.page-header {
  background-color: #1A237E;
  padding: 100px 40px 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.page-header h1,
.page-header .section-heading {
  color: #ffffff;
  margin-bottom: 8px;
}

.page-header .section-heading::after {
  background: #C5A059;
  margin: 14px auto 0;
  opacity: 0.9;
}

.page-header-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
}

.page-header + section,
.page-header + .section-divider + section {
  padding-top: 60px;
}

.about-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .about-bottom-grid {
    grid-template-columns: 1fr;
  }
}

.stats-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 48px;
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.portfolio-card img,
.project-card img,
.client-project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Portfolio & Filter Enhancements */
.filter-tabs,
.portfolio-filter,
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tab,
.filter-btn,
.filter-button {
  background-color: transparent;
  color: #1A237E;
  border: 1.5px solid rgba(26, 35, 126, 0.35);
  padding: 8px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  border-radius: 0;
}

.filter-tab:hover,
.filter-btn:hover,
.filter-button:hover {
  background-color: rgba(26, 35, 126, 0.06);
  border-color: #1A237E;
  color: #1A237E;
}

.filter-tab.active,
.filter-btn.active,
.filter-button.active {
  background-color: #1A237E !important;
  color: #ffffff !important;
  border-color: #1A237E !important;
}

.portfolio-card,
.project-card,
.client-project-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}

.portfolio-card .card-body,
.project-card .card-body,
.client-project-card .card-body {
  flex: 1;
  padding: 20px 20px 0;
}

.portfolio-card .card-meta,
.project-card .card-meta,
.client-project-card .card-meta {
  padding: 16px 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.portfolio-card .card-meta-label,
.project-card .card-meta-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #C5A059;
  display: inline;
  text-transform: capitalize;
  letter-spacing: normal;
}

.portfolio-card .card-meta-label::after,
.project-card .card-meta-label::after {
  content: ': ';
}

.portfolio-card .card-meta > div,
.project-card .card-meta > div {
  margin-bottom: 6px;
}

.portfolio-card .card-meta-value,
.project-card .card-meta-value {
  font-size: 0.85rem;
  color: #1A237E;
}

.portfolio-card .card-actions,
.project-card .card-actions,
.client-project-card .card-actions {
  padding: 20px 20px 0;
  margin-top: auto;
}

.portfolio-card .btn-action,
.project-card .btn-action,
.client-project-card .btn-action,
.portfolio-card a[class*="btn"],
.project-card a[class*="btn"],
.portfolio-card button[class*="btn"],
.project-card button[class*="btn"] {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A237E;
  border: 1px solid rgba(197, 160, 89, 0.6);
  padding: 8px 16px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}

.portfolio-card a[class*="btn"]:hover,
.project-card a[class*="btn"]:hover,
.portfolio-card button[class*="btn"]:hover,
.project-card button[class*="btn"]:hover {
  background-color: #1A237E;
  color: #ffffff;
  border-color: #1A237E;
}

.stats-container + section,
.stats-container + .section-divider + section {
  padding-top: 60px;
}

/* New helper classes to replace inline styles */
.text-center { text-align: center; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-4 { margin-top: 4rem; }
.mt-2 { margin-top: 2rem; }
.mt-1 { margin-top: 1rem; }
.p-3 { padding: 3rem; }
.p-1 { padding: 1rem; }
.w-full { width: 100%; }
.block { display: block; }
.italic { font-style: italic; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-lg { font-size: 1.5rem; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.8rem; }
.font-light { font-weight: 300; }
.border-gold { border: 0.5px solid var(--gold); }
.bg-white-pure { background-color: #ffffff; }
.border-none { border-bottom: none; }
.grid-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.grid-cols-2 { grid-template-columns: 1fr 1fr; }
.gap-1 { gap: 1rem; }

.service-form-container {
    padding: 3rem;
    border: 0.5px solid var(--gold);
    background-color: var(--alabaster);
    margin-top: 4rem;
}

.form-input-styled {
    width: 100%;
    padding: 1rem;
    border: 0.5px solid var(--gold);
    background: white;
}

.gold-stars {
    color: var(--gold);
    margin-bottom: 1rem;
}

.fixed-wa-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.fixed-wa-btn img {
    width: 3.5rem;
    height: 3.5rem;
}

.section-divider img {
    width: 100%;
    display: block;
}

.bg-light-grey {
    background: #eee;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
}

.success-message {
    display: none;
    margin-top: 1rem;
    color: green;
    font-weight: 600;
}

.featured-service-icon {
    color: var(--gold);
    opacity: 0.8;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.testimonial-container-home {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-home {
    min-height: 250px;
    display: flex;
    align-items: center;
}
