/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #fff;
    padding: 2px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1;
}

.logo-text .tagline {
    font-size: 12px;
    color: #666;
    margin: 2px 0 0 0;
}

.logo-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wave-line {
    width: 30px;
    height: 3px;
    background-color: #4CAF50;
    border-radius: 2px;
}

.wave-line:nth-child(1) {
    width: 20px;
}

.wave-line:nth-child(2) {
    width: 25px;
}

.wave-line:nth-child(3) {
    width: 30px;
}

.tagline {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.navigation {
    display: flex;
    gap: 30px;
}

/* Hide navigation on smaller screens, show hamburger */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Remove default browser click effects */
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Remove focus and active states that cause default click effects */
.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible {
    outline: none;
    background-color: transparent;
    color: #333;
}

/* Only show green background for .active class, not default browser states */
.nav-link:not(.active):focus,
.nav-link:not(.active):active,
.nav-link:not(.active):focus-visible {
    background-color: transparent;
    color: #333;
}

.nav-link.active {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
}

.nav-link:hover {
    background-color: #45a049;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    /* margin-top: 80px; */
    margin-top: 2px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__content { 
    position: relative; 
    background: transparent; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    max-width: 50%;
    padding-left: 0%;
    padding-right: 60px;
    z-index: 3;
    position: relative;
    margin-top: -25%;
}

/* Ensure hero text doesn't get too cramped on medium screens */
@media (max-width: 1200px) {
    .hero-text {
        padding-right: 40px;
        margin-top: -20%;
    }
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.1;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}


.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: #4CAF50;
    color: white;
    border: 2px solid #4CAF50;
}

.btn-outline:hover {
    background-color: #45a049;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #4CAF50;
    color: white;
}

.btn-secondary:hover {
    background-color: #45a049;
}

/* Hero Slider Section */
.hero-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    z-index: 1;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 21%;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Calculator Widget */
.calculator-widget { 
    position: absolute;
    top: 15%;
    right: 10%;
    z-index: 4; 
    background-color: hsl(217.5deg 4.4% 35.69%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    min-width: 350px;
    max-width: 350px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

/* Ensure calculator widget doesn't overflow on smaller screens */
@media (max-width: 1200px) {
    .calculator-widget {
        right: 5%;
        min-width: 320px;
        max-width: 320px;
    }
}

.calculator-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 600;
    text-align: left;
}

.estimator-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.amount-label label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.slider-container {
    position: relative;
}

.slider-wrapper {
    position: relative;
    margin: 15px 0;
}

.slider-wrapper input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #4CAF50 0%, #4CAF50 10%, #666 10%, #666 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    border: 2px solid white;
    position: relative;
}

.slider-wrapper input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.amount-bubble {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: none;
}

.amount-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #4CAF50;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: white;
    margin-top: 10px;
}

.btn-estimate {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-estimate:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Remove hero slider styles - not needed for reference design */

/* About Us Section */
.about-us-section {
    background-color: #fff;
    padding: 100px 0 80px;
    /*margin-top: 80px;*/
}

.about-us-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-us-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* Loan Selector Section */
.loan-selector {
    background-color: #f0f8f0;
    padding: 60px 0;
}

.loan-selector-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
}

.loan-selector-left {
    flex: 1;
    text-align: left;
}

.loan-selector-left h2 {
    font-size: 2rem;
    color: #333;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.loan-selector-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.amount-display {
    background-color: white;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    min-width: 260px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.amount-display:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.slider-container {
    width: 100%;
    position: relative;
}

#loan-amount-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: hsl(125.45deg 24.09% 73.14%);
    outline: none;
    margin: 8px 0;
    -webkit-appearance: none;
    appearance: none;
}

#loan-amount-slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 2px solid white;
}

#loan-amount-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-range {
    display: flex;
    justify-content: space-between;
    color: #333;
    font-size: 14px;
    margin-top: 3px;
    font-weight: 500;
}

/* Ways to Borrow Section */
.ways-to-borrow {
    background-color: #f8f9fa;
    padding: 30px 0;
}

.ways-to-borrow h2 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    font-weight: 700;
}

.ways-to-borrow h3 {
    font-size: 1.8rem;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 1000px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.loan-features {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 20px;
}

.feature-bar {
    width: 4px;
    height: 30px;
    background-color: #333;
    flex-shrink: 0;
    margin-top: 0;
    align-self: center;
}

.feature-content h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Us Section */
.contact-us {
    background-color: #fff;
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-left h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.contact-value {
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #4CAF50;
}

.callback-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.callback-text {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.btn-callback {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.btn-callback:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-callback:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.callback-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
    font-weight: 500;
    line-height: 1.2;
    min-height: 16px;
    transition: all 0.3s ease;
}

.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 67, 0.1);
}

.form-group input.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 67, 0.1);
}

/* Footer */
.footer {
    background-color: white;
    color: #333;
    padding: 30px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-logo-link:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-logo .logo-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-logo .wave-line {
    width: 30px;
    height: 3px;
    background-color: #4CAF50;
    border-radius: 2px;
}

.footer-logo .wave-line:nth-child(1) {
    width: 20px;
}

.footer-logo .wave-line:nth-child(2) {
    width: 25px;
}

.footer-logo .wave-line:nth-child(3) {
    width: 30px;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1;
}

.footer-logo .tagline {
    color: #666;
    font-size: 12px;
    margin: 2px 0 0 0;
}

.footer-description {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.address h4,
.support h4 {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address p {
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    background-color: #f0f8f0;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.contact-item.phone-item {
    position: relative;
}

.contact-item.phone-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.3), transparent);
    transition: left 0.6s ease;
}

.contact-item.phone-item:hover::before {
    left: 100%;
}

.contact-item.phone-item .phone-number {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #4CAF50;
}

.contact-item.phone-item:hover .phone-number {
    color: #2e7d32;
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.contact-item.phone-item .phone-icon {
    transition: all 0.3s ease;
    animation: phonePulse 2s infinite;
}

.contact-item.phone-item:hover .phone-icon {
    transform: scale(1.2) rotate(15deg);
    animation: phoneRing 0.5s ease-in-out;
}

@keyframes phonePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes phoneRing {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-15deg);
    }
    75% {
        transform: scale(1.2) rotate(15deg);
    }
    100% {
        transform: scale(1.2) rotate(0deg);
    }
}

.contact-item.phone-item .phone-number::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2e7d32);
    transition: width 0.3s ease;
}

.contact-item.phone-item:hover .phone-number::after {
    width: 100%;
}

/* Email item specific styles */
.contact-item.email-item {
    position: relative;
}

.contact-item.email-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.3), transparent);
    transition: left 0.6s ease;
}

.contact-item.email-item:hover::before {
    left: 100%;
}

.contact-item.email-item .email-address {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #2196F3;
}

.contact-item.email-item:hover .email-address {
    color: #1976D2;
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}

.contact-item.email-item .email-icon {
    transition: all 0.3s ease;
    animation: emailPulse 3s infinite;
}

.contact-item.email-item:hover .email-icon {
    transform: scale(1.2) rotate(-5deg);
    animation: emailBounce 0.5s ease-in-out;
}

.contact-item.email-item .email-address::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2196F3, #1976D2);
    transition: width 0.3s ease;
}

.contact-item.email-item:hover .email-address::after {
    width: 100%;
}

@keyframes emailPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes emailBounce {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-10deg);
    }
    75% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1.2) rotate(0deg);
    }
}

.contact-icon {
    font-size: 16px;
    color: #333;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* Black phone icon */
.phone-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Black email icon */
.email-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-item span:last-child {
    color: #333;
    font-size: 14px;
}

/* Clickable contact links */
.contact-item a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    text-decoration: none;
}

.contact-item.phone-item a {
    color: #4CAF50;
    font-weight: 600;
}

.contact-item.phone-item:hover a {
    color: #2e7d32;
}

.contact-item.email-item a {
    color: #2196F3;
    font-weight: 600;
}

.contact-item.email-item:hover a {
    color: #1976D2;
}

/* Click feedback animation */
.contact-item.clicked {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Notification styles */
.contact-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.contact-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile-specific styles for contact items */
@media (max-width: 768px) {
    .contact-item {
        padding: 12px;
        border-radius: 8px;
        background: rgba(76, 175, 80, 0.05);
        border: 1px solid rgba(76, 175, 80, 0.1);
    }
    
    .contact-item.phone-item {
        background: rgba(76, 175, 80, 0.05);
        border-color: rgba(76, 175, 80, 0.2);
    }
    
    .contact-item.email-item {
        background: rgba(33, 150, 243, 0.05);
        border-color: rgba(33, 150, 243, 0.2);
    }
    
    .contact-item:active {
        transform: scale(0.98);
        background: rgba(76, 175, 80, 0.1);
    }
}

.footer-middle,
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 60px;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.link-column a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.link-column a:hover {
    color: #4CAF50;
}

.footer-bottom {
    background-color: #E8F5E8;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: #4caf50;
    color: #fdfdfd;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    background-color: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}


.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* Mobile touch targets */
@media (max-width: 768px) {
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
        margin: 0;
        z-index: 1002;
        display: flex !important;
    }
    
    .hamburger-line {
        height: 3px;
        background-color: #333;
        display: block !important;
    }
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
/* Large Desktop */
@media (max-width: 1400px) {
    .calculator-widget {
        right: 5%;
        min-width: 320px;
        max-width: 320px;
    }
}

/* Tablet View */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .navigation {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .calculator-widget {
        min-width: 300px;
        max-width: 300px;
        padding: 20px;
        right: 5%;
    }
    
    .hero-text {
        padding-right: 20px;
    }
    
    .loan-features {
        gap: 30px 40px;
    }
}

/* Mobile View - Tablets */
@media (max-width: 768px) {
    /* Header */
    .header {
        padding: 10px 0;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .navigation {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .navigation.active {
        display: flex;
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 20px;
        border-radius: 6px;
        margin-bottom: 5px;
        text-align: left;
        font-size: 13px;
        white-space: normal;
    }
    
    .nav-link.active {
        background-color: #4CAF50;
        color: white;
    }
    
    /* Hero Section */
    .hero {
        margin-top: 70px;
        min-height: auto;
        padding: 40px 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero__content {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
        order: 1;
        margin-bottom: 16px;
    }
    
    .hero-text {
        max-width: 100%;
        padding: 0;
        margin-top: 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        white-space: normal;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .calculator-widget {
        position: relative;
        top: auto;
        right: auto;
        width: 95%;
        max-width: 100%;
        min-width: auto;
        margin: 10px auto 20px;
        order: 2;
        z-index: 1;
        /* Ensure proper spacing for bubble */
        padding-top: 50px;
    }
    
    .hero-slider {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: 20px;
        order: 3;
        z-index: 0;
    }
    
    /* Loan Selector */
    .loan-selector {
        padding: 40px 0;
        margin-top: 16px;
    }
    
    .loan-selector-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .loan-selector-left {
        text-align: center;
    }
    
    .loan-selector-left h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .amount-display {
        font-size: 1.3rem;
        min-width: 200px;
    }
    
    /* About Us Section */
    .about-us-section {
        padding: 60px 0 50px;
        margin-top: 70px;
    }
    
    .about-us-content h1 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* Ways to Borrow */
    .ways-to-borrow {
        padding: 40px 0;
        margin-top: 16px;
    }
    
    .ways-to-borrow h2 {
        font-size: 1.8rem;
    }
    
    .ways-to-borrow h3 {
        font-size: 1.3rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 15px;
        margin: 0 auto 30px;
    }
    
    .loan-features {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    /* Contact Us */
    .contact-us {
        padding: 50px 0;
        margin-top: 16px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-left h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-callback {
        width: 100%;
        max-width: 300px;
        align-self: center;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .footer-middle,
    .footer-right {
        padding-top: 0;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile View - Small Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .logo-image {
        height: 45px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .navigation {
        width: 100%;
        right: -100%;
    }
    
    .navigation.active {
        right: 0;
    }
    
    /* Hero Section */
    .hero {
        margin-top: 65px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 14px;
    }
    
    .calculator-widget {
        padding: 18px 15px;
        margin: 8px auto 16px;
        width: 90%;
    }
    
    .calculator-widget h3 {
        font-size: 1.1rem;
    }
    
    /* Fix amount bubble positioning in mobile */
    .amount-bubble {
        position: absolute;
        top: -35px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #4CAF50;
        color: white;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        pointer-events: none;
        /* Ensure bubble stays within widget bounds */
        max-width: calc(100% - 24px);
        min-width: 80px;
        text-align: center;
    }
    
    /* Adjust bubble position for very small screens */
    @media (max-width: 360px) {
        .amount-bubble {
            font-size: 12px;
            padding: 4px 8px;
            max-width: calc(100% - 16px);
        }
        
        .calculator-widget {
            padding-top: 45px;
        }
    }
    
    .hero-slider {
        height: 240px;
        margin-top: 16px;
    }
    
    /* About Us Section */
    .about-us-section {
        padding: 50px 0 40px;
        margin-top: 65px;
    }
    
    .about-us-content h1 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    /* Loan Selector */
    .loan-selector { padding: 32px 0; }
    .loan-selector-left h2 {
        font-size: 1.3rem;
    }
    
    /* Ways to Borrow */
    .ways-to-borrow { padding: 32px 0; }
    .ways-to-borrow h2 {
        font-size: 1.5rem;
    }
    
    .ways-to-borrow h3 {
        font-size: 1.2rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .feature-content h4 {
        font-size: 1.1rem;
    }
    
    .feature-content p {
        font-size: 0.95rem;
    }
    
    /* Contact Us */
    .contact-us { padding: 36px 0; }
    .contact-left h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .contact-description {
        font-size: 0.95rem;
    }
    
    .contact-value {
        font-size: 1.1rem;
    }
    
    .callback-text {
        font-size: 0.95rem;
    }
    
    .btn-callback {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .callback-note {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-logo .logo-image {
        height: 70px;
    }
    
    .footer-logo-link:hover {
        transform: scale(1.02);
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .link-column {
        gap: 20px;
    }
    
    .link-column a {
        font-size: 13px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}





/* Master Terms and Conditions Page Styles */
.master-terms-section {
    padding: 100px 0 60px;
    background-color: #fff;
    min-height: calc(100vh - 160px);
}

.master-terms-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 20px;
}

.master-terms-content h1 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.terms-intro {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 4px solid #4CAF50;
    margin-bottom: 30px;
    text-align: center;
}

.terms-intro p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #4CAF50;
    font-weight: 600;
}

.pdf-link {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.pdf-link:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.pdf-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.terms-section {
    margin-bottom: 25px;
    background-color: #f8f9fa;
    padding: 6px 25px;
    border-radius: 6px;
    border-left: 4px solid #4CAF50;
}

.terms-section h2 {
    color: #4CAF50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.terms-section p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.fees-table {
    margin-top: 15px;
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.fee-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    gap: 20px;
}

.fee-item:hover {
    background-color: #f8f9fa;
}

.fee-item:last-child {
    border-bottom: none;
}

.fee-amount {
    font-weight: 700;
    color: #4CAF50;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
    min-width: 0;
}

.fee-description {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .master-terms-section {
        padding: 80px 0 40px;
    }
    
    .master-terms-content {
        padding: 0 15px;
    }
    
    .master-terms-content h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .terms-section {
        padding: 15px 20px;
        margin-bottom: 20px;
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .fees-table {
        margin: 10px 0;
        border-radius: 6px;
    }
    
    .fee-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .fee-amount {
        text-align: left;
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .fee-description {
        font-size: 0.95rem;
        line-height: 1.3;
    }
}
