/*
Theme Name: Anecdotemen
Author: The Theme Author
Description: A custom theme for Anecdotemen.
Version: 1.0
*/

/* Home Page Css */

html                                        { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body                                        { margin: 0; overflow-x: hidden; }

/* Variable Included */
:root                                       { --bs-primary: #A4491E; --bs-font-sans-serif: "Lato", sans-serif; }

/*****common section start****/
*                                               { margin: 0px; padding: 0px; box-sizing: border-box; outline: none; }
html                                        { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body                                        { margin: 0; overflow-x: hidden; }
body                                            { font-size: 16px; line-height: 24px; font-family: "Lato", sans-serif; }
img, svg                                        { border: 0px; max-width: 100%; }
ul, ol                                          { padding-left: 0; list-style: none; margin-bottom: 0; }
a                                               { text-decoration: none; transition: all 0.5s ease; display: inline-block; }
a:hover, a:active, a:focus                      { text-decoration: none; }
a:focus, a:active, a:visited                    { outline: none; }
button                                          { border:0; background-color: transparent; }
button:focus, .navbar-toggler:focus             { outline: none; box-shadow: none; }
.navbar-toggler:focus                           { border: none; }
input:focus, .form-control:focus, 
input:active, .form-control:active              { box-shadow: none; outline: none; }

/* Typography */
h1, h2, h3, h4, h5, h6                          { font-weight: 700; }
h1 , .h1                                        { font-size: 60px; line-height: 72px; }
h2 , .h2                                        { font-size: 50px; line-height: 60px; font-weight: 700; }
h3 , .h3                                        { font-size: 34px; line-height: 42px; }
h4 , .h4                                        { font-size: 20px; line-height: 28px; }
h5 , .h5                                        { font-size: 18px; line-height: 26px; }
h6 , .h6                                        { font-size: 16px; line-height: 24px; }
p, .p                                           { font-size: 18px; line-height: 26px; }

/* Button Theme */
.btn-theme                                      { background-color: var(--bs-primary); border: 1px solid var(--bs-primary) !important; color: var(--bs-white); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; }
.btn-theme:hover                                { background-color:transparent; color: var(--bs-primary); }
.btn-theme img                                   { filter: brightness(10); }
.btn-theme:hover img { filter: none; }
/* Common Section Css End */
body:not(.home)                                           { padding-top: 100px; }
.common-padding                                 { padding: 96px; }


/* Header CSS */
.site-branding .custom-logo                     { max-width:70px ; height: auto; }
.site-header                                    { width: 100%; position: fixed; top: 0; left: 0; z-index: 999; background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.site-header .container-fluid                   { padding: 10px 96px; }
.site-header .navbar                            { padding: 0; min-height: 80px; }

/* Navigation Styles */
.navbar-nav                                     { align-items: center; gap: 30px; }
.navbar-nav .menu-item                          { position: relative; list-style: none; }
.navbar-nav .menu-item a                        { color: #333; font-weight: 500; font-size: 16px; padding: 15px 0; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; border: none; background: none; text-decoration: none; display: block; }
.navbar-nav .menu-item a:hover                  { color: #A44A1F; transform: translateY(-2px); }

.navbar-nav .menu-item.current-menu-item a      { color: #A44A1F; font-weight: 600; }
.navbar-nav .menu-item::after                   { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: linear-gradient(90deg, #A44A1F, #BF5906); transition: all 0.3s ease; transform: translateX(-50%); }
.navbar-nav .menu-item:hover::after             { width: 100%; }
.navbar-nav .menu-item.current-menu-item::after { width: 100%; }

/* Mobile Navigation Styles */
.offcanvas .navbar-nav .menu-item a             { padding: 10px 0; color: #333; }
.offcanvas .navbar-nav .menu-item::after        { display: none; }

/* Responsive Header */
@media (max-width: 991.98px) {
    .site-header .container-fluid               { padding: 0 20px; }
}

@media (max-width: 767.98px) {
    .site-header .container-fluid               { padding: 0 15px; }
    .site-branding .custom-logo                 { max-width: 70px; }
}

/* Main Content Styles */
.mobile_view                                    { display: none; }
.block--work .chapter__title                    { right: 0; left: unset; }
img.responsive                                  { display: block; }
.block--work .portrait                          { top: 42.5%; max-width: 120px; right: 0; position: absolute; left: -62px; z-index: 999; }
.block--work.contact-block .portrait            { right: -62px; left: auto; }
.background-color--white                        { background-color: #fff; }
.vertical-align-helper>[class*=vertical-align--] { display: inline-block; width: 100%; }
.block--work .chapter__title .right_img         { overflow: hidden; position: relative; width: 100%; left: 0; -webkit-transition: 1s left cubic-bezier(.77, 0, .175, 1) 0, 1s width cubic-bezier(.77, 0, .175, 1) 0; transition: 1s left cubic-bezier(.77, 0, .175, 1) 0, 1s width cubic-bezier(.77, 0, .175, 1) 0; }
.block--work .chapter__title .right_img a       { display: block; overflow: hidden; position: relative; top: 0; left: 0; width: 100%; -webkit-transition: .8s height cubic-bezier(.77, 0, .175, 1); transition: .8s height cubic-bezier(.77, 0, .175, 1); }
.vertical-align-helper:before                   { content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-left: -5px; }
.block--work .chapter__title h3                 { position: absolute; z-index: 9; margin: 0; left: 0; right: 0; top: 47.5%; color: #fff; text-transform: capitalize; font-size: 50px; }
.block--work .chapter__title .right_img a .header__image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); background-size: cover; background-position: center center; -webkit-transition: 15s -webkit-transform linear; transition: 15s transform linear; }
.block--work .chapter__title .right_img a:hover .header__image { -webkit-transform: scale(1.3); -ms-transform: scale(1.3); transform: scale(1.3); }
.row                                             { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.bg-gray                                         { background-color: #fff; }

/* Contact Block */
/*.block--work.contact-block .chapter__title .right_img a .header__image ,.block--work.contact-block .chapter__title .right_img a .header__image { background-image: url('../anecdotment/assets/images/Contact-us.jpg'); }*/
.block--work.contact-block .chapter__title      { left: 0; right: unset; }
.block--work.contact-block .chapter__content    { right: 0; left: unset; margin-left: auto; }

/* Timeline CSS */
.timeline-container                         { position: relative; max-width: 1000px; margin: 0 auto; padding: 40px 20px; border:1px solid #ccc }
.timeline                                   { position: relative; }
.timeline::before                           { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: transparent; border-left: 3px dashed #000; transform: translateX(-50%); }
.timeline-item                              { position: relative; margin: 40px 0; display: flex; align-items: center; justify-content: space-between; }
.timeline-item:nth-child(even)              { flex-direction: row-reverse; }
.timeline-category-wrapper                  { width: 45%; display: flex; }
.timeline-item:nth-child(odd) .timeline-category-wrapper { justify-content: flex-end; }
.timeline-item:nth-child(even) .timeline-category-wrapper { justify-content: flex-start; }
.timeline-category                          { background: #A44A1F; color: white; padding: 12px 25px 12px 18px; font-weight: bold; font-size: 20px; line-height: 30px; width: auto; text-align: right; position: relative; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); }
.timeline-item:nth-child(even) .timeline-category { padding: 12px 18px 12px 25px; text-align: left; clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%); }
.timeline-logos                             { width: 45%;  }
.timeline-item:nth-child(even) .timeline-logos { justify-content: flex-end; }
.timeline-logo                              { max-width: 180px; max-height: 80px; object-fit: contain; }
.timeline-dot                               { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; background: #A3491E; border: 5px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); z-index: 10; box-shadow: 0 0 0 3px #000; }
.timeline-dot::after                        { content: ''; position: absolute; top: 50%; width: 80px; height: 2.5px; background: #000; transform: translateY(-50%); }
.timeline-item:nth-child(odd) .timeline-dot::after { left: calc(100% + 8px); }
.timeline-item:nth-child(even) .timeline-dot::after { right: calc(100% + 8px); }
.timeline-separator                         { width: 200px; height: 2px; background: #ccc; margin: 20px auto; }

/* Contact Form 7 Styling */
.form-row                                   { display: flex; flex-wrap: wrap; margin: 0 -10px; gap: 15px; }
.form-group                                 { padding: 0 10px; margin-bottom: 15px; }
.form-group.col-md-6                        { flex: 0 0 50%; max-width: 50%; }
.form-group.col-md-12                       { flex: 0 0 100%; max-width: 100%; }
.form-group label                           { display: block; margin-bottom: 5px; font-weight: 600; color: #A44A1F; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; text-align: left; }
.wpcf7-form-control:not(.wpcf7-recaptcha,.wpcf7-submit)                        { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 14px; color: #333; background: #f8f9fa; transition: all 0.3s ease; font-family: inherit; }
.wpcf7-textarea                             { height: 120px; resize: none; }
.wpcf7-submit                               { width: auto; text-align: left; background: linear-gradient(135deg, #A44A1F 0%, #B8621B 100%); color: white; border: none; padding: 12px 40px; border-radius: 5px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 3px 10px rgba(164, 74, 31, 0.3); }
.wpcf7-submit:hover                         { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(164, 74, 31, 0.4); background: linear-gradient(135deg, #B8621B 0%, #A44A1F 100%); }
.wpcf7-submit:active                        { transform: translateY(0); }
.submit-wrapper                             {  margin-top: 20px; }
.contact-divider                            { text-align: center; margin: 20px 0; font-size: 14px; color: #666; font-weight: 500; position: relative; }
.contact-divider span                       { background: #ffffff; padding: 0 15px; color: #A44A1F; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: 1px solid #e9ecef; border-radius: 20px; box-shadow: 0 2px 8px rgba(164, 74, 31, 0.1); }
.wpcf7-response-output                      { margin: 20px 0 0; padding: 15px; border-radius: 8px; font-weight: 500; }
.wpcf7-mail-sent-ok                         { background-color: #dff0d8; color: #3c763d; border: 1px solid #d6e9c6; }
.wpcf7-mail-sent-ng, .wpcf7-validation-errors { background-color: #fef9e7; color: #333; border: 1px solid #fdb813; }
.wpcf7-not-valid-tip                       { color: #dc3545; font-size: 14px; margin-top: 5px; display: block; }
.wpcf7-form-control.wpcf7-not-valid         { border-color: #dc3545; background: #fff5f5; }

/* Remove Contact Form 7 auto-generated spacing */
.wpcf7-form p                               { margin: 0; padding: 0; }
.wpcf7-form br                              { display: none; }
.wpcf7 form .wpcf7-response-output          { margin: 15px 0 0; }
.wpcf7-form .form-group p                   { margin: 0; }
.wpcf7-form .form-row p                     { margin: 0; }

/* Email and Phone Fields Side by Side */
.form-row .form-group                       { flex: 1; }
.form-row .form-group.col-md-6              { flex: 0 0 calc(50% - 7.5px); max-width: calc(50% - 7.5px); }

/* Footer */
.site-footer                                { background: #BF5906; padding: 20px 0; }
.site-footer .site-info p                   { color: #ffffff; margin: 0; font-size: 14px; }
.site-footer .container                     { max-width: 1200px; }

/* Social Information Section */
.social-info-section                        { margin-top: 40px; padding: 30px 0; border-top: 1px solid #e9ecef; }
.social-info-container                      { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.social-info-item                           { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px; background: #f8f9fa; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; min-width: 200px; }
.social-info-item:hover                     { transform: translateY(-5px); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.social-icon                                { width: 60px; height: 60px; padding:8px; background: #A44A1F; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.social-icon svg                            { color: white; width: 24px; height: 24px; }
.social-content h4                          { margin: 0 0 8px 0; font-size: 16px; font-weight: 600; color: #333; text-transform: uppercase; letter-spacing: 0.5px; }
.social-content a                           { color: #A44A1F; text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.3s ease; }
.social-content a:hover                     { color: #B8621B; text-decoration: underline; }

/******* MEDIA QUERIES - ALL RESPONSIVE STYLES *******/

/* Large Desktop Screens */
@media(min-width:1600px) {
    /* Large desktop styles */
    
}

@media(max-width:1599px) {
    /* Below extra large desktop styles */
    .block--work .portrait { max-width: 80px; left: -40px; }
    .block--work.contact-block .portrait            { right: -40px; }
    .common-padding                                 { padding: 48px; }
    h1 , .h1                                        { font-size: 54px; line-height: 64px; }
    .timeline-dot::after                            { width: 40px; }
    .timeline-separator { width: calc(100% - 20px); }
}

@media(max-width:1399px) {
    .common-padding                                 { padding: 48px; }
    h1 , .h1                                        { font-size: 48px; line-height: 56px; }
    h2 , .h2                                        { font-size: 42px; line-height: 50px; }
    h3 , .h3                                        { font-size: 32px; line-height: 40px; }
}

/* Large Screens */
@media(max-width:1199px) {
    .timeline-container                      { padding: 30px 15px; }
    .timeline-category                       { font-size: 14px; padding: 10px 15px; }
    .timeline-logo                           { max-width: 100px; max-height: 50px; }
    .padding--bottom--xl-8, .padding--vertical--xl-8, .padding--xl-8 { padding-bottom: 96px; }
    .padding--top--xl-8, .padding--vertical--xl-8, .padding--xl-8 { padding-top: 96px; }
    .padding--horizontal--xl-8, .padding--right--xl-8, .padding--xl-8 { padding-right: 96px; }
    .padding--horizontal--xl-8, .padding--left--xl-8, .padding--xl-8 { padding-left: 96px; }
    .common-padding                                 { padding: 48px; }
    h1 , .h1                                        { font-size: 42px; line-height: 50px; }
    h2 , .h2                                        { font-size: 32px; line-height: 40px; }
    h3 , .h3                                        { font-size: 30px; line-height: 36px; }
    .timeline-dot::after                            { width: 20px; }
    .timeline-category-wrapper { width: 40%; }
    .timeline-logos { width: 37%; }
    

}

/* Desktop Screens */
@media (min-width: 992px) {
    .chapter                                { position: relative; z-index: 200; background: #fff; }
    .chapter .chapter__title                { position: absolute; width: 50%;  -webkit-transition: 1s width cubic-bezier(.77, 0, .175, 1); transition: 1s width cubic-bezier(.77, 0, .175, 1); z-index: 200; }
    .chapter .chapter__title.title--fixed   { position: fixed; }
    .chapter .chapter__content              { position: relative; width: 50%; left: 50%; z-index: 100; -webkit-transition: 1s width cubic-bezier(.77, 0, .175, 1) 0, 1s left cubic-bezier(.77, 0, .175, 1) 0; transition: 1s width cubic-bezier(.77, 0, .175, 1) 0, 1s left cubic-bezier(.77, 0, .175, 1) 0; }
    .chapter--projects .chapter__content    { width: 75%; left: 37.5%; }
    .block--work .chapter__content          { width: 50%; left: 0; }
    .home header { display: none;}
   
}


/* Tablet Screens */
@media(max-width:991px) {
    .site-header                            { padding: 0 20px; }
    .navbar-nav                             { flex-direction: column; gap: 0; padding: 20px 0; }
    .navbar-nav .menu-item                  { width: 100%; }
    .navbar-nav .nav-link                   { padding: 12px 20px; border-bottom: 1px solid #f0f0f0; }
    .navbar-nav .menu-item ::after          { display: none; }
    .navbar-nav .nav-link:hover             { background-color: #f8f9fa; transform: none; }
    .block--work .chapter__content          { width: 100%; }
    .hidden--s                              { display: none !important; }
    .desktop_view                           { display: none; }
    .mobile_view                            { display: block; }
    h1 , .h1                                        { font-size: 32px; line-height: 40px; }
    h2 , .h2                                        { font-size: 26px; line-height: 36px; }
    h3 , .h3                                        { font-size: 20px; line-height: 28px; }
    body                                           { padding-top: 80px; }
    .block--work .chapter__title h3           { font-size: 40px; }
}

/* Small Tablet and Large Mobile */
@media (max-width: 991px) {

    .site-header                            { padding: 0 15px; }
    .site-branding .custom-logo             { max-width:50px; }
    .navbar-toggler                         { border: none; padding: 0; border-radius: 5px; }
    .navbar-toggler:focus                   { box-shadow: none; outline: none; }
    .navbar-toggler-icon                    { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
    .offcanvas-header .site-branding        { display: flex; align-items: center; gap: 15px; }
    .offcanvas-header .site-title           { margin: 0; font-size: 18px; }
    .offcanvas-header .site-title a         { color: #A44A1F; text-decoration: none; font-weight: 600; }
    .contact-form-wrapper                   { padding: 15px 10px; }
    .wpcf7-form                             { padding:0; }
    .form-group.col-md-6                    { flex: 0 0 100%; max-width: 100%; }
    .wpcf7-form-control:not(.wpcf7-recaptcha,.wpcf7-submit)                 { padding: 10px 12px; font-size: 14px; }
    .wpcf7-submit                           { padding: 10px 25px; font-size: 14px; }
    .social-info-section                    { margin-top: 30px; padding: 25px 0; }
    .social-info-container                  {  gap: 25px; }
    .social-info-item                       {  text-align: left; padding: 15px; width: 100%; max-width: 300px; }
    .social-icon                            { width: 50px; height: 50px; margin-bottom: 0; margin-right: 15px; flex-shrink: 0; }
    .social-icon svg                        { width: 20px; height: 20px; }
    .social-content h4                      { font-size: 15px; margin-bottom: 5px; }
    .social-content a                       { font-size: 13px; }
    .chapter                                { min-height: auto !important; }
    .vertical-align-helper ,.block--work .chapter__title .right_img                 { height: auto !important; }
    .block--work .chapter__title .right_img a .header__image { position: unset; }
}



/* Mobile Timeline Styles */
@media(max-width:767px) {
    .timeline-container                     { padding: 20px 15px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
    .timeline::before                       { display: none; }
    .timeline-dot                           { display: none; }
    .timeline-dot::after                    { display: none; }
    .timeline-item                          { flex-direction: column; margin: 15px 0; background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%); border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.08), 0 3px 10px rgba(0,0,0,0.05); padding: 25px 20px; border: 1px solid rgba(164, 74, 31, 0.1); position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .timeline-item::before                  { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #A44A1F 0%, #B8621B 50%, #A44A1F 100%); }
    .timeline-item:hover                    { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.08); }
    .timeline-category-wrapper              { width: 100%; margin-bottom: 20px; display: flex; justify-content: center; }
    .timeline-category                      { font-size: 18px; font-weight: 600; padding: 12px 24px; width: auto; text-align: center; clip-path: none; border-radius: 25px; background: linear-gradient(135deg, #A44A1F 0%, #B8621B 100%); color: white; box-shadow: 0 4px 15px rgba(164, 74, 31, 0.3); letter-spacing: 0.5px; min-width: 200px; }
    .timeline-item:nth-child(even) .timeline-category { clip-path: none; text-align: center; background: linear-gradient(135deg, #A44A1F 0%, #B8621B 100%); }
    .timeline-logos                         { width: 100%; display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; min-height: 80px; padding: 15px; background: rgba(248, 249, 250, 0.5); border-radius: 12px; }
    .timeline-item:nth-child(even) .timeline-logos { justify-content: center; }
    .timeline-logo                          { max-width: 110px; max-height: 70px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1)); transition: transform 0.3s ease, filter 0.3s ease; }
    .timeline-logo:hover                    { transform: scale(1.05); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15)); }
    .timeline-separator                     { display: none; }
    .chapter__content > *                   { padding: 20px 20px  0; }   
    .timeline-item:nth-child(even)          { flex-direction: column; }
    .timeline-item:nth-child(even) .timeline-category-wrapper { justify-content: center; }
    .timeline-item:nth-child(even) .timeline-logos { justify-content: center; }

    .common-padding                                 { padding: 24px; }
    h1 , .h1                                        { font-size: 26px; line-height: 36px; }
    h2 , .h2                                        { font-size: 22px; line-height: 32px; }
    h3 , .h3                                        { font-size: 20px; line-height: 28px; }
    .timeline-item:nth-child(odd) .timeline-category-wrapper    { justify-content: center; }

}
@media(max-width:575px) {
    .social-info-container { flex-direction: column; }
}
/* Small Mobile Screens */
@media (min-width: 320px) and (max-width: 480px) {
    .block--work .chapter__content          { width: 100%; }
}

/* Extra Small Mobile */
@media (min-width: 1px) {
    .chapter                                { position: relative; z-index: 200; background: #fff; }
    .vertical-align--s-middle               { vertical-align: middle; }
    .text-align--s-center                   { text-align: center; }
}
