/* ===========================================
   IDEADUNES CRM - FRONTEND THEME CUSTOM STYLES
   ===========================================
   Extends the unified design system for frontend-specific components
   =========================================== */

/* Import unified design system */
@import url('../../../design-system.css');

/* ===== LEGACY FRONTEND STYLES ===== */
/* Keeping existing styles for backward compatibility */
.logo_name{
	font-size:25px;
}
.white-link
{
color:#fff !important;
}

#tellink
{
text-decoration: none !important;
}

.row
{
margin-right: 0px !important;
margin-left: 0px !important;
}

header .header-content .header-content-inner h1{
	font-size:37px!important;
}
.sign{
	padding: 5px 13px!important;
	margin-top: 9px;
}

.close_esc{
	//right: 42%;
	position: relative;
	margin: 25px;
}
.esc{
	color:white;
}

.rem_check{
	color:#fff;
}

.form-design{
/* float: right;
width: 450px; */
/* margin-right: 179px; */
background: rgb(255, 255, 255) none repeat scroll 0% 0%;
/* height: 450px; */
}

#getstarted {
    position: relative;
    color: #444;
}
#getstarted .w-1-3 {
    box-shadow: 1px 1px 3px rgba(0,0,0,.1);
    position: relative;
	display: block;
	border-radius: 4px;
    padding: 20px;
}
#getstarted .privacy {
    color: rgba(255,255,255,0.6);
    text-align: center;
    position: absolute;
    font-size: 12px;
    bottom: -30px;
    margin: 0;
    left: 0;
}

.mfp-close-btn-in .mfp-close {
	color:#fff;
}


.parsley-required, .parsley-type, .parsley-range,.parsley-equalto{
list-style: outside none none;
color: #d4562d;
font-size: 12px;
}
/* .parsley-errors-list{
	display:none;
} */

.social_icon{
	color:white;
}
.parsley-error{
	border:1px solid #c9342f;
}
.displaynone{ display:none;}
.signin_btn{
	display:inline-block !important;
}
@media(max-width: 700px) {
.signin_btn{
	display:inline-block !important;
}
.sign_in
{
	display:none !important;
}
}


.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    background-color: #ee4b28;
    border-color: #ed431f;
    color: #fff;
}


 .right-btn {
        float: right;padding:2px;    }
@media (max-width: 767px) {    
    .pull-right-not-xs, .pull-left-not-xs{
        float: none;
    }
    .pull-right-xs {
        float: right;
    }
    .pull-left-xs {
        float: left;
    }
}

/* parsely error */

#errordiv .error{ display:none;}
#errordiv .error.filled{ display:block;}
#errordiv{height:30px; overflow:hidden; margin-bottom:10px;}
.parsley-required, .parsley-type, .parsley-range, .parsley-equalto {
    color: #fff;
}



.img-circle {
    border-radius: 50%;width:30px;height:30px;
}
.img-circle2 {
    border-radius: 50%;width:30px;height:30px; margin-left:14px;  
}
.nav1 {
	width: 100%;
	height: 50px;padding-top:10px;
 }

 

.nav1 ul li {
 	cursor: pointer;
	-webkit-transition: padding .05s linear;
	-moz-transition: padding .05s linear;
	-ms-transition: padding .05s linear;
	-o-transition: padding .05s linear;
	transition: padding .05s linear;
}
.nav1 ul li.drop {
	position: relative;
}
.nav1 ul > li {
	display: inline-block;
}
.nav1 ul li a {
	line-height: 10px;
	padding: 20px 10px;
	height: 80px;
   color:rgba(255,255,255,.7);
   font-weight:600;
   text-decoration:none;
	-webkit-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	transition: all .1s ease-out;
}
.nav1 ul li a:hover {
	color: #F05F40;
}
 
 
 
.dropOut .triangle {
	width: 0;
	height: 0;
	 
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid white;
	top: -8px;
	left: 50%;
	margin-left: -8px;
}
.dropdownContain {
	width: 160px;
	 
	z-index: 2;
	left: 50%;
	margin-left: -80px; /* half of width */
	margin-top:10px;
}
.dropOut {
	width: 160px;
	background: #F05F40;
	float: left;
	position: relative;
	margin-top: 0px;
	opacity: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 6px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 6px rgba(0,0,0,.15);
	box-shadow: 0 1px 6px rgba(0,0,0,.15);
	-webkit-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	transition: all .1s ease-out;
}

.dropOut ul {
	float: left;
	padding: 10px 0;
}
.dropOut ul li {
	text-align: left;
	float: left;
	width: 125px;
	padding: 12px 0 10px 15px;
	margin: 0px 10px;
	color: #fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-transition: background .1s ease-out;
	-moz-transition: background .1s ease-out;
	-ms-transition: background .1s ease-out;
	-o-transition: background .1s ease-out;
	transition: background .1s ease-out;
}
.hover_a a:hover + div_hover {
    /*display: block;*/
}

.dropOut ul li:hover {
	
	background: #f6f6f6;
	color:#333;
} 

.dropOut ul li:hover a {
	color:#f05f40;
}

#test{padding-left:14px;}
 
/*ul li:hover .dropdownContain { top: 65px; }*/
ul li:hover .underline { border-bottom-color: #777; }
/*ul li:hover .dropOut { opacity: 1; margin-top: 8px; }*/



@media screen and (max-width: 767px) and (min-width: 120px) {.nav1{display:none;}}
@media screen and (max-width: 1400px) and (min-width: 767px) {.img-circle2{display:none;}} 
@media screen and (max-width: 1400px) and (min-width: 767px) {#test{display:none;}} 
@media screen and (max-width: 1400px) and (min-width: 767px) {.name{display:none;}} 

.error{
  background-color: #c9342f;
    color: #fff;
    text-align: left;  width: 100%;  display: none; }
	
	.error h4 {
    font-size: 12px;
}


button.close {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 0 none;
    color: #fff;
    cursor: pointer;
    margin-top: 4px;
    padding: 0;
}

.logo_name{
	font-size:25px;
}
.white-link
{
color:#fff !important;
}

#tellink
{
text-decoration: none !important;
}

.row
{
margin-right: 0px !important;
margin-left: 0px !important;
}

header .header-content .header-content-inner h1{
	font-size:37px!important;
}
.sign{
	padding: 5px 13px!important;
	margin-top: 9px;
}

.close_esc{
	//right: 42%;
	position: relative;
	margin: 25px;
}
.esc{
	color:white;
}

.rem_check{
	color:#fff;
}

.form-design{
/* float: right;
width: 450px; */
/* margin-right: 179px; */
background: rgb(255, 255, 255) none repeat scroll 0% 0%;
/* height: 450px; */
}

#getstarted {
    position: relative;
    color: #444;
}
#getstarted .w-1-3 {
    box-shadow: 1px 1px 3px rgba(0,0,0,.1);
    position: relative;
	display: block;
	border-radius: 4px;
    padding: 20px;
}
#getstarted .privacy {
    color: rgba(255,255,255,0.6);
    text-align: center;
    position: absolute;
    font-size: 12px;
    bottom: -30px;
    margin: 0;
    left: 0;
}

.mfp-close-btn-in .mfp-close {
	color:#fff;
}


.parsley-required, .parsley-type, .parsley-range,.parsley-equalto{
list-style: outside none none;
color: #d4562d;
font-size: 12px;
}
/* .parsley-errors-list{
	display:none;
} */

.social_icon{
	color:white;
}
.parsley-error{
	border:1px solid #c9342f;
}
.displaynone{ display:none;}
.signin_btn{
	display:inline-block !important;
}
@media(max-width: 700px) {
.signin_btn{
	display:inline-block !important;
}
.sign_in
{
	display:none !important;
}
}


.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    background-color: #ee4b28;
    border-color: #ed431f;
    color: #fff;
}



@media (max-width: 767px) {    
    .pull-right-not-xs, .pull-left-not-xs{
        float: none;
    }
    .pull-right-xs {
        float: right;
    }
    .pull-left-xs {
        float: left;
    }
}

/* parsely error */

#errordiv .error{ display:none;}
#errordiv .error.filled{ display:block;}
#errordiv{height:30px; overflow:hidden; margin-bottom:10px;}
.parsley-required, .parsley-type, .parsley-range, .parsley-equalto {
    color: #fff;
}



.img-circle {
    border-radius: 50%;width:30px;height:30px;
}
.img-circle2 {
    border-radius: 50%;width:30px;height:30px; margin-left:14px;  
}
.nav1 {
	width: 100%;
	height: 50px;padding-top:10px;
 }

 

.nav1 ul li {
 	cursor: pointer;
	-webkit-transition: padding .05s linear;
	-moz-transition: padding .05s linear;
	-ms-transition: padding .05s linear;
	-o-transition: padding .05s linear;
	transition: padding .05s linear;
}
.nav1 ul li.drop {
	position: relative;
}
.nav1 ul > li {
	display: inline-block;
}
.nav1 ul li a {
	line-height: 10px;
	padding: 20px 10px;
	height: 80px;
   color:#F05F40;
   font-weight:600;
   text-decoration:none;
	-webkit-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	transition: all .1s ease-out;
}
.nav1 ul li a:hover {
	color: #F05F40;
}
.nav1 ul li a:active {
	color: #F05F40;
}
.nav1 ul li a:link {
	color: #rgba(255,255,255,.7);;
}
.dropOut .triangle {
	width: 0;
	height: 0;
	 
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid white;
	top: -8px;
	left: 50%;
	margin-left: -8px;
}
.dropdownContain {
	width: 160px;
	 
	z-index: 2;
	left: 50%;
	margin-left: -80px; /* half of width */
	margin-top:10px;
}
.dropOut {
	width: 160px;
	background: #fff;
	float: left;
	position: relative;
	margin-top: 0px;
	opacity: 0;
	 
}

.dropOut ul {
	float: left;
	padding: 10px 0;
}
.dropOut ul li {
	text-align: left;
	float: left;
	width: 125px;
	padding: 12px 0 10px 15px;
	margin: 0px 10px;
	color: #fff;
	 
}
 
.dropOut ul li:hover {
	
	background: #f6f6f6;
	color:#333;
} 
#test{padding-left:14px;}
 
ul li:hover .dropdownContain { top: 65px; }
ul li:hover .underline { border-bottom-color: #777; }
ul li:hover .dropOut { opacity: 1; margin-top: 8px; }

@media screen and (max-width: 767px) and (min-width: 120px) {.nav1{display:none;}}
@media screen and (max-width: 1400px) and (min-width: 767px) {.img-circle2{display:none;}} 
@media screen and (max-width: 1400px) and (min-width: 767px) {#test{display:none;}} 
@media screen and (max-width: 1400px) and (min-width: 767px) {.name{display:none;}} 

.error{
  background-color: #c9342f;
    color: #fff;
    text-align: left;  width: 100%;  display: none; }
	
	.error h4 {
    font-size: 12px;
}


button.close {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 0 none;
    color: #fff;
    cursor: pointer;
    margin-top: 4px;
    padding: 0;
}
/* pricing  jyoti on 22-09-16 */
.row-merge [class*=col-] .pricing-widget {
    position: relative;
    border: 0;
    cursor: pointer;
    margin: 20px 0;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
}
  .row-merge [class*=col-] .pricing-widget.active {
    z-index: 2;
}
.row-merge [class*=col-] {
    padding: 0;
}
.row-merge {
    margin: 0;width:100%; 
}
.pricing-body {
    background: #fff;
} 
.row-merge [class*=col-] .pricing-widget {
    position: relative;
    border: 0;
    cursor: pointer;
    margin: 20px 0;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
}
.row-merge [class*=col-] .pricing-widget .pricing-list li:last-child {
    min-height: 84px;
    padding-top: 30px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border-bottom: none;
}
 .row-merge [class*=col-] .pricing-widget .pricing-head {
    background: #F05F40;
    padding: 6px 20px;
    font-size: 18px;
    text-align: center;
    color: #ffffff;
}
.btn-success {
    color: #fff;
    background-color: #F05F40;
    border-color: #F05F40;
}
 .row-merge [class*=col-] .pricing-widget .pricing-cost  {
    background: #F05F40;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #efefef;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    font-size: 18px;
    color: #ffffff;
    min-height: 125px;
}
.row-merge [class*=col-] .pricing-widget .pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.text-center {
    text-align: center;
}
.row-merge [class*=col-] .pricing-widget .pricing-list li {
    padding: 10px;
    border-bottom: 1px solid #efefef;
}
.btn-default:active, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
    color: #999999;
    background-color: #dbdbdb;
    border-color: #c6c6c6;
}
.row-merge [class*=col-] .pricing-widget:not(.pricing-title).active, .row .row-merge [class*=col-] .pricing-widget:not(.pricing-title):hover {
    -webkit-box-shadow: 0 3px 25px -4px rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 3px 25px -4px rgba(0, 0, 0, 0.9) !important;
}
 .row-merge [class*=col-] .pricing-widget.active {
    z-index: 2;
}

.row-merge [class*=col-] .pricing-widget .pricing-list li:last-child {
    min-height: 84px;
    padding-top: 30px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border-bottom: none;
}
.row-merge [class*=col-] .pricing-widget .pricing-list li {
    padding: 10px;
    border-bottom: 1px solid #efefef;
}


/*roadmap jyoti on 23-09-16*/ 
 
.roadmap-kanban {
    width: 100%;
    white-space: nowrap;
    height: auto;
    padding: 50px 10px 50px 10px;
    text-align: center;
    display: table;
}
.roadmap-kanban li {
    width: 25%;
    display: table-cell;
    vertical-align: top;
    padding: 0 18px 0 18px;
    border-right: solid 1px #eee;
}
.roadmap-kanban .kanban-col-name {
    text-align: center;
    font-weight: 500;
    color: #444444;
    font-size: 17px;
    font-style: italic;
    border-bottom: solid 1px #eee;
    padding: 10px 0 20px 0;
}
.roadmap-kanban .kanban-card {
    padding: 20px 0 20px 0;
    border-bottom: solid 1px #eee;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.roadmap-kanban .kanban-card-icon {
    width: 80%;
    height: 60px;
    margin-right: 20px;
}
.roadmap-kanban .kanban-card-content {
    white-space: normal;
    /*width: calc(100% - 75px);*/
	width:auto;
    text-align: left;
}
.roadmap-kanban .kanban-card-content h3 {
    font-size: 14px;
    font-weight: 600;
}
.roadmap-kanban .kanban-card-content p {
    font-size: 13px;
    margin: 0;
}
.kanban-card-icon img {
      max-width: 100%;  
      height: 100%;  
      border: 0;  
}

@media screen and (max-width: 1100px)
.roadmap-kanban {
    white-space: normal;
    display: block;
}

 /*tab on pricing jyoti on 23-09-16*/ 

#exTab1 .tab-content {
   
  /*background-color: #428bca;*/
  padding : 5px 15px;
}

#exTab2 h3 {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}

/* remove border radius for the tab */

#exTab1 .nav-pills > li > a {
  border-radius: 0;
}

/* change border radius for the tab , apply corners on top*/

#exTab3 .nav-pills > li > a {
  border-radius: 4px 4px 0 0 ;
}

#exTab3 .tab-content {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}




 

.ui-widget-content {
  border: 1px solid #bdc3c7;
  background: #e1e1e1;
  color: #222222;
  margin-top: 4px;
}

.ui-slider .ui-slider-handle {
  position: absolute;
  z-index: 2;
  width: 7.2em;
  height: 2.7em;
  cursor: default;
  margin: 0 -40px auto !important;
  text-align: center; 
  line-height: 30px;
  color: #FFFFFF;
  font-size: 12px;
}

.ui-slider .ui-slider-handle .glyphicon {
  color: #FFFFFF;
  margin: 0 1px; 
  font-size: 11px;
  opacity: 0.7;
}

.ui-corner-all {
  border-radius: 20px;
}

.ui-slider-horizontal .ui-slider-handle {
  top: -.9em;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
  border: 1px solid #f9f9f9;
  background: #3498db;
}

.ui-slider-horizontal .ui-slider-handle {
  margin-left: -0.5em;
}

.ui-slider .ui-slider-handle {
  cursor: pointer;
}

.ui-slider a,
.ui-slider a:focus {
  cursor: pointer;
  outline: none;
}

 

h4.great {
  background: #00ac98;
  margin: 0 0 25px -60px;
  padding: 7px 15px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  display: inline-block;
  -moz-box-shadow:    2px 4px 5px 0 #ccc;
    -webkit-box-shadow: 2px 4px 5px 0 #ccc;
    box-shadow:         2px 4px 5px 0 #ccc;
}

.total {
  border-bottom: 1px solid #7f8c8d;
  /*display: inline;
  padding: 10px 5px;*/
  position: relative;
  padding-bottom: 20px;
}

.total:before {
  content: "";
  display: inline;
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 3px;
  background: #7f8c8d;
  opacity: 0.5;
}

.price-slider {
  margin-bottom: 20px;
}

.price-slider span {
  font-weight: 200;
  display: inline-block;
  color: #7f8c8d;
  font-size: 13px;
}

.form-pricing {
  background: #ffffff;
  padding: 20px;
  border-radius: 4px;
}

 .price-box {
    margin: 0 auto;
    background: #E9E9E9;
    border-radius: 10px;
    padding: 40px 15px;
    /* width: 500px; */
}

 
.form-group span.price {
  font-weight: 200;
  display: inline-block;
  color: #7f8c8d;
  font-size: 14px;
}
 
.help-text {
  display: block;
  margin-top: -10px;
  margin-bottom: 10px;
  color: #737373;
  /*position: absolute;*/
  /*margin-left: 20px;*/
  font-weight: 200;
  /*text-align: right;*/
  width: 188px;
}

.price-form label {
  font-weight: 200;
  font-size: 21px;
}

img.payment {
  display: block;
    margin-left: auto;
    margin-right: auto
}

.ui-slider-range-min {
  background: #2980b9;
}

.active-month,
.active-term {
  background: #3276b1!important;border:0!important;
}

/* HR */

hr.style {
  margin-top: 0;
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
}

/* view all jyoti on 26-09-16 */

.pd-top2 {
    padding-top: 2em !important;
}
.padd1 {
    padding: 1em !important;
}
.text-center {
    text-align: center !important;
}
.max45 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
} .feature-wrapper {
    border-bottom: 1px solid rgba(0,0,0,0.15);
} 
.feature  {
    margin: 3em auto 0;
}.feature-description {
    margin: 0 auto;
    padding: 1em;
    text-align: center; padding: 3em 1em; 
}.my-work .feature-img-holder {
    max-width: 900px;
}
.feature-invert {
       flex-direction: row-reverse!important;
}.feature, .ppc-feature-info {
    margin: 3em auto 0;
}.feature-img-holder {
     padding: 3em 1em; 
   padding-left: 2em;
   text-align:center;
}

	.myIcon {
    display: inline-block;
     background-color:#fff;
    cursor: pointer;
    margin-left: 24px;
	margin-right: 30px;
    width: 135px;
    height: 132px;
    border-radius: 50%;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #f05f40;padding-top: 37px;
} 
.social-buttons li
{
	width:40px;
	height:40px;
	border-radius:50%;
	line-height:40px;
	background-color:rgba(240, 95, 64, 1.0);
}
.sms-top{    margin-top: -35px;}
.sms-pad{padding:10px;}

.fancybox-overlay{ z-index:9999; }
 .customize{background-color:#ccc;padding:10px;}.dropbox{padding:20px;margin-left:15px;width:90%;}

/* ===========================================
   UNIFIED DESIGN SYSTEM INTEGRATION
   ===========================================
   Frontend-specific overrides and enhancements using design tokens
   =========================================== */

/* ===== FRONTEND-SPECIFIC OVERRIDES ===== */

/* Navigation Bar */
.navbar-default {
  background: var(--navbar-bg);
  border-bottom: var(--border-width-1) solid var(--navbar-border);
  box-shadow: var(--shadow-sm);
}

.navbar-default .navbar-brand {
  color: var(--navbar-text);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.navbar-default .navbar-nav > li > a {
  color: var(--navbar-text);
  transition: var(--transition-fast);
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background: var(--navbar-hover);
  color: var(--text-inverse);
}

/* Hero Section */
.header-content {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-inverse);
  padding: var(--space-12) 0;
  text-align: center;
}

.header-content-inner h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-light);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
}

.header-content-inner p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  opacity: 0.9;
}

/* Call-to-Action Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--success);
  color: var(--text-inverse);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background: var(--success-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-inverse);
}

/* Feature Cards */
.feature-card {
  background: var(--bg-primary);
  border: var(--border-width-1) solid var(--border-light);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  text-align: center;
  transition: var(--transition-base);
  box-shadow: var(--card-shadow);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-full);
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: var(--font-size-2xl);
}

.feature-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.feature-description {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* Service Sections */
.service-section {
  padding: var(--space-12) 0;
  background: var(--bg-secondary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  box-shadow: var(--card-shadow);
  border-left: var(--border-width-4) solid var(--primary);
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-lg);
}

.testimonial-author {
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.testimonial-role {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* Contact Forms */
.contact-form {
  background: var(--bg-primary);
  border-radius: var(--card-radius);
  padding: var(--space-8);
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: var(--border-width-1) solid var(--border-light);
  border-radius: var(--border-radius-base);
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-8) 0;
  margin-top: var(--space-12);
}

.footer h3 {
  color: var(--text-inverse);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
}

/* Social Media Buttons */
.social-buttons {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-buttons li {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  line-height: 40px;
  text-align: center;
  background: var(--primary);
  transition: var(--transition-fast);
}

.social-buttons a {
  color: var(--text-inverse);
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.social-buttons li:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    padding: var(--space-8) 0;
  }

  .header-content-inner h1 {
    font-size: var(--font-size-3xl);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .feature-card {
    margin-bottom: var(--space-4);
  }

  .navbar-default .navbar-nav > li {
    text-align: center;
  }
}

/* Dark Mode Support for Frontend */
@media (prefers-color-scheme: dark) {
  .navbar-default {
    background: var(--neutral-900);
    border-bottom-color: var(--neutral-700);
  }

  .header-content {
    background: linear-gradient(135deg, var(--neutral-800), var(--neutral-900));
  }

  .feature-card {
    background: var(--neutral-800);
    border-color: var(--neutral-700);
  }

  .testimonial-card {
    background: var(--neutral-800);
    border-left-color: var(--primary);
  }

  .contact-form {
    background: var(--neutral-800);
  }

  .footer {
    background: var(--neutral-900);
  }
}

/* ===========================================
   INTERACTIVE STATES & MICRO-INTERACTIONS
   ===========================================
   Frontend-specific interactive enhancements
   =========================================== */

/* ===== NAVIGATION INTERACTIONS ===== */

.navbar-default {
  background: var(--navbar-bg);
  border-bottom: var(--border-width-1) solid var(--navbar-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--micro-fade-duration) var(--ease-out);
}

.navbar-default .navbar-brand {
  color: var(--navbar-text);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  transition: all var(--micro-bounce-duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.navbar-default .navbar-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--micro-slide-duration) var(--ease-out);
}

.navbar-default .navbar-brand:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.navbar-default .navbar-brand:hover::before {
  left: 100%;
}

.navbar-default .navbar-nav > li > a {
  color: var(--navbar-text);
  transition: all var(--micro-bounce-duration) var(--ease-out);
  position: relative;
  padding: var(--space-3) var(--space-4);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.navbar-default .navbar-nav > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--micro-slide-duration) var(--ease-out);
  transform: translateX(-50%);
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background: var(--navbar-hover);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.navbar-default .navbar-nav > li > a:hover::before,
.navbar-default .navbar-nav > li > a:focus::before {
  width: 100%;
}

/* ===== HERO SECTION INTERACTIONS ===== */

.header-content {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-inverse);
  padding: var(--space-12) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 2s var(--ease-out);
}

.header-content:hover::before {
  left: 100%;
}

.header-content-inner h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-light);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
  transition: all var(--micro-bounce-duration) var(--ease-out);
  position: relative;
  z-index: 1;
}

.header-content:hover .header-content-inner h1 {
  transform: translateY(-4px) scale(1.02);
}

.header-content-inner p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  opacity: 0.9;
  transition: all var(--micro-fade-duration) var(--ease-out);
  position: relative;
  z-index: 1;
}

.header-content:hover .header-content-inner p {
  opacity: 1;
  transform: translateY(-2px);
}

/* ===== CALL-TO-ACTION BUTTONS ===== */

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: var(--text-inverse);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  transition: all var(--micro-bounce-duration) var(--ease-out);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  min-width: 48px;
  justify-content: center;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width var(--micro-bounce-duration) var(--ease-out),
              height var(--micro-bounce-duration) var(--ease-out);
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--success-dark), var(--success-darker));
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-xl);
  color: var(--text-inverse);
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:active {
  transform: translateY(-1px) scale(0.95);
}

/* ===== FEATURE CARDS ===== */

.feature-card {
  background: var(--bg-primary);
  border: var(--border-width-1) solid var(--border-light);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--micro-bounce-duration) var(--ease-out);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left var(--micro-slide-duration) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:active {
  transform: translateY(-3px) scale(0.97);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: var(--font-size-2xl);
  transition: all var(--micro-bounce-duration) var(--bounce);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.feature-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  transition: color var(--micro-fade-duration) var(--ease-out);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-title {
  color: var(--primary-dark);
}

.feature-description {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  transition: color var(--micro-fade-duration) var(--ease-out);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-description {
  color: var(--text-primary);
}

/* ===== TESTIMONIAL CARDS ===== */

.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  box-shadow: var(--card-shadow);
  border-left: var(--border-width-4) solid var(--primary);
  transition: all var(--micro-bounce-duration) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.03), transparent);
  transition: left var(--micro-slide-duration) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary-dark);
}

.testimonial-card:hover::before {
  left: 100%;
}

.testimonial-card:active {
  transform: translateY(-2px) scale(0.98);
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-lg);
  transition: all var(--micro-fade-duration) var(--ease-out);
  position: relative;
  z-index: 1;
}

.testimonial-card:hover .testimonial-quote {
  color: var(--text-primary);
  transform: translateX(4px);
}

.testimonial-author {
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  transition: color var(--micro-fade-duration) var(--ease-out);
  position: relative;
  z-index: 1;
}

.testimonial-card:hover .testimonial-author {
  color: var(--primary-dark);
}

.testimonial-role {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  transition: color var(--micro-fade-duration) var(--ease-out);
  position: relative;
  z-index: 1;
}

.testimonial-card:hover .testimonial-role {
  color: var(--text-secondary);
}

/* ===== CONTACT FORMS ===== */

.contact-form {
  background: var(--bg-primary);
  border-radius: var(--card-radius);
  padding: var(--space-8);
  box-shadow: var(--card-shadow);
  transition: all var(--micro-bounce-duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.02), transparent);
  transition: left var(--micro-slide-duration) var(--ease-out);
}

.contact-form:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border: var(--border-width-1) solid var(--primary-light);
}

.contact-form:hover::before {
  left: 100%;
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  transition: color var(--micro-fade-duration) var(--ease-out);
}

.contact-form:hover .form-label {
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: var(--border-width-1) solid var(--border-light);
  border-radius: var(--border-radius-base);
  font-size: var(--font-size-base);
  transition: all var(--micro-fade-duration) var(--ease-out);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.form-control:hover {
  border-color: var(--neutral-400);
}

.form-control::placeholder {
  color: var(--text-muted);
  transition: color var(--micro-fade-duration) var(--ease-out);
}

.form-control:focus::placeholder {
  color: var(--text-secondary);
}

/* ===== FOOTER INTERACTIONS ===== */

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-8) 0;
  margin-top: var(--space-12);
  transition: all var(--micro-fade-duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 3s var(--ease-out);
}

.footer:hover::before {
  left: 100%;
}

.footer h3 {
  color: var(--text-inverse);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
  transition: all var(--micro-bounce-duration) var(--ease-out);
  position: relative;
  z-index: 1;
}

.footer:hover h3 {
  transform: translateY(-2px);
  color: var(--primary-light);
}

.footer-links {
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: all var(--micro-bounce-duration) var(--ease-out);
  position: relative;
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
  padding: var(--space-2) var(--space-3);
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--micro-slide-duration) var(--ease-out);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  width: 100%;
}

/* ===== SOCIAL MEDIA BUTTONS ===== */

.social-buttons {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-buttons li {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  line-height: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transition: all var(--micro-bounce-duration) var(--bounce);
  position: relative;
  overflow: hidden;
}

.social-buttons li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width var(--micro-bounce-duration) var(--ease-out),
              height var(--micro-bounce-duration) var(--ease-out);
}

.social-buttons a {
  color: var(--text-inverse);
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.social-buttons li:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  transform: translateY(-3px) scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.social-buttons li:hover::before {
  width: 60px;
  height: 60px;
}

/* ===== LOADING STATES ===== */

.loading-shimmer {
  background: linear-gradient(90deg, var(--neutral-200) 25%, var(--neutral-100) 50%, var(--neutral-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius-base);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== EMPTY STATES ===== */

.empty-state-interactive {
  text-align: center;
  padding: var(--space-12);
  color: var(--text-secondary);
  transition: all var(--micro-fade-duration) var(--ease-out);
}

.empty-state-interactive:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.empty-icon-interactive {
  font-size: var(--font-size-5xl);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  transition: all var(--micro-bounce-duration) var(--bounce);
}

.empty-state-interactive:hover .empty-icon-interactive {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary);
}

.empty-title-interactive {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  transition: color var(--micro-fade-duration) var(--ease-out);
}

.empty-state-interactive:hover .empty-title-interactive {
  color: var(--primary-dark);
}

.empty-description-interactive {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-6);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  transition: color var(--micro-fade-duration) var(--ease-out);
}

.empty-state-interactive:hover .empty-description-interactive {
  color: var(--text-primary);
}

/* ===== MOBILE OPTIMIZATIONS ===== */

@media (max-width: 768px) {
  .navbar-default .navbar-brand:hover {
    transform: none;
  }

  .navbar-default .navbar-nav > li > a:hover {
    transform: none;
  }

  .header-content:hover .header-content-inner h1 {
    transform: none;
  }

  .cta-button:hover {
    transform: none;
  }

  .feature-card:hover {
    transform: none;
  }

  .testimonial-card:hover {
    transform: none;
  }

  .contact-form:hover {
    transform: none;
  }

  .footer-links a:hover {
    transform: none;
  }

  .social-buttons li:hover {
    transform: none;
  }

  /* Touch-friendly interactions */
  .cta-button,
  .feature-card,
  .testimonial-card,
  .contact-form,
  .footer-links a,
  .social-buttons li {
    min-height: 44px;
    min-width: 44px;
  }

  .cta-button:active,
  .feature-card:active,
  .testimonial-card:active,
  .contact-form:active,
  .footer-links a:active,
  .social-buttons li:active {
    transform: scale(0.98);
    transition: transform 0.1s ease-out;
  }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */

@media (prefers-reduced-motion: reduce) {
  .navbar-default .navbar-brand,
  .navbar-default .navbar-nav > li > a,
  .header-content-inner h1,
  .cta-button,
  .feature-card,
  .testimonial-card,
  .contact-form,
  .footer-links a,
  .social-buttons li,
  .form-control {
    transition: none;
  }

  .loading-shimmer {
    animation: none;
  }
}

/* ===========================================
   ADVANCED ANIMATIONS & TRANSITIONS
   ===========================================
   Frontend-specific advanced visual effects
   =========================================== */

/* ===== HERO SECTION ANIMATIONS ===== */

.hero-animated {
  position: relative;
  overflow: hidden;
}

.hero-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  animation: hero-shimmer 3s infinite;
}

@keyframes hero-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: hero-content-enter var(--duration-slowest) var(--ease-out);
}

@keyframes hero-content-enter {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  animation: hero-title-enter var(--duration-slowest) var(--ease-elastic);
  animation-delay: var(--delay-medium);
  animation-fill-mode: both;
}

@keyframes hero-title-enter {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-subtitle {
  animation: hero-subtitle-enter var(--duration-slow) var(--ease-out);
  animation-delay: var(--delay-long);
  animation-fill-mode: both;
}

@keyframes hero-subtitle-enter {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-cta {
  animation: hero-cta-enter var(--duration-normal) var(--ease-spring);
  animation-delay: var(--delay-extra-long);
  animation-fill-mode: both;
}

@keyframes hero-cta-enter {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== FEATURE GRID ANIMATIONS ===== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin: var(--space-12) 0;
}

.feature-grid-item {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  animation: feature-item-enter var(--duration-slow) var(--ease-elastic) forwards;
}

.feature-grid-item:nth-child(1) { animation-delay: var(--delay-short); }
.feature-grid-item:nth-child(2) { animation-delay: var(--delay-medium); }
.feature-grid-item:nth-child(3) { animation-delay: var(--delay-long); }
.feature-grid-item:nth-child(4) { animation-delay: var(--delay-extra-long); }
.feature-grid-item:nth-child(5) { animation-delay: calc(var(--delay-extra-long) + 0.2s); }
.feature-grid-item:nth-child(6) { animation-delay: calc(var(--delay-extra-long) + 0.4s); }

@keyframes feature-item-enter {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== TESTIMONIAL CAROUSEL ===== */

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding: var(--space-12) 0;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transform: translateX(100%);
  transition: all var(--duration-slow) var(--ease-out);
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.testimonial-slide.exit-left {
  transform: translateX(-100%);
  opacity: 0;
}

.testimonial-slide.exit-right {
  transform: translateX(100%);
  opacity: 0;
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.testimonial-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neutral-300);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.testimonial-indicator.active {
  background: var(--primary);
  transform: scale(1.2);
}

.testimonial-indicator:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

/* ===== CONTACT FORM ANIMATIONS ===== */

.contact-form-animated {
  position: relative;
  overflow: hidden;
}

.contact-form-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  animation: contact-form-shimmer 4s infinite;
}

@keyframes contact-form-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.form-field-animated {
  opacity: 0;
  transform: translateY(20px);
  animation: form-field-enter var(--duration-normal) var(--ease-out) forwards;
}

.form-field-animated:nth-child(1) { animation-delay: var(--delay-short); }
.form-field-animated:nth-child(2) { animation-delay: var(--delay-medium); }
.form-field-animated:nth-child(3) { animation-delay: var(--delay-long); }
.form-field-animated:nth-child(4) { animation-delay: var(--delay-extra-long); }

@keyframes form-field-enter {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-submit-animated {
  opacity: 0;
  transform: scale(0.8);
  animation: form-submit-enter var(--duration-normal) var(--ease-spring) forwards;
  animation-delay: calc(var(--delay-extra-long) + 0.2s);
}

@keyframes form-submit-enter {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== FOOTER ANIMATIONS ===== */

.footer-animated {
  position: relative;
  overflow: hidden;
}

.footer-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: footer-shimmer 5s infinite;
}

@keyframes footer-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.footer-content {
  position: relative;
  z-index: 1;
  animation: footer-content-enter var(--duration-slow) var(--ease-out);
}

@keyframes footer-content-enter {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-links-animated li {
  opacity: 0;
  transform: translateY(20px);
  animation: footer-link-enter var(--duration-normal) var(--ease-out) forwards;
}

.footer-links-animated li:nth-child(1) { animation-delay: var(--delay-short); }
.footer-links-animated li:nth-child(2) { animation-delay: var(--delay-medium); }
.footer-links-animated li:nth-child(3) { animation-delay: var(--delay-long); }
.footer-links-animated li:nth-child(4) { animation-delay: var(--delay-extra-long); }

@keyframes footer-link-enter {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SOCIAL BUTTONS ANIMATIONS ===== */

.social-buttons-animated {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin: var(--space-8) 0;
}

.social-button-animated {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-spring);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0) rotate(180deg);
  animation: social-button-enter var(--duration-slow) var(--ease-elastic) forwards;
}

.social-button-animated:nth-child(1) { animation-delay: var(--delay-medium); }
.social-button-animated:nth-child(2) { animation-delay: var(--delay-long); }
.social-button-animated:nth-child(3) { animation-delay: var(--delay-extra-long); }
.social-button-animated:nth-child(4) { animation-delay: calc(var(--delay-extra-long) + 0.2s); }

@keyframes social-button-enter {
  0% {
    opacity: 0;
    transform: scale(0) rotate(180deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.social-button-animated:hover {
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-button-animated::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width var(--duration-fast) var(--ease-out),
              height var(--duration-fast) var(--ease-out);
}

.social-button-animated:hover::before {
  width: 100px;
  height: 100px;
}

/* ===== LOADING STATES ===== */

.loading-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  min-height: 300px;
}

.loading-spinner-large {
  width: 60px;
  height: 60px;
  border: 4px solid var(--neutral-200);
  border-top: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
  border-radius: 50%;
  animation: loading-spinner-large 1s linear infinite;
  margin-bottom: var(--space-4);
}

@keyframes loading-spinner-large {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  animation: loading-text-pulse 2s infinite;
}

@keyframes loading-text-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== SUCCESS MESSAGES ===== */

.success-banner {
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: white;
  padding: var(--space-6);
  border-radius: var(--card-radius);
  text-align: center;
  margin: var(--space-8) 0;
  position: relative;
  overflow: hidden;
  animation: success-banner-enter var(--duration-slow) var(--ease-elastic);
}

.success-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: success-banner-shimmer 2s infinite;
}

@keyframes success-banner-enter {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes success-banner-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ===== ERROR MESSAGES ===== */

.error-banner {
  background: linear-gradient(135deg, var(--danger), var(--danger-dark));
  color: white;
  padding: var(--space-6);
  border-radius: var(--card-radius);
  text-align: center;
  margin: var(--space-8) 0;
  animation: error-banner-enter var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.error-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  animation: error-banner-border var(--duration-slow) var(--ease-out);
}

@keyframes error-banner-enter {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes error-banner-border {
  0% { height: 0; }
  100% { height: 100%; }
}

/* ===== SCROLL ANIMATIONS ===== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all var(--duration-slow) var(--ease-out);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all var(--duration-slow) var(--ease-out);
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all var(--duration-slow) var(--ease-out);
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--duration-slow) var(--ease-elastic);
}

.scroll-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ===== PARALLAX EFFECTS ===== */

.parallax-section {
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.parallax-content {
  position: relative;
  z-index: 2;
  padding: var(--space-12) 0;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* ===== MOBILE ANIMATIONS ===== */

@media (max-width: 768px) {
  .hero-content,
  .hero-title,
  .hero-subtitle,
  .hero-cta,
  .feature-grid-item,
  .testimonial-slide,
  .form-field-animated,
  .form-submit-animated,
  .footer-content,
  .footer-links-animated li,
  .social-button-animated,
  .success-banner,
  .error-banner {
    animation-duration: var(--duration-fast);
  }

  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right,
  .scroll-scale {
    transition-duration: var(--duration-fast);
  }
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
  .hero-animated::before,
  .hero-content,
  .hero-title,
  .hero-subtitle,
  .hero-cta,
  .feature-grid-item,
  .testimonial-slide,
  .contact-form-animated::before,
  .form-field-animated,
  .form-submit-animated,
  .footer-animated::before,
  .footer-content,
  .footer-links-animated li,
  .social-button-animated,
  .loading-spinner-large,
  .loading-text,
  .success-banner,
  .success-banner::before,
  .error-banner,
  .error-banner::before,
  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right,
  .scroll-scale {
    animation: none;
    transition: none;
  }
}
