/**
Theme Name: ContentOcean
Author: Tushar Bhambare
Author URI: https://contentocean.in
Description: Developed by ContentOcean Infotech Private Limited.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: contentocean
Template: astra
*/

/* ==========================================================================
   ContentOcean – small helpers for the Elementor build (colours come from
   the Elementor Kit / Astra palette, not from here)
   ========================================================================== */
.co-eyebrow .elementor-heading-title { text-transform: uppercase; letter-spacing: 0.05em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor p { margin-bottom: 0; }
/* FAQ accordion answers: no extra space under the last paragraph */
.elementor-accordion .elementor-tab-content p:last-child { margin-bottom: 0; }

/* Cards: hairline border, gentle 2px lift on hover only */
.co-card { transition: border-color 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out; }
.co-card:hover { border-color: var(--e-global-color-primary); box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06); transform: translateY(-2px); }
.co-card-link { height: 100%; }

/* Check lists and contact rows */
.co-check .elementor-icon-box-title { display: none; }
.co-check .elementor-icon-box-description { color: var(--e-global-color-co_ink); }
.co-contact .elementor-icon-box-title { margin-bottom: 2px; }

/* Testimonials: divider above the person */
.co-testimonial .elementor-testimonial { display: flex; flex-direction: column; gap: 20px; }
.co-testimonial .elementor-testimonial__footer { border-top: 1px solid var(--e-global-color-co_border); padding-top: 16px; }
.co-testimonial .elementor-testimonial__image img { width: 48px; height: 48px; border: 1px solid var(--e-global-color-co_border); object-fit: cover; }

/* Footer links */
.co-footer-links a { color: #CBD5E1; text-decoration: none; line-height: 2; transition: color 150ms ease-out; }
.co-footer-links a:hover { color: #FFFFFF; }
.co-footer-text p { margin: 0; }

/* Fluent Form: match the Stitch inputs */
.co-enquiry .frm-fluent-form .ff-el-form-control { border: 1px solid var(--e-global-color-co_border); border-radius: 6px; padding: 12px 14px; background: #fff; font-family: "PT Sans", sans-serif; font-weight: 400; font-size: 16px; color: var(--e-global-color-text); box-shadow: none; }
.co-enquiry .frm-fluent-form .ff-el-form-control:focus { border-color: var(--e-global-color-primary); outline: 2px solid rgba(37, 99, 235, 0.25); outline-offset: 0; }
.co-enquiry .frm-fluent-form .ff-el-input--label label { font-family: "PT Sans", sans-serif; font-weight: 700; font-size: 14px; color: var(--e-global-color-co_ink); margin-bottom: 6px; }
.co-enquiry .frm-fluent-form .ff-btn-submit { font-family: "PT Sans", sans-serif; line-height: 20px; background: var(--e-global-color-primary); color: #fff; border-radius: 6px; padding: 12px 24px; font-weight: 700; font-size: 15px; transition: background-color 150ms ease-out; }
.co-enquiry .frm-fluent-form .ff-btn-submit:hover { background: var(--e-global-color-secondary); color: #fff; }
.co-enquiry .ff-t-container { gap: 16px; }
@media (max-width: 767px) { .co-enquiry .ff-t-container { flex-direction: column; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .co-card, .co-card:hover { transition: none; transform: none; } }
.co-chip .elementor-heading-title { white-space: nowrap; }
.elementor-widget.co-footer-links a { color: #CBD5E1; }
.elementor-widget.co-footer-links a:hover { color: #FFFFFF; }

/* ==========================================================================
   Full-width section backgrounds (reusable on every page)
   Backgrounds run edge to edge; content stays inside the Elementor 1200px
   container. Astra's content wrapper (.site-content > .ast-container) must not narrow the
   page, so it is released on pages that use the Elementor full-width template.
   The header keeps its own .ast-container (set to 1200px in Astra).
   ========================================================================== */
.page-template-elementor_header_footer .site-content > .ast-container,
.page-template-elementor_canvas .site-content > .ast-container,
.ast-page-builder-template .site-content > .ast-container,
.elementor-page.ast-no-sidebar .site-content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.page-template-elementor_header_footer #primary,
.page-template-elementor_header_footer #content { margin: 0; padding: 0; }
html, body { overflow-x: clip; }

/* ==========================================================================
   Trusted By: slow, continuous right-to-left logo strip
   ========================================================================== */
.co-marquee {
	overflow: hidden;
	width: 100%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.co-marquee-track { flex-wrap: nowrap; width: max-content; will-change: transform; --co-logo-h: 40px; --co-logo-gap: 72px; --co-speed: 78s; }
.co-marquee-track.is-running { animation: co-marquee var(--co-speed) linear infinite; }
.co-marquee:hover .co-marquee-track,
.co-marquee:focus-within .co-marquee-track { animation-play-state: paused; }
.co-logo { flex: 0 0 auto; width: auto; margin-right: var(--co-logo-gap); }
.co-logo img { height: var(--co-logo-h); width: auto; max-width: none; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: opacity 150ms ease-out, filter 150ms ease-out; }
.co-logo:hover img { filter: none; opacity: 1; }
/* Wide wordmarks (Samsung, Tarun Bharat) look larger than the rest at the same height, so they are shown a little smaller and centred on the strip */
.co-marquee-track { align-items: center; }
.co-logo img[src*="co-logo-samsung"], .co-logo img[src*="co-logo-tarun-bharat"] { height: calc(var(--co-logo-h) * 0.78); }
@keyframes co-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 1024px) { .co-marquee-track { --co-logo-h: 36px; --co-logo-gap: 56px; --co-speed: 71s; } }
@media (max-width: 767px)  { .co-marquee-track { --co-logo-h: 30px; --co-logo-gap: 44px; --co-speed: 56s; } }
@media (prefers-reduced-motion: reduce) {
	.co-marquee { -webkit-mask-image: none; mask-image: none; }
	.co-marquee-track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 20px; animation: none !important; }
	.co-logo { margin-right: 32px; }
}

/* Header: background edge to edge; logo, menu and button sit inside the same
   1200px column and side padding (24px, 20px on phones) as the page sections. */
@media (min-width: 768px) {
	.ast-primary-header-bar .ast-container { max-width: 1248px; padding-left: 24px; padding-right: 24px; }
	body.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar { padding-left: 24px; padding-right: 24px; }
}

/* ==========================================================================
   Portfolio filter pills and hidden cards (Our Work)
   ========================================================================== */
.co-project.co-hidden { display: none !important; }
.elementor-element.co-filter .elementor-button { transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out; }
.elementor-element.co-filter.is-active .elementor-button { background-color: var(--e-global-color-primary) !important; border-color: var(--e-global-color-primary) !important; color: #fff !important; }

/* Footer: clickable phone/email keep the approved footer text look */
.elementor-widget.co-footer-text a { color: #CBD5E1; text-decoration: none; }
.elementor-widget.co-footer-text a:hover, .elementor-widget.co-footer-text a:focus-visible { color: #FFFFFF; }
/* Footer social icons: minimal, same size and alignment */
.elementor-widget.co-footer-social .elementor-social-icon { background-color: transparent; width: auto; height: auto; padding: 8px; line-height: 1; }
.elementor-widget.co-footer-social .elementor-social-icon i { color: #CBD5E1; font-size: 20px; }
.elementor-widget.co-footer-social .elementor-social-icon:hover i, .elementor-widget.co-footer-social .elementor-social-icon:focus-visible i { color: #FFFFFF; }
.elementor-widget.co-footer-social .elementor-social-icons-wrapper { display: flex; justify-content: flex-start; gap: 8px; margin-left: -8px; }
.elementor-widget.co-footer-social .elementor-grid-item { margin: 0; }
/* Homepage contact block: clickable phone/email */
.co-contact .elementor-icon-box-description a { color: inherit; text-decoration: none; }
.co-contact .elementor-icon-box-description a:hover { color: var(--e-global-color-primary); }
/* About Us, Meet Our Team: desktop shows 5 + 5 + 2 centred cards. Tablet and mobile keep the normal grid. */
.co-team-grid > a.e-con { text-decoration: none; color: inherit; }
@media (min-width: 1025px) {
  .co-team-grid.e-con.e-grid { grid-template-columns: repeat(10, minmax(0, 1fr)) !important; }
  .co-team-grid > .e-con { grid-column: span 2; }
  .co-team-grid > .e-con:nth-child(11) { grid-column: 4 / span 2; }
  .co-team-grid > .e-con:nth-child(12) { grid-column: 6 / span 2; }
}

/* Join Our Team: skill tags sit side by side and only as wide as their text */
.co-job-card .co-tag { width: auto !important; flex: 0 0 auto; }

/* About Us team: invitation cards show a blue "button" look. The whole card is already the link, so this is plain text styled as a button (no nested link). */
.co-team-grid .co-team-cta { margin-top: 10px; text-align: center; }
.co-team-grid .co-team-cta .elementor-heading-title { display: inline-block; background: var(--e-global-color-primary); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; padding: 9px 18px; border-radius: 6px; transition: background-color 150ms ease-out; }
.co-team-grid a.e-con:hover .co-team-cta .elementor-heading-title, .co-team-grid a.e-con:focus-visible .co-team-cta .elementor-heading-title { background: var(--e-global-color-secondary); }
@media (prefers-reduced-motion: reduce) { .co-team-grid .co-team-cta .elementor-heading-title { transition: none; } }

/* About Us team: names, designations and the invitation button are centred in all 12 cards */
.co-team-grid .elementor-widget-heading, .co-team-grid .elementor-widget-text-editor { text-align: center; }
.co-team-grid .elementor-widget-heading .elementor-heading-title { text-align: center; }

/* Typography standard: text buttons are 15px / 700 / 20px PT Sans on every screen size.
   Astra sets button size in rem (16px, and 14.6px at 921px and below because its root is 91.2%), so px is set here.
   Selectors are one level more specific than Astra's, so no !important is needed. */
body .elementor-widget-button .elementor-button,
body .ast-header-button-1 .ast-builder-button-wrap .ast-custom-button { font-family: "PT Sans", sans-serif; font-size: 15px; font-weight: 700; line-height: 20px; }

/* Legal pages (Privacy Policy, Terms & Conditions): readable lists and links */
.co-legal .elementor-widget-text-editor ul { margin: 0 0 0 1.25em; padding: 0; }
.co-legal .elementor-widget-text-editor li { margin: 0 0 4px; }
.co-legal .elementor-widget-text-editor a { color: var(--e-global-color-primary); }
.co-legal .elementor-widget-text-editor code { font-family: inherit; font-size: inherit; background: none; padding: 0; }
/* Form privacy acknowledgement: Body Small, muted */
.co-enquiry .frm-fluent-form .co-privacy-note p { margin: 0; font-size: 14px; line-height: 22px; color: var(--e-global-color-text); opacity: 1; }
.co-enquiry .frm-fluent-form .co-privacy-note a { color: var(--e-global-color-primary); }

/* Footer bottom row: keep "Privacy Policy | Terms & Conditions" on one line */
.co-footer-legal-links p { white-space: nowrap; }
