.rs-programs-directory.homeprograms-directory {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: flex-start;
    gap: 30px;
}
.homedirectorybox {
    background-image: url("https://kagc.edu.my/v2tmp/wp-content/uploads/2025/12/e-ac-shape-1-1.png");
    background-position: 0px 95px;
    background-repeat: no-repeat;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.02);
    background-color: #fff;
    padding: 2em;
    border-radius: 15px;
    min-height: 350px;
}
h3.title {
    font-size: 1.8em !important;
}
.stepbystep .flex {
    display: flex;
}
.stepbystep .bg-gray-300 {
    background-color: #003a65;
    border-radius: 10px;
    color: #ffffff;
}
.stepbystep .w-1\/4 {
    width: 25%;
}
.stepbystep .items-center {
    align-items: center;
}
.stepbystep .justify-center {
    justify-content: center;
}
.stepbystep .icon-step {
    font-size: 3em;
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
    color: #fff;
}
.stepbystep .flex-col {
    flex-direction: column;
}

.stepbystep .font-bold {
    font-weight: 700;
}

.stepbystep .text-sm {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
}
.stepbystep .flex p {
    margin: 0;
    line-height: 1.2;
    text-align: center;
}
.stepbystep .w-1\/3 {
    width: 23.333333%;
}
.stepbystep .text-xs {
    font-size: 0.75rem;
    line-height: 1.4;
}
.stepbystep .w-2\/3 {
    width: 66.666667%;
    min-height: 44px;
    margin: 1.4em 0;
}
ol.numberlist {
    list-style: none;
    counter-reset: item;
}
ol.numberlist li {
    counter-increment: item;
    margin-bottom: 5px;
    padding-left: 30px;
    counter-increment: step-counter;
}
ol.numberlist li:before {
    content: counter(step-counter);
    margin-right: 20px;
    font-size: 80%;
    background-color: rgb(180, 180, 180);
    color: white;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 11px;
}

.pageheader h2 {
    font-size: 1.1rem !important;
    color: #ffffffe6 !important;
    font-family: "Roboto" !important;
    font-weight: 400 !important;
}

/* ==================== FORM CONTAINER ==================== */
.formpopup {
    max-width: 850px;
    margin: 0 auto;
    padding: 30px 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.sec-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0edff;
}

.sec-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
}

/* ==================== ROW LAYOUT ==================== */
.mbrow {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px 16px -8px;
}

.mb-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 8px;
    box-sizing: border-box;
}

.mb-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
}

.mb-3 {
    padding: 0 8px;
    margin-top: 15px;
}

/* ==================== INPUT FIELDS ==================== */
.form-control {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    border: 2px solid #e8ecf1;
    border-radius: 10px;
    background: #fafbfc;
    color: #2d3436;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 54px;
    outline: none;
}

.forminput {
    height: 54px;
}

.forminput:hover {
    background: #ffffff;
    border-color: #d5dbe5;
}

.forminput:focus {
    background: #ffffff;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
}

.forminput::placeholder {
    color: #a0a8b4;
    font-weight: 400;
}

/* ==================== CUSTOM SELECT STYLING ==================== */
.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 14px 45px 14px 20px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    border: 2px solid #e8ecf1;
    border-radius: 10px;
    background: #fafbfc
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c5ce7' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
        no-repeat right 18px center;
    background-size: 14px;
    color: #2d3436;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 54px;
    outline: none;
}

.custom-select:hover {
    background-color: #ffffff;
    border-color: #d5dbe5;
}

.custom-select:focus {
    background-color: #ffffff;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
}

.custom-select option {
    padding: 12px 16px;
    background: #ffffff;
    color: #2d3436;
    font-size: 14px;
}

.custom-select option:hover {
    background: #f0edff;
}

.custom-select option:checked {
    background: #6c5ce7;
    color: #ffffff;
}

/* ==================== SUBMIT BUTTON ==================== */
.btn-one {
    display: inline-block;
    padding: 16px 45px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: 100%;
}

.btn-one:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(108, 92, 231, 0.35);
    background: linear-gradient(135deg, #5a4bd1, #8c84e8);
}

.btn-one:active {
    transform: translateY(0);
}
.ddmpartners img { 
    height: 40px;
    width: auto;
     margin: 10px;
}
.academicpartners  img{
        height: 91px;
    width: auto;
    margin: 10px;

}
.hotelpartners img { 
    height: 50px;
    width: auto;
     margin: 10px;
}
.widget_categories .cat-item-1{
    display: none!important;

}

.single-post .wpb-content-wrapper h1{
        font-size: 2.6em !important;
        line-height: 1.5;
    font-weight: 600;
}
.single-post .wpb-content-wrapper h2{
        font-size: 1.7em !important;
        line-height: 1.5;
    font-weight: 600;
}
.single-post .wpb-content-wrapper h2 b{
     font-weight: 600;
}
.single-post .wpb-content-wrapper h3{
        font-size: 1.3em !important;
        line-height: 1.4;
        margin-bottom: 3px;
    font-weight: 600;
}
.single-post .wpb-content-wrapper ul{
    list-style-position: outside;
}
.single-post .wpb-content-wrapper table, .single-post .wpb-content-wrapper th,.single-post .wpb-content-wrapper td{
    
background: #fff;
}
.single-post .wpb-content-wrapper .wpcontentcenter{
    text-align: center!important;
    margin:2em 0;
}
.single-post .wpb-content-wrapper img{
    margin: 1em 0;
}
.single-post .wpb-content-wrapper h3 b,.single-post .wpb-content-wrapper h1 b,.single-post .wpb-content-wrapper h3 strong,.single-post .wpb-content-wrapper h1 strong{
     font-weight: 600;
}
.single-post .wpb-content-wrapper li{
    margin-bottom: 0; 
}
.careerpath {
    background: #fff;
    border-radius: 15px;
    padding: 2em;
}

.careerpath h3{
     font-size: 1.4em !important;
    font-weight: 600;
}
.careerpath h4{
    font-size: 1em !important;
    margin-bottom: 0;
    margin-top: 10px;
}
 
.sp-pcp-post .pcp-post-thumb-wrapper{
max-height: 240px;    

}
.wpb_widgetised_column ul, .careerpath ul{
    padding: 0;
}
.sp-pcp-post .sp-pcp-title, .sp-pcp-post .sp-pcp-title a {
    text-transform: none;
    font-size: 20px;
    line-height: 24px;
    color: #111;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.4;
}
.careerpath ul{
    list-style: disc;
    list-style-position:outside; 
}
.careerpath li{
    position: relative;
    /*display: none!important;*/
        line-height: 1.5;
    font-size: 0.9em;
}
.careerpath li::marker {
   
    position: absolute;
    left: 0;
    top:0;
}
.careerpath:marker{
    position: absolute;
    left: 0;
}
.hideall, .alm-load-more-btn{
    display: none!important;
}
.alm-listing{
        list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    
}
.alm-listing .alm-paging-content>li.alm-item {
     display: flex;
    flex-direction: column; /* Top to bottom */
    align-items: center;    /* Center horizontally */
    gap: 10px;
    text-align: center;
   
           
}
.alm-listing .alm-paging-content>li.alm-item img, .alm-listing>li.alm-item img {
    position: relative!important;
            max-width: none!important;
}
.alm-listing>li.alm-item{
     padding: 0 0 0!important;
     background-color: #FFFFFF!important;
    background-image: url(https://kagc.edu.my/v2tmp/wp-content/uploads/2025/11/icon-active1.png)!important;
    padding: 12px 12px 12px 12px!important;
    border-radius: 12px 12px 12px 12px!important;
    background-position: 110% 95%!important;
    background-repeat: no-repeat!important;
    background-size: 16% auto!important; 
    
}
.alm-listing>li.alm-item h3{
    font-size: 20px;
    line-height: 1.3;
}
.imgalm {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
    overflow: hidden;
}

.imgalm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #444;
    font-weight: bold;
    font-size: 18px;
}
ul.dot-list {
    list-style-type: disc;
    list-style-position: inside; /* Default */
}
ul.dot-list  li {
    margin-bottom: 2px;
}
.highlightca .rs-iconbox-area .box-inner, .pashighlight .rs-iconbox-area .box-inner{
    min-height: 280px;
}
.tghighlights .rs-iconbox-area .box-inner{
    min-height: 280px;
}
.highlightfood .rs-iconbox-area .box-inner{
    min-height: 240px;
}
.highlightfood .rs-iconbox-area .box-inner{
    min-height: 280px;
}

.highlighttg .rs-iconbox-area .box-inner{
    min-height: 280px;
}
.tghighlightsrow .rs-iconbox-area .box-inner{
    min-height: 380px;
}

.cdmhighlight .rs-iconbox-area .box-inner{
    min-height: 380px;
}

.cdmhighlight2 .rs-iconbox-area .box-inner{
    min-height: 380px;
}
.elementor-widget-text-editor p  b, .elementor-widget-text-editor li b, .elementor-widget-text-editor > b, div.descripti b, .elementor-widget-rstb-post-content b{
    padding: 0 4px;
}
.elementor-widget-text-editor p span{
    display: inline;
}
.wpb_widgetised_column h2{
    margin-bottom: 0;
}
.wpb_widgetised_column h4{
    font-weight: 400 !important;
}
.paynow{
   
    flex-direction: row-reverse;
    padding: 16px 26px 16px 26px;
    color:#051435;
    background-color: #FDC72F;
        border-radius: 30px;

}

.quick-column *{
    box-sizing: border-box;
}
.quick-links {
    display: flex;
    gap: 60px;
    width: 100%;
}
.quick-column {
    flex: 1;
    min-width: 0;
}
.quick-column h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}
.quick-column h4 {
    margin: 15px 0 0px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.quick-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.quick-column li {
    margin-bottom: 4px;
}
.quick-column a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.2;
    transition: all 0.2s ease;
}
.quick-column a:hover {
    color: #0073aa;
}
.quick-column .sub-links {
    margin: 0px 0 0px 20px;
    padding-left: 10px;

}
.quick-column .sub-links li {
    margin-bottom: 5px;
    line-height: 1;
}
.contact-title {
    margin-top: 35px !important;
} /* Tablet */
.course-grid { display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; margin: 0; padding: 0; gap: 0; } .course-card { position: relative; width: 100%; height: 500px; margin: 0; padding: 0; overflow: hidden; background: transparent; } /* ========================================= GRADIENT OVERLAY ========================================= */ .course-overlay { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background: linear-gradient( to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.90) 100% ); transform: translateY(100%); transition: transform 0.6s ease; z-index: 1; } /* Slide gradient upward */ .course-card:hover .course-overlay { transform: translateY(0); } /* ========================================= STUDENT PNG ========================================= */ .course-card img { position: absolute; left: 50%; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform: translateX(-50%) scale(1); transition: transform 0.6s ease; z-index: 2; pointer-events: none; } /* Zoom student */ .course-card:hover img { transform: translateX(-50%) scale(1.06); } /* ========================================= FIXED TEXT ========================================= */ .course-title { position: absolute; left: 0; right: 0; bottom: 30px; width: 100%; padding: 0 20px; text-align: center; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.2; z-index: 3; pointer-events: none; } /* ========================================= RESPONSIVE ========================================= */ @media (max-width: 992px) { .course-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 768px) { .course-grid { grid-template-columns: repeat(2, 1fr); } .course-card { height: 400px; } } @media (max-width: 480px) { .course-grid { grid-template-columns: 1fr; } .course-card { height: 400px; } }
.studenthome{
   position:relative; 
    display: block;
}
.rs-academic-cards .grid-wrappersingle {
    display: grid;
}
.grid-wrappersingle { 
    grid-template-columns: repeat(1, 1fr);
    row-gap: 30px;
    column-gap: 30px;
}
.elementor-element-7e90bbe .e-con.e-flex>.e-con-inner{
        gap: 20px 30px;
}
#contactform  .forminput {
    height: 54px;
    background: #003359;
    border: 1px solid #003359;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
}
#contactform  .forminput:focus {
      background: #003359;
    border: 1px solid #003359;
  outline: none; /* Removes default browser outline ring */
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
#contactform  .btn-one{
        background-color: #FDC72F!important;
    
    background:#FDC72F!important;
    color: #030303;
}
.mb-6,.mb-12{
    position: relative;
}
label.error{
    color: #FF0000;
    position: absolute;
    bottom: -9px;
    left: 26px;
    font-size: 11px;
}
#contactform textarea{
    height: 130px!important;
}
#contactformcourse{
     background: #003A65;
    padding: 3em 4em;
    border-top:2px solid #FDC72F;
    border-radius: 0 0px 20px 20px;
}
#contactformcourse  .forminput, #contactformcourse  .formselect  {
    height: 54px;
    background: #003359;
    border: 1px solid #003359;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
}
#contactformcourse h2{
     color: #FFFFFF;
}
#contactformcourse  .forminput:focus {
      background: #003359;
    border: 1px solid #003359;
  outline: none; /* Removes default browser outline ring */
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
#contactformcourse  .buttonsmb{
        background-color: #FDC72F!important;
    
    background:#FDC72F!important;
    color: #030303;
}
#contactformcourse .sec-title{
    border-bottom: 0;
}
#frontcontact {
    padding: 0;
    background: #003A65;
}
.submitbtn {
    background-color: #FDC72F!important;
    
    background:#FDC72F!important;
    color: #030303;
    
}
#frontcontact .mb-3{
    padding: 0;
}
#frontcontact  .forminput, #frontcontact  .formselect, #frontcontact  .forminput:focus, #frontcontact  .forminput:not(:focus)  {
    height: 54px;
    background: #003359!important;
    border: 1px solid #003359;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF!important;
}
#frontcontact textarea{
    height: 150px!important;
}
#frontcontact input:-webkit-autofill,
#frontcontact input:-webkit-autofill:hover, 
#frontcontact input:-webkit-autofill:focus,
#frontcontact textarea:-webkit-autofill,
#frontcontact textarea:-webkit-autofill:hover,
#frontcontact textarea:-webkit-autofill:focus,
#frontcontact select:-webkit-autofill,
#frontcontact select:-webkit-autofill:hover,
#frontcontact select:-webkit-autofill:focus,

#contactformcourse input:-webkit-autofill,
#contactformcourse input:-webkit-autofill:hover, 
#contactformcourse input:-webkit-autofill:focus,
#contactformcourse textarea:-webkit-autofill,
#contactformcourse textarea:-webkit-autofill:hover,
#contactformcourse textarea:-webkit-autofill:focus,
#contactformcourse select:-webkit-autofill,
#contactformcourse select:-webkit-autofill:hover,
#contactformcourse select:-webkit-autofill:focus,

#contactform input:-webkit-autofill,
#contactform input:-webkit-autofill:hover, 
#contactform input:-webkit-autofill:focus,
#contactform textarea:-webkit-autofill,
#contactform textarea:-webkit-autofill:hover,
#contactform textarea:-webkit-autofill:focus,
#contactform select:-webkit-autofill,
#contactform select:-webkit-autofill:hover,
#contactform select:-webkit-autofill:focus{
    -webkit-text-fill-color: #FFFFFF !important;
    -webkit-box-shadow: 0 0 0 1000px #003359 inset !important;
    box-shadow: 0 0 0 1000px #003359 inset !important;
    border: 1px solid #003359 !important;
    outline: none !important;
    background: #003359 !important;
    transition: background-color 9999s ease-in-out 0s;
}

sr7-txt#SR7_1_1-1-5, sr7-txt#SR7_1_1-1-3{
        text-shadow: 0 0 3px #fff, 0 0 4px #003A65, 0 0 1px #003A65;
}
#contactformcourse textarea{
    height: 160px!important;
}
.discovercampusfront {
    max-height: 250px;
    overflow: hidden;
}

.discovercampusfront > div.elementor-widget-rs-image{
    width: 16.7%;
}
.sp-smart-post-back-to-top-icon:before{
    content:'Back to Top';
    display: inline;
    position: relative;
    font-size: 14px;
}

.sp-smart-post-back-to-top-icon:after{
   font-family: FontAwesome;
   display: inline;
   vertical-align: middle;
   content: "\f062";
        font-size: 12px;
}
.sp-smart-post-back-to-top-wrapper .sp-smart-post-back-to-top-icon {
    width: 110px!important;
    text-align: center;    
}
.sp-smart-post-back-to-top-wrapper{
    background-color: #003A65!important;
}
.sp-smart-post-back-to-top-wrapper:hover{
    background-color: #FDC72F!important;
}
.sp-smart-post-back-to-top-wrapper .sp-smart-post-back-to-top-icon svg{
    display: none;
}
.sp-smart-post-back-to-top-wrapper:hover .sp-smart-post-back-to-top-icon:before,.sp-smart-post-back-to-top-wrapper:hover .sp-smart-post-back-to-top-icon:after{ 
    color:  #003A65!important;
}
.privacy a{
    color: #fff;
    margin-right: 15px;
    font-size: 13px;
}
.privacy a:hover{
color: #0073aa;
}
.page-id-20625.rs-academic-cards h4,.page-id-20625 .rs-academic-cards h4 a{
  color: #fff!important;  

} 
.mobile-panel-logo{
    display: none!important;
}
.elementor-element-8962bfc p{
    color: #FFFFFF;
}
.rs-academic-cards .single-item .title{
    color: #FFFFFF!important;
}
.buttonsmb{
    background: #FDC72F;
    background-color: #FDC72F !important;
color: var(--primaryColor)!important;
}
@media (max-width: 991px) {
    .quick-links {
        gap: 30px;
    }
    .quick-column h3 {
        font-size: 18px;
    }
    .quick-column a {
        font-size: 13px;
    }
} /* Mobile */
@media (max-width: 767px) {
    .quick-links {
        flex-direction: column;
        gap: 35px;
    }
    .quick-column {
        width: 100%;
    }
}
.quick-column h3, .quick-column h4{
    color: #FFFFFF!important;
}
.quick-column li {
    margin-bottom: 4px;
}
.quick-column li.hassub {
    height: auto!important;
}
@media (max-width: 840px) {
.rs-programs-directory.homeprograms-directory {
  display: block;
    }
    .homedirectorybox{
        min-height: auto;
        margin-bottom: 20px;
    }
    .sp-smart-post-back-to-top-wrapper.sp-position-button-right {
  left: unset;
  right: 108px;
}
    
    .elementor-51 .elementor-element.elementor-element-07a315b .rs-academic-cards .single-item .content-wrapper .title a:hover {
    color: #FFFFFF;
}
    .elementor-26 .elementor-element.elementor-element-1b1752d{
        margin-top: 0;
    }
    .elementor-26 .elementor-element.elementor-element-eea636e.elementor-element{
        width: 50px;
    }
 }
/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .formpopup {
        padding: 20px 15px;
    }

    .sec-title h2 {
        font-size: 22px;
    }

    .mb-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 8px;
        margin-bottom: 12px;
    }

    .mbrow {
        margin: 0 -8px 8px -8px;
    }

    .form-control {
        height: 48px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .custom-select {
        height: 48px;
        padding: 12px 40px 12px 16px;
        font-size: 14px;
        background-position: right 14px center;
    }

    .btn-one {
        padding: 14px 30px;
        font-size: 14px;
    }
    
}

@media (max-width: 480px) {
    .formpopup {
        padding: 15px 10px;
    }

    .sec-title h2 {
        font-size: 20px;
    }

    .form-control {
        height: 44px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .custom-select {
        height: 44px;
        padding: 10px 36px 10px 14px;
        font-size: 13px;
    }
    .elementor-26 .elementor-element.elementor-element-eea636e.elementor-element{
        width: 30px;
    }
    .rstb-nav-menu .mobile-panel-content .mobile-menu .menu-item-link {

    }
  .mobile-panel-logo{
    display: none!important;
}
    .rstb-nav-menu .mobile-panel-content .mobile-menu .sub-menu .menu-item-link{
        font-size: 13px; 
        padding: 8px 25px 8px 0;
    }
    .alm-listing {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
}

/* ==================== ANIMATION ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.formpopup {
    animation: fadeInUp 0.6s ease;
}

/* ==================== ERROR STATE ==================== */
.form-control.error {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.form-control.error:focus {
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}

/* ==================== SUCCESS STATE ==================== */
.form-control.success {
    border-color: #51cf66;
    background-color: #f0fff4;
}

/* ==================== PLACEHOLDER STYLING ==================== */
.forminput::-webkit-input-placeholder {
    color: #a0a8b4;
    font-weight: 400;
}
.forminput::-moz-placeholder {
    color: #a0a8b4;
    font-weight: 400;
}
.forminput:-ms-input-placeholder {
    color: #a0a8b4;
    font-weight: 400;
}
.forminput::placeholder {
    color: #a0a8b4;
    font-weight: 400;
}

/* ==================== DARK MODE SUPPORT ==================== */
@media (prefers-color-scheme: dark) {
    .formpopup {
        background: #1a1a2e;
    }

    .sec-title {
        border-bottom-color: #2d2d44;
    }

    .sec-title h2 {
        color: #ffffff;
    }

    .form-control {
        background: #2d2d44;
        border-color: #3d3d5c;
        color: #ffffff;
    }

    .custom-select {
        background-color: #2d2d44;
        border-color: #3d3d5c;
        color: #ffffff;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    }

    .forminput::placeholder {
        color: #8888aa;
    }

    .custom-select option {
        background: #2d2d44;
        color: #ffffff;
    }

    .formpopup .btn-one {
        background: linear-gradient(135deg, #6c5ce7, #4a3db8);
    }
}

/* ==================== FOCUS VISIBLE ==================== */
.form-control:focus-visible {
    outline: 2px solid #6c5ce7;
    outline-offset: 2px;
}

/* ==================== SELECT OPTION SCROLL ==================== */
.custom-select {
    scrollbar-width: thin;
    scrollbar-color: #6c5ce7 #f0edff;
}

.custom-select::-webkit-scrollbar {
    width: 8px;
}

.custom-select::-webkit-scrollbar-track {
    background: #f0edff;
    border-radius: 4px;
}

.custom-select::-webkit-scrollbar-thumb {
    background: #6c5ce7;
    border-radius: 4px;
}

.custom-select::-webkit-scrollbar-thumb:hover {
    background: #5a4bd1;
}