/*
Theme Name: PRSM Agency Theme
Theme URI: https://example.com/prsm-agency-theme
Author: Rahat Yasmin
Author URI: https://yourwebsite.com
Description: A custom WordPress theme for the PRSM Agency website.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-layout, one-column, responsive-layout
Text Domain: prsm-agency
*/

/* ------------------ */
/* 1. Global Styles */
/* ------------------ */

@font-face {
    font-family: "Whitney";
    src: url("fonts/WhitneySSmBook.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Canela";
    src: url("fonts/Canela-Light-Trial.otf") format("opentype");
    font-weight: 300; 
    font-style: normal;
}

body {
    font-family: 'Whitney', 'Times New Roman', serif;
    color: #313131;
    background-color: #f3eee7;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Canela', 'Times New Roman', serif;
}
img.name-icon {
    width: 90px !important;
    margin-left: 5px;
}
p.form-row {
    text-align: left;
}
.btn:hover {
    background-color: #e6e1db;
}
a.navbar-brand.spark-logo img {
    width: 35px;
    margin-right: 5px;
}
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #6b7076;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-70%, -70%);
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s;
    z-index: 9999;
  }
button {
    padding: 10px;
    border-radius: 6px;
}
a.nav-link {
    color: #313131 !important;
}
/* ------------------ */
/* 2. Navigation */
/* ------------------ */

.navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Subtle separator */
    background-color: #f3eee7;
}

/* Changed spark-logo to prsm-logo for clarity, though spark-logo works too */
.spark-logo { 
    color: #313131;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    padding-left: 0;
    display: flex;
    align-items: center;
}
.wpcf7-submit {
    margin: auto;
    width: 280px;
    font-size: 20px;
    text-transform: capitalize;
    background: #000;
    color: #fff;
    border-radius: 20px;
}
.menu-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Transition for logo */
.spark-logo svg,
#logoText {
    transition: all 0.3s ease;
}

/* Scrolled State */
.navbar.scrolled #logoText {
    opacity: 0;
    overflow: hidden;
}

.navbar.scrolled img.icon-rotate {
    transform: scale(1.7); 
}

/* Navbar background on scroll (optional) */
.navbar.scrolled {
    backdrop-filter: blur(6px);
    transition: background 0.3s ease;
}

.read-more {
    max-height: 50px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
    margin:0;
  }
  
  .read-more.expanded {
    max-height: 800px; 
  }
  
  .read-toggle-btn {
    color: #313131;
    font-family: 'Montserrat';
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

form#leadForm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
}

input {
    width: 100%;
    margin: 5px 0 20px;
    height: 48px;
    background: #ffffff69;
    border-radius: 10px;
    border: 1px solid;
}

label {
    font-size: 22px;
}

form#leadForm button {
    /* align-items: center; */
    margin: auto;
    width: 280px;
    font-size: 20px;
    text-transform: capitalize;
    background: #000;
    color: #fff;
}
a {
    text-decoration: none;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.logo-track {
    display: inline-flex;
    gap: 80px;
    animation: scroll 40s linear infinite;
}

.logo-track span {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0.8;
    white-space: nowrap;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

a.btn , button {
    border: 1px solid #313131 !important;
    color: #313131;
    padding: 10px 40px;
    border-radius: 22px;
}
button.btn.explore {
    border: 0 !important;
}
/* ------------------ */
/* 3. Hero Section */
/* ------------------ */

.hero-section {
    padding-top: 150px; /* Space for fixed navbar */
    padding-bottom: 100px;
}

/* Changed spark-large-text to prsm-large-text for clarity */
.spark-large-text { 
    font-size: 18vw; /* Responsive font size */
    line-height: 6rem;
    letter-spacing: -0.05em;
    white-space: nowrap; /* Keep it on one line if possible */
}

.intro-statement {
    font-size: clamp(1.8rem, 4vw, 3rem); /* Responsive font size */
}

/* ------------------ */
/* 5. About Section (UPDATED STYLES) */
/* ------------------ */

.about-section .section-subtitle {
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #313131;
}
.capabilities-section button {
    background: transparent;
    border: none;
}
.about-main-text {
    font-weight: 400 !important;
    font-size: clamp(2rem, 4.5vw, 3rem); /* Responsive font size */
}

.about-description {
    font-weight: 400;
    font-size: 1.1rem; /* Slightly larger for readability */
    width: 600px;
    margin: 0 auto;
    color:#313131 !important;
}

/* ------------------ */
/* 4. Features Section (NEW STYLES) */
/* ------------------ */
.features-section {
    background-color: hsl(0deg 0% 58% / 20%);
    color: #313131;
}

.features-section .feature-item {
    min-height: 250px; /* Ensure consistent height for boxes */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes icon/text to bottom, title to top */
}

.features-section .feature-item:first-child { /* Strategic Approach box */
    border-right: 1px solid #fff;
}

.features-section .feature-item.border-bottom {
    border-bottom: 1px solid #fff !important;
    border-right: 0;
}

.features-section .feature-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.features-section .feature-icon svg {
    color: #212529; /* Ensure SVG icons are dark */
    width: 60px; /* Adjust size as needed */
    height: 60px;
}

.features-section .feature-icon p {
    font-size: 1rem;
    color: #313131 !important;
    margin-top: 5px;
}

.features-section .explore {
    opacity: 0; 
    transition: opacity 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    color: #313131;
    padding: 0;
    background: none;
    border: none;
    text-align: left;
    display: block; 
    margin-top: 1.5rem;
}

.features-section .feature-item:hover .explore {
    opacity: 1; 
}

.features-section .explore:hover {
    color: #6c757d; 
    text-decoration: none;
}

.features-section .feature-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Responsive adjustments for the features section */
@media (max-width: 991.98px) { /* For Bootstrap's lg breakpoint and below */
    .features-section .feature-item:first-child {
        border-right: none; /* Remove right border on smaller screens */
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Add bottom border instead */
    }
}

/* ------------------ */
/* 6. Capabilities Section (NEW STYLES) */
/* ------------------ */

.capabilities-section {
    color: #313131;
}

.capability-card.p-5.border-end.border-bottom {
    background-color: hsl(0deg 0% 58% / 20%);
    /* color: #fff; */
    margin: 10px;
    border: 1px solid #6dd91630 !important;
    border-radius: 10px;
}

.capability-card.p-5.border-end.border-bottom:hover {
    background: #958f8f42;
}

.capabilities-intro-headline {
    font-weight: 400 !important;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.capabilities-intro-text {
    max-width: 650px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #313131 !important;
}

/* Capability Cards Grid */
/* .capabilities-grid {
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
    border-left: 1px solid rgba(0, 0, 0, 0.1); 
} */

.capability-card {
    display: flex;
    flex-direction: column;
    min-height: 350px; 
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Override Bootstrap borders to use custom colors/thickness */
.capability-card.border-end {
    border-right-color: rgba(0, 0, 0, 0.1) !important;
}

.capability-card.border-bottom {
    border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

.capability-category-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.capability-services {
    font-size: 1rem;
    line-height: 2.2;
}

.capability-services li {
    position: relative;
    padding-left: 1.5rem;
}

.capability-services li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #313131; 
    font-weight: 400;
}

.capability-icon svg {
    width: 55px;
    height: 55px;
    stroke-width: 1; /* Thinner stroke for a lighter look */
    color: #313131;
}

/* ------------------ */
/* 4. Clients Section */
/* ------------------ */

.clients-section .container.py-md-5 {
    border-bottom: 1px solid #ffffff4a;
}

.section-title {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #313131;
}
p.lead.text-muted.mx-auto {
    color: #313131 !important;
}

.client-main-text {
    font-weight: 400 !important;
}

.logo-placeholder {
    /* Style for the client logo text placeholders */
    font-size: 1.2rem;
    font-weight: 900;
    color: #313131;
    opacity: 0.8;
    display: block;
    text-align: center;
}

/* Adjustments to mimic the look of the actual logos */
.client-logos .col-4:nth-child(1) .logo-placeholder { font-size: 2.5rem; }
.client-logos .col-4:nth-child(2) .logo-placeholder { font-size: 1.7rem; font-weight: 700; }
.client-logos .col-4:nth-child(3) .logo-placeholder { font-size: 2.5rem; }

/* ------------------ */
/* 5. Footer Section */
/* ------------------ */

.footer-section {
    color: #000;
    background: hsl(0deg 0% 58% / 20%);
    font-size: 0.9rem;
}


.footer-section h5 {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
}

.footer-section .list-unstyled a {
    opacity: 0.75;
    transition: opacity 0.3s;
    line-height: 2;
}

.footer-section .list-unstyled a:hover {
    opacity: 1;
}

.footer-logo {
    color: #000;
}
section#scroll-heading {
    margin: 0;
    padding: 100px 0;
    overflow-x: hidden;
}

h1#scrollText {
    font-size: 200px;
    font-weight: bold;
    white-space: nowrap;
    transform: translateX(-50px);
    transition: transform 0.2s linear;
}
.capability-card h5 {
    margin: 20px 0 -10px;
    font-weight: 600;
}
.navbar-brand:focus, .navbar-brand:hover {
    color: #000;
}
.mb-1 {
    color: #000;
}
.col-lg-6.feature-item.p-5 {
    justify-content: center;
}
ul.dropdown-menu.show {
    border-radius: 10px;
    background: #ffffffd6;
}
body , a , a:hover , button {
    cursor: none !important;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: var(--bs-dropdown-link-hover-color);
    background-color: #f3eee7;
}
a.text-white {
    color: #000 !important;
}
a.text-white.text-decoration-none {
    line-height: 22px;
}
.logo-track img {
    height: 35px;
} 
a.text-white.text-decoration-none.d-block.mb-1 {
    height: 23px;
}
.container-fluid.px-md-5 {
    padding-top: 100px;
}
.row.mb-5.pb-4 {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
  }
  
.capability-services {
    padding-left: 16px;
}
.capability-services li {
    list-style: outside;
}
.capability-services li {
    padding-left: 1rem;
}
.capability-services li::before {
    content: "" !important;
}
.text-white-50 {
    --bs-text-opacity: 1;
    color: #000 !important;
}
.border-light {
    --bs-border-opacity: 1;
    border-color: #000 !important;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 20px;
    padding-left: 20px;
}
.icon-rotate {
    animation: spin 3s linear infinite; /* Apply the animation */
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg); /* Starting rotation */
    }
    100% {
      transform: rotate(360deg); /* Ending rotation (full circle) */
    }
  }
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .spark-large-text {
        font-size: 25vw; /* Slightly smaller on mobile */
    }
	body {
    padding: 0 20px;
}
	img.heading {
    width: 200px;
}
.about-description {
    width: 350px;
}
.custom-cursor {
    display: none;
}
    .intro-statement {
        font-size: 2rem;
    }
}