/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */
















 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

body{
    margin:0;
    padding:0;
    font-family:Arial, sans-serif;
}

.testimonial-section{
    padding:100px 0;
    background:#f5f7f9;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.testimonial-heading{
    text-align:center;
    margin-bottom:60px;
}

.sub-title{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#edf3f2;
    padding:12px 25px;
    border-radius:40px;
    color:#d4a514;
    font-weight:700;
    font-size:14px;
    margin-bottom:20px;
}

.testimonial-heading h2{
    font-size:52px;
    line-height:1.3;
    color:#111827;
    margin:0;
    font-weight:700;
}

.testimonial-card{
    background:#edf3f2;
    border-radius:35px;
    padding:50px;
    display:flex;
    align-items:center;
    gap:50px;
    position:relative;
    overflow:hidden;
}

.testimonial-image{
    width:35%;
    position:relative;
    text-align:center;
}

.testimonial-image img{
    width:300px;
    height:300px;
    object-fit:cover;
    border-radius:20%;
    border:10px solid #fff;
}

.rating-box{
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    background:#fff;
    padding:12px 25px;
    border-radius:40px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.rating-box i{
    color:#f5b301;
    margin:0 2px;
}

.testimonial-content{
    width:65%;
}

.quote-icon{
    font-size:70px;
    color:#4f7ff0;
    margin-bottom:20px;
}

.testimonial-content p{
    font-size:28px;
    line-height:1.8;
    color:#222;
    margin-bottom:40px;
}

.client-info h4{
    font-size:30px;
    margin:0 0 10px;
    color:#111;
}

.client-info span{
    font-size:18px;
    color:#666;
}

.owl-nav{
    margin-top:40px;
    text-align:center;
}

.owl-nav button{
    width:55px;
    height:55px;
    border-radius:50% !important;
    border:2px solid #4f7ff0 !important;
    background:#fff !important;
    margin:0 10px;
    font-size:20px !important;
}

.owl-nav button:hover{
    background:#4f7ff0 !important;
    color:#fff !important;
}

@media(max-width:991px){

.testimonial-card{
    flex-direction:column;
    text-align:center;
    padding:40px 25px;
}

.testimonial-image,
.testimonial-content{
    width:100%;
}

.testimonial-heading h2{
    font-size:38px;
}

.testimonial-content p{
    font-size:20px;
}

.testimonial-image img{
    width:220px;
    height:220px;
}

}


/*==============================
    TESTIMONIAL SECTION CSS
================================*/

.testimonial {
    padding: 100px 0;
    background: #f7f8fc;
}

.mt-100 {
    margin-top: 100px;
}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.col-lg-5 {
    width: 41.666%;
}

.col-lg-7 {
    width: 58.333%;
}

.col-12 {
    width: 100%;
}

/* LEFT SIDE */

.section-headings-sticky {
    position: sticky;
    top: 120px;
}

.subheading-bg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 18px;
    font-weight: 600;
    color: #5d6470;
    margin-bottom: 25px;
}

.subheading-bg svg {
    color: #111827;
}

.heading {
    font-size: 62px;
    line-height: 1.15;
    font-weight: 700;
    color: #111827;
    margin: 0;
    max-width: 450px;
}

/* RIGHT SIDE */

.testimonial-card-inner {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.card-testimonial {
    background: #ffffff;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.card-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card-testimonial .text {
    font-size: 27px;
    line-height: 1.7;
    color: #111827;
    margin: 0;
    font-weight: 400;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .col-lg-5,
    .col-lg-7 {
        width: 100%;
    }

    .section-headings-sticky {
        position: relative;
        top: 0;
        margin-bottom: 50px;
    }

    .heading {
        font-size: 42px;
        max-width: 100%;
    }

    .card-testimonial .text {
        font-size: 20px;
    }
}

@media (max-width: 767px) {

    .testimonial {
        padding: 70px 0;
    }

    .heading {
        font-size: 34px;
    }

    .card-testimonial {
        padding: 30px 25px;
    }

    .card-testimonial .text {
        font-size: 18px;
        line-height: 1.6;
    }

    .subheading-bg {
        font-size: 15px;
        padding: 8px 18px;
    }
}

.back 
{
    background-color: #f5b301 !important;
    border-radius: 6px !important;
    display: inline-block;
    padding: 4px 12px;
    color: #ffffff !important;
    
}


