.elementor-3965 .elementor-element.elementor-element-3ac9a00{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3965 .elementor-element.elementor-element-8697f75{--display:flex;--margin-top:64px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}@media(max-width:767px){.elementor-3965 .elementor-element.elementor-element-3ac9a00{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3965 .elementor-element.elementor-element-8697f75{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3965 .elementor-element.elementor-element-bd11ab3 > .elementor-widget-container{margin:12px 12px 12px 12px;}}@media(min-width:768px){.elementor-3965 .elementor-element.elementor-element-3ac9a00{--width:900px;}}/* Start custom CSS for html, class: .elementor-element-bd11ab3 */.residency-calc .header-section {
     background: #FFFFFF;
     border-radius: 20px;
     padding: 2.5rem 2rem;
     margin-bottom: 2rem;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
     text-align: center;
     border: 1px solid #E5E7EB;
 }

 .residency-calc h3 {
     font-size: 2.5rem;
     font-weight: 800;
     color: #1A1A1A;
     margin-bottom: 0.5rem;
     letter-spacing: -0.02em;
 }

 .residency-calc .highlight-text {
     color: #2B7FFF;
 }

 .residency-calc .subtitle {
     font-size: 1.125rem;
     color: #6B7280;
     font-weight: 400;
     line-height: 1.6;
 }

 .residency-calc .card {
     background: #FFFFFF;
     border-radius: 20px;
     padding: 2.5rem;
     box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
     border: 1px solid #E5E7EB;
     margin-bottom: 2rem;
 }

 .residency-calc .progress-container {
     margin-bottom: 2.5rem;
 }

 .residency-calc .progress-text {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 0.75rem;
     font-size: 0.875rem;
     font-weight: 600;
     color: #6B7280;
 }

 .residency-calc .progress-bar {
     width: 100%;
     height: 8px;
     background: #E5E7EB;
     border-radius: 10px;
     overflow: hidden;
 }

 .residency-calc .progress-fill {
     height: 100%;
     background: linear-gradient(90deg, #2B7FFF, #1E5FD9);
     border-radius: 10px;
     transition: width 0.4s ease;
 }

 .residency-calc .question-section {
     display: none;
 }

 .residency-calc .question-section.active {
     display: block;
     animation: slideIn 0.4s ease-out;
 }

 @keyframes slideIn {
     from {
         opacity: 0;
         transform: translateX(20px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 .residency-calc .question-header {
     margin-bottom: 2rem;
 }

 .residency-calc .question-number {
     font-size: 0.875rem;
     font-weight: 700;
     color: #2B7FFF;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 0.75rem;
 }

 .residency-calc .question-text {
     font-size: 1.5rem;
     font-weight: 700;
     color: #1A1A1A;
     line-height: 1.3;
     margin-bottom: 0.5rem;
 }

 .residency-calc .question-description {
     font-size: 0.95rem;
     color: #6B7280;
     line-height: 1.5;
 }

 .residency-calc .options {
     display: flex;
     flex-direction: column;
     gap: 0.875rem;
     margin-bottom: 2rem;
 }

 .residency-calc .option {
     background: #F9FAFB;
     border: 2px solid #E5E7EB;
     border-radius: 12px;
     padding: 1.25rem 1.5rem;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .residency-calc .option:hover {
     border-color: #2B7FFF;
     background: #FFFFFF;
     transform: translateX(4px);
 }

 .residency-calc .option.selected {
     border-color: #2B7FFF;
     background: #E8F4FF;
     box-shadow: 0 4px 12px rgba(43, 127, 255, 0.1);
 }

 .residency-calc .option-radio {
     width: 22px;
     height: 22px;
     border: 2px solid #E5E7EB;
     border-radius: 50%;
     position: relative;
     flex-shrink: 0;
     transition: all 0.3s ease;
 }

 .residency-calc .option:hover .option-radio {
     border-color: #2B7FFF;
 }

 .residency-calc .option.selected .option-radio {
     border-color: #2B7FFF;
     background: #2B7FFF;
 }

 .residency-calc .option.selected .option-radio::after {
     content: '';
     position: absolute;
     width: 8px;
     height: 8px;
     background: white;
     border-radius: 50%;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%) scale(1);
     animation: radioScale 0.3s ease;
 }

 @keyframes radioScale {
     0% {
         transform: translate(-50%, -50%) scale(0);
     }

     100% {
         transform: translate(-50%, -50%) scale(1);
     }
 }

 .residency-calc .option-text {
     font-size: 1rem;
     color: #1A1A1A;
     font-weight: 600;
     flex: 1;
 }

 .residency-calc .option.selected .option-text {
     color: #1E5FD9;
 }

 .residency-calc .buttons {
     display: flex;
     gap: 1rem;
     margin-top: 2rem;
 }

 .residency-calc button {
     padding: 1rem 2rem;
     border-radius: 12px;
     font-size: 1rem;
     font-weight: 700;
     cursor: pointer;
     transition: all 0.3s ease;
     border: none;
 }

 .residency-calc .btn-primary {
     background: #2B7FFF;
     color: white;
     flex: 1;
     box-shadow: 0 4px 12px rgba(43, 127, 255, 0.1);
 }

 .residency-calc .btn-primary:hover {
     background: #1E5FD9;
     transform: translateY(-2px);
     box-shadow: 0 8px 20px rgba(43, 127, 255, 0.1);
 }

 .residency-calc .btn-primary:active {
     transform: translateY(0);
 }

 .residency-calc .btn-primary:disabled {
     background: #D1D5DB;
     cursor: not-allowed;
     transform: none;
     box-shadow: none;
     opacity: 0.6;
 }

 .residency-calc .btn-secondary {
     background: #F9FAFB;
     color: #1A1A1A;
     border: 2px solid #E5E7EB;
     padding: 1rem 1.5rem;
 }

 .residency-calc .btn-secondary:hover {
     background: #FFFFFF;
     border-color: #2B7FFF;
 }

 /* Result Section */
 .residency-calc .result-section {
     display: none;
 }

 .residency-calc .result-section.active {
     display: block;
     animation: fadeIn 0.6s ease-out;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .residency-calc .result-badge {
     display: inline-block;
     padding: 0.625rem 1.5rem;
     border-radius: 30px;
     font-weight: 700;
     font-size: 0.875rem;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 1.5rem;
 }

 .residency-calc .result-badge.resident {
     background: #D1FAE5;
     color: #10B981;
 }

 .residency-calc .result-badge.non-resident {
     background: #FEF3C7;
     color: #F59E0B;
 }

 .residency-calc .result-badge.rnor {
     background: #E8F4FF;
     color: #1E5FD9;
 }

 .residency-calc .result-header {
     text-align: center !important;
     margin-bottom: 2rem;
     padding-bottom: 2rem;
     border-bottom: 2px solid #E5E7EB;
 }

 .residency-calc .result-title {
     font-size: 2rem;
     font-weight: 800;
     color: #1A1A1A;
     margin-bottom: 1rem;
     line-height: 1.2;
     letter-spacing: -0.02em;
     text-align: center !important;
 }

 .residency-calc .result-description {
     font-size: 1.0625rem;
     color: #6B7280;
     line-height: 1.6;
     max-width: 700px;
     margin: 0 auto;
 }

 .residency-calc .result-card {
     background: #F9FAFB;
     border-radius: 16px;
     padding: 2rem;
     margin-bottom: 1.5rem;
     border: 1px solid #E5E7EB;
 }

 .residency-calc .result-card-title {
     font-size: 1.25rem;
     font-weight: 700;
     color: #1A1A1A;
     margin-bottom: 1.25rem;
     padding-bottom: 0.75rem;
     border-bottom: 2px solid #2B7FFF;
 }

 .residency-calc .answer-summary {
     display: grid;
     gap: 0.75rem;
 }

 .residency-calc .answer-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 0.875rem 0;
     border-bottom: 1px solid #E5E7EB;
 }

 .residency-calc .answer-item:last-child {
     border-bottom: none;
 }

 .residency-calc .answer-label {
     color: #6B7280;
     font-size: 0.9375rem;
     font-weight: 500;
 }

 .residency-calc .answer-value {
     font-weight: 700;
     color: #1A1A1A;
     font-size: 0.9375rem;
 }

 .residency-calc .implications-text {
     font-size: 0.9375rem;
     color: #6B7280;
     line-height: 1.7;
 }

 .residency-calc .highlight-box {
     background: linear-gradient(135deg, #2B7FFF 0%, #1E5FD9 100%);
     color: white;
     padding: 2rem;
     border-radius: 16px;
     margin: 2rem 0;
     box-shadow: 0 8px 24px rgba(43, 127, 255, 0.1);
     text-align: center;
 }

 .residency-calc .highlight-box h3 {
     font-size: 1.375rem;
     font-weight: 700;
     margin-bottom: 0.75rem;
     color: white;
 }

 .residency-calc .highlight-box p {
     font-size: 1.0625rem;
     opacity: 0.95;
     line-height: 1.6;
     color: white;
 }

 .residency-calc .disclaimer {
     background: #FEF3C7;
     border-left: 4px solid #F59E0B;
     border-radius: 12px;
     padding: 1.5rem;
     margin: 2rem 0;
     font-size: 0.875rem;
     color: #6B7280;
     line-height: 1.6;
 }

 .residency-calc .disclaimer strong {
     color: #1A1A1A;
     font-weight: 700;
 }

 .residency-calc .action-buttons {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1rem;
     margin-top: 2rem;
 }

 @media (max-width: 768px) {
     .residency-calc body {
         padding: 1rem 0.5rem;
     }

     .residency-calc h3 {
         font-size: 2rem;
     }

     .residency-calc .card {
         padding: 1.5rem;
     }

     .residency-calc .question-text {
         font-size: 1.25rem;
     }

     .residency-calc .action-buttons {
         grid-template-columns: 1fr;
     }

     .residency-calc .buttons {
         flex-direction: column;
     }

     .residency-calc .btn-secondary {
         order: -1;
     }
 }

 @media (max-width:767px) {
     .residency-calc .answer-item {
         align-items: start;
         flex-direction: column;

     }

     .residency-calc .header-section, .residency-calc .card { 
         padding: 0; 
         box-shadow: none; 
         border: 0;
     }
     .residency-calc .card{
        padding:0;
     }
 }/* End custom CSS */