/* ===================================
    Crafto - Freelancer
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* variable */
:root {     
    --base-color: #c2001c;
    --light-medium-gray:#e9e9e9;
    --primary-font: 'Inter', sans-serif;
    --alt-font: 'Inter', sans-serif;
}
body {
    font-size: 17px;
    line-height: 30px;
    color:var(--dark-gray);
}
section {
    padding-top: 90px;
    padding-bottom: 90px;
}
/* bg sliding line */
.bg-sliding-line {
    background-image: linear-gradient(135deg, transparent 45%, #9c2531 45%, #9c2531 55%, transparent 0);
    background-size: 5px 5px;
}
/* header */
.header-push-button .push-button {
    height: 8px;
}
header .navbar-brand img {
    max-height: 48px;
}
.header-push-button .push-button span:first-child {
    width: 15px;
    margin-right: 0;
}
.show-menu .header-push-button .push-button span:nth-child(1) {
    width: 15px;
    top: 0;
}
.show-menu .header-push-button .push-button span:nth-child(2) {
    top: 6px;
    -webkit-transform: rotate(0deg); 
    transform: rotate(0deg);
}
.hamburger-logo img {
    max-height: 48px;
}
.hamburger-nav {
    width: 30%;
}
.menu-item-list .nav-link {
    font-size: 45px;
    line-height: 40px;
}
/* font size */
.fs-335 {
    font-size: 20.938rem;
    line-height: 18.75rem;
}
/* margin */
.mt-minus-40px {
    margin-top: -40px;
}
/* top left right bottom */
.top-20 {
    top: 20%;
}
.top-35 {
    top: 35%;
}
.gutter-medium {
    margin-left: -7px;
    margin-right: -7px;
}
.portfolio-transform .portfolio-box .caption {
  padding: 20px 20px 10px;
}
.progress-bar-style-01 .progress .progress-bar-percent:after {
    border-top-color: #000;
}
/* bg gradient color */
.bg-gradient-top-very-light-gray { 
    background-image:linear-gradient(to top, #ffffff, #ffffff, #fcfafa, #fcfafa, #f7f7f7);
}
/* text shadow large */
.text-shadow-large {
    text-shadow: 0 20px 60px rgb(0, 0, 0, 0.15);
}
.outside-box-bottom-2 {
    margin-bottom: 0;
}
@media only screen and (max-width: 1700px) {
    .hamburger-nav { width: 35%; }
}
@media only screen and (max-width: 1600px) {
    .fs-335 { font-size: 15.625rem; line-height: 15.625rem; }
    .left-img { width: 300px; }
}
@media only screen and (max-width: 1399px) {
    .left-img { width: 250px; }
    .hamburger-nav { width: 40%; }
    .fs-335 { font-size: 12.5rem; line-height: 12.5rem; }
}
@media only screen and (max-width: 1199px) {
    .fs-335 { font-size: 10.625rem; line-height: 10.625rem; }
}
@media only screen and (max-width: 991px) {
    section { padding-top: 75px; padding-bottom: 75px; }
}
@media only screen and (max-width: 767px) {
    .fs-335 { font-size: 6.25rem; line-height: 6.25rem; }
    section { padding-top: 50px; padding-bottom: 50px; }
}


/* =============================================
   HERO SECTION
   ============================================= */
#home {
    position: relative;
    background: none !important;
    padding-bottom: 120px; 
}


/* =============================================
   TESTIMONIALS
   ============================================= */

.t-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 0;
    align-items: start;
}
@media (max-width: 991px) { .t-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 575px) { .t-grid { grid-template-columns: 1fr; gap: 16px; } }

.t-card {
    background: #fff;
    border: 1px solid var(--light-medium-gray);
    border-top: 3px solid var(--light-medium-gray);
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-top-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.t-card:hover {
    border-top-color: var(--base-color);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
@media (max-width: 575px) { .t-card { padding: 28px 24px 24px; } }

.t-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.t-stars { display: flex; gap: 2px; align-items: center; }
.t-stars span { font-size: 15px; color: var(--base-color); line-height: 1; }
.t-quote-mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 52px; line-height: 0.8;
    color: var(--light-medium-gray);
    font-weight: 900; user-select: none;
}
.t-text {
    font-size: 15px; line-height: 1.8; color: #555;
    flex: 1; margin-bottom: 28px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.t-text.expanded { display: block; overflow: visible; -webkit-line-clamp: unset; }
.t-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--light-medium-gray); margin-top: auto; }
.t-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--base-color); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; letter-spacing: -0.5px; flex-shrink: 0;
}
.t-author-name { font-size: 14px; font-weight: 700; color: #1a1a1a; display: block; line-height: 1.3; margin-bottom: 2px; }
.t-author-role { font-size: 12px; color: #999; display: block; line-height: 1.4; }
.t-linkedin { margin-left: auto; flex-shrink: 0; color: #c8c8c8; font-size: 18px; text-decoration: none; transition: color 0.2s; display: flex; align-items: center; }
.t-linkedin:hover { color: #0a66c2; }
.t-bottom-strip {
    margin-top: 56px; padding-top: 40px;
    border-top: 2px solid var(--light-medium-gray);
    display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px;
}
.t-bottom-stat { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.t-stat-num { font-size: 2.6rem; font-weight: 900; letter-spacing: -3px; color: #1a1a1a; line-height: 1; white-space: nowrap; }
.t-stat-num span { color: var(--base-color); }
.t-stat-label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #aaa; max-width: 100px; line-height: 1.4; }
.t-bottom-cta {
    display: inline-flex; align-items: center; gap: 8px;
    color: #1a1a1a; text-decoration: none;
    font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    border-bottom: 2px solid var(--light-medium-gray); padding-bottom: 3px;
    margin-left: auto; transition: border-color 0.2s, color 0.2s; flex-shrink: 0;
}
.t-bottom-cta:hover { color: var(--base-color); border-color: var(--base-color); }
@media (max-width: 767px) {
    .t-bottom-strip { gap: 20px 24px; }
    .t-bottom-cta { margin-left: 0; flex-basis: 100%; padding-top: 20px; border-top: 1px solid var(--light-medium-gray); }
}
@media (max-width: 400px) {
    .t-bottom-stat { flex-basis: calc(50% - 12px); }
    .t-stat-num { font-size: 2rem; }
}
.t-read-more {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--base-color); background: none; border: none; padding: 0;
    cursor: pointer; margin-bottom: 24px; font-family: inherit; transition: opacity 0.2s;
}
.t-read-more:hover { opacity: 0.7; }
.t-read-more i { font-size: 14px; transition: transform 0.25s; }
.t-read-more.open i { transform: rotate(180deg); }


/* =============================================
   ABOUT INTRO SECTION 
   ============================================= */

#about-intro .overlap-section .fs-335 {
    pointer-events: none;
    user-select: none;
}
#about-intro .overlap-section {
    margin-top: 20px;
}

/* Section label */
.ai-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.ai-label-row span:first-child {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--base-color);
}
.ai-label-row span:last-child {
    font-size: 14px;
    font-weight: 700;
    color: var(--base-color);
}

/* Two-column grid */
.ai-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 56px 80px;
    align-items: start;
}

/* Eyebrow */
.ai-tagline-eyebrow {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 14px;
}

/* Headline */
.ai-headline {
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #0a0a0a;
    margin: 0 0 22px;
}


.ai-headline em {
    font-style: normal;
    color: var(--base-color);
}

/* Body copy*/
.ai-bio {
    font-size: 17px;
    line-height: 30px;
    color: #555;
    font-weight: 400;
    margin: 0 0 36px;
    max-width: 380px;
}

/* Stat grid */
.ai-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e4e4e4;
    border-left: 1px solid #e4e4e4;
}

.ai-stat {
    padding: 20px 20px 18px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    position: relative;
    overflow: hidden;
}

.ai-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--base-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ai-stat:hover::before { transform: scaleX(1); }

/* Label */
.ai-stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
    display: block;
    margin-bottom: 6px;
}

/* Value */
.ai-stat-val {
    font-size: 15px;
    font-weight: 600;
    color: #0a0a0a;
    display: block;
    line-height: 1.4;
}

/* Pillars */
.ai-pillars {
    display: flex;
    flex-direction: column;
}

.ai-pillar {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 24px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}
.ai-pillar:first-child { border-top: 1px solid #e8e8e8; }

.ai-pillar::before {
    content: '';
    position: absolute;
    left: -1px; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 2px; height: 55%;
    background: var(--base-color);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
}
.ai-pillar:hover::before { transform: translateY(-50%) scaleY(1); }

/* Index number */
.ai-pillar-index {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--base-color);
    padding-top: 3px;
    white-space: nowrap;
}

/* Pillar title */
.ai-pillar-name {
    font-size: 18px;
    font-weight: 600;
    color: #0a0a0a;
    margin: 0 0 8px;
    line-height: 1.3;
}

/* Pillar body */
.ai-pillar-text {
    font-size: 17px;
    line-height: 30px;
    color: #555;
    font-weight: 400;
    margin: 0;
}


.ai-footer-strip {
    display: flex;
    align-items: center;       
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 36px 0 16px;
    margin-top: 16px;
    border-top: 1px solid #e8e8e8;
}

.ai-footer-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;             
    border-radius: 50%;
    background: var(--base-color);
    flex-shrink: 0;
   
}

.ai-footer-quote {
    font-size: 17px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: #888;
    flex: 1;
    min-width: 160px;
    margin: 0;                 
}

.ai-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid var(--light-medium-gray);
    padding-bottom: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s, border-color 0.2s;
}
.ai-footer-cta:hover { color: var(--base-color); border-color: var(--base-color); }
.ai-footer-cta i { font-size: 13px; transition: transform 0.2s; }
.ai-footer-cta:hover i { transform: translate(2px, -2px); }

/* Responsive */
@media only screen and (max-width: 991px) {
    .ai-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .ai-bio { max-width: 100%; }
}

@media only screen and (max-width: 575px) {
    .ai-headline { font-size: 1.55rem; letter-spacing: -0.5px; }
    .ai-bio { font-size: 16px; line-height: 1.75; }
    .ai-pillar { grid-template-columns: 60px 1fr; gap: 0 14px; }
    .ai-pillar-name { font-size: 16px; }
    .ai-pillar-text { font-size: 15px; line-height: 1.7; }
    .ai-footer-strip { gap: 10px 16px; padding: 28px 0 12px; }
    .ai-footer-quote { font-size: 15px; }
    .ai-footer-cta { flex-basis: 100%; margin-top: 4px; }
}

/* ===== Services Image Fix ===== */
#expertise .atropos {
    max-width: 520px;
    margin: 0 auto;
}

#expertise .atropos-inner {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Image itself */
#expertise img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5; /* keeps it structured */
    display: block;
    transition: transform 0.6s ease;
}

/* subtle hover (feels premium) */
#expertise .atropos:hover img {
    transform: scale(1.05);
}
@media (max-width: 991px) {
    #expertise .atropos {
        max-width: 100%;
    }

    #expertise img {
        aspect-ratio: 4 / 3;
    }
}

/* =============================================
   MOBILE-ONLY FIXES — max-width: 575px
   ============================================= */

@media only screen and (max-width: 575px) {
  section { padding-top: 60px !important; padding-bottom: 60px !important; }

  section#home, section#home.full-screen, section.full-screen {
    height: auto !important; min-height: 0 !important;
    padding-top: 140px !important; padding-bottom: 50px !important;
  }
  section#home .col-xl-6.col-lg-8 { padding-top: 0 !important; }
  section#home .row.align-items-start { flex-direction: column !important; align-items: flex-start !important; gap: 0 !important; }
  section#home .fs-150, section#home .sm-fs-120 { font-size: 5rem !important; line-height: 1 !important; letter-spacing: -3px !important; }
  section#home .top-minus-40px { top: -10px !important; }
  section#home .fs-19 { font-size: 15px !important; line-height: 1.55 !important; width: 90% !important; }
  section#home .hero-mockup-zone { display: none !important; }
  section#home .position-absolute.top-20, section#home .position-absolute.top-50 { display: none !important; }

  .fs-335 { font-size: 4.5rem !important; line-height: 1 !important; letter-spacing: -2px !important; }

  #about-intro .col-xl-4, #about-intro .col-lg-5 { margin-bottom: 32px !important; }
  #about-intro .w-85 { width: 100% !important; }
  #about-intro .border-bottom.mb-30px { margin-bottom: 24px !important; padding-bottom: 24px !important; }
  #about-intro .row-cols-lg-4 .col { margin-bottom: 20px !important; }

  #work { padding-top: 60px !important; }
  .gutter-medium { margin-left: -4px !important; margin-right: -4px !important; }
  .portfolio-transform .portfolio-box .caption { padding: 14px 14px 10px !important; }
  .portfolio-transform .portfolio-box .caption .fs-17 { font-size: 15px !important; }

  section.overflow-hidden.position-relative.half-section { padding-top: 0 !important; padding-bottom: 0 !important; }
  section.overflow-hidden.position-relative.half-section .swiper-slide div { font-size: 4.5rem !important; letter-spacing: -3px !important; }

  .outside-box-bottom-2 { margin-bottom: 0 !important; }
  #expertise .col-lg-5 { margin-top: 32px !important; margin-bottom: 0 !important; }
  #expertise .w-90 { width: 100% !important; }

  #testimonials { padding-top: 60px !important; padding-bottom: 60px !important; }
  .t-grid { gap: 20px !important; }
  .t-card { padding: 24px 20px 20px !important; }
  .t-text { font-size: 14px !important; line-height: 1.75 !important; margin-bottom: 20px !important; }
  .t-bottom-strip { margin-top: 40px !important; padding-top: 32px !important; gap: 16px 20px !important; }
  .t-stat-num { font-size: 2rem !important; letter-spacing: -2px !important; }

  footer#contact { padding-top: 60px !important; padding-bottom: 40px !important; }
  footer .fs-70 { font-size: 2rem !important; line-height: 1.2 !important; letter-spacing: -1px !important; margin-bottom: 20px !important; }
  footer .d-inline-block a { font-size: 16px !important; line-height: 1.3 !important; word-break: break-all !important; }
  footer .d-inline-block i.bi-envelope { font-size: 22px !important; margin-right: 6px !important; vertical-align: middle !important; }
  footer .border-top.pt-30px { padding-top: 24px !important; margin-top: 32px !important; }
  footer .elements-social ul { justify-content: flex-start !important; margin-top: 20px !important; }
  footer .row.g-0.pb-30px { padding-bottom: 24px !important; margin-top: 8px !important; }
  footer nav.footer-nav ul { gap: 12px 20px !important; }
  footer > img, footer .container > img { display: none !important; }

  .d-inline-block i.bi-envelope { font-size: 28px !important; margin-right: 6px !important; }
  .d-inline-block a { font-size: 20px !important; line-height: 1.2; }
}
