/* Global Styles & Reset */
:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-text: #f8f9fa;
    --dark-text: #212529;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 1.6rem;
    overflow-x: hidden;
    min-height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--dark-text);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 12px 2rem;
    box-sizing: border-box;
}

.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 5rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 6rem;
    height: 0.3rem;
    background-color: var(--accent-color);
    left: 50%;
    bottom: -1rem;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.8rem;
    color: #777;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 0.4rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
}

.btn-lg {
    padding: 1.5rem 3.5rem;
    font-size: 1.6rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav ul li {
    margin-left: 3rem;
}

.desktop-nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.6rem;
    position: relative;
}

.desktop-nav ul li a:hover {
    color: var(--primary-color);
}

.desktop-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.desktop-nav ul li a:hover:after {
    width: 100%;
}

/* Mobile Menu Redesign */
.mobile-menu-btn {
    display: none;
    font-size: 2.4rem;
    cursor: pointer;
    color: var(--primary-color);
    width: 4.5rem;
    height: 4.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background-color: rgba(0, 86, 179, 0.1);
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 86, 179, 0.2);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.mobile-nav.active {
    left: 0;
    opacity: 1;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.8rem;
    color: var(--light-text);
    cursor: pointer;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.mobile-nav .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
}

.mobile-nav ul li {
    margin-bottom: 2.5rem;
    width: 80%;
    max-width: 30rem;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-nav.active ul li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav.active ul li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active ul li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active ul li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active ul li:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav.active ul li:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav ul li a {
    color: var(--light-text);
    font-size: 2.2rem;
    font-weight: 600;
    display: block;
    padding: 1.2rem 0;
    border-radius: 0.8rem;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a:active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Hero Section with Slider */
.hero {
    height: 100vh;
    min-height: 60rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.4rem;
    color: #777;
}

/* Calculator Section Styles */
.calculator.section.bg-light {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
    padding-bottom: 8rem;
}

.calculator.section.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 59, 126, 0.03) 0%, rgba(0, 86, 179, 0.06) 100%);
    z-index: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.calculator-wrapper {
    position: relative;
    margin-bottom: 5rem;
}

.calculator-intro {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 90rem;
    margin: 0 auto 4rem;
    background-color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.calculator-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #003b7e, #0056b3);
    border-radius: 1.5rem 1.5rem 0 0;
}

.intro-icon {
    background-color: rgba(0, 59, 126, 0.1);
    width: 8rem;
    height: 8rem;
    min-width: 8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-icon i {
    font-size: 3rem;
    color: #003b7e;
}

.intro-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #003b7e;
}

.intro-text p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

.calculator-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 120rem;
    margin: 0 auto;
}

.calculator-form-card {
    flex: 1;
    max-width: 55rem;
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-header {
    padding: 2rem;
    background-color: #003b7e;
    text-align: center;
}

.card-header h3 {
    color: white;
    font-size: 2rem;
    margin: 0;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem;
}

.calculator-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-input-group label {
    font-weight: 600;
    font-size: 1.6rem;
    color: #333;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input {
    width: 100%;
    padding: 1.5rem;
    padding-right: 3.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    background-color: #f8fafc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #003b7e;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 59, 126, 0.1);
}

.input-icon {
    position: absolute;
    right: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #666;
}

.calculator-input-group select {
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    background-color: #f8fafc;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23003b7e" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 3.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
    transition: all 0.3s ease;
}

.calculator-input-group select:focus {
    outline: none;
    border-color: #003b7e;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 59, 126, 0.1);
}

.calculator-btn {
    padding: 1.6rem 3rem;
    font-size: 1.6rem;
    background-color: #003b7e;
    border-radius: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 59, 126, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.calculator-btn i {
    font-size: 1.8rem;
}

.calculator-btn:hover {
    background-color: #00275a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 59, 126, 0.35);
}

.calculator-info-card {
    flex: 1;
    max-width: 40rem;
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.info-header {
    padding: 2rem;
    background-color: #e0f7fa;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.info-header i {
    font-size: 2.4rem;
    color: #00acc1;
}

.info-header h3 {
    color: #003b7e;
    font-size: 2rem;
    margin: 0;
}

.info-benefits {
    padding: 3rem;
    list-style: none;
    margin: 0;
}

.info-benefits li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 0;
    font-size: 1.6rem;
    color: #333;
    border-bottom: 1px solid #f3f4f6;
}

.info-benefits li:last-child {
    border-bottom: none;
}

.info-benefits li i {
    color: #4caf50;
    font-size: 1.8rem;
}

.calculator-results-wrapper {
    max-width: 120rem;
    margin: 0 auto;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.results-header h3 {
    font-size: 2.2rem;
    color: #003b7e;
    margin: 0;
}

.last-update {
    font-size: 1.4rem;
    color: #666;
    margin: 0;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bank-card {
    display: grid;
    grid-template-columns: auto 13rem 1fr 15rem 18rem auto;
    align-items: center;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #003b7e;
    transition: all 0.3s ease;
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.bank-card:hover::before {
    background-color: #0056b3;
}

.bank-rank {
    position: absolute;
    top: 0;
    right: 3rem;
}

.rank-badge {
    display: inline-block;
    background-color: #003b7e;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0 0 0.8rem 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.bank-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.bank-logo img {
    max-width: 100%;
    max-height: 5rem;
    object-fit: contain;
}

.bank-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bank-info h3 {
    font-size: 1.8rem;
    color: #003b7e;
    margin: 0;
}

.bank-info p {
    font-size: 1.4rem;
    color: #666;
    margin: 0;
}

.bank-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.bank-rating i {
    color: #ffc107;
    font-size: 1.4rem;
}

.bank-rating span {
    font-size: 1.3rem;
    color: #666;
    margin-left: 0.5rem;
}

.bank-security {
    text-align: center;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #e7f5fe;
    color: #0369a1;
    padding: 1rem 1.5rem;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 600;
}

.security-badge i {
    font-size: 1.6rem;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 1.3rem;
    color: #666;
    font-weight: 600;
}

.rate-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #003b7e;
}

.earnings-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #38a169;
}

.bank-cta {
    text-align: center;
}

.btn-bank {
    display: inline-block;
    padding: 1.2rem 2rem;
    font-size: 1.5rem;
    background-color: #003b7e;
    color: white;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 59, 126, 0.15);
}

.btn-bank:hover {
    background-color: #00275a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 59, 126, 0.25);
}

.results-footer {
    margin-top: 4rem;
    text-align: center;
}

.results-footer p {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 2rem;
}

/* Responsive Styles for Calculator Section */
@media (max-width: 1200px) {
    .calculator-content {
        flex-direction: column;
        align-items: center;
    }
    
    .calculator-form-card,
    .calculator-info-card {
        max-width: 90rem;
        width: 100%;
    }
    
    .bank-card {
        grid-template-columns: auto 10rem 1fr 12rem 12rem auto;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .calculator-intro {
        flex-direction: column;
        padding: 2.5rem;
        text-align: center;
    }
    
    .intro-icon {
        margin: 0 auto;
    }
    
    .calculator-results-wrapper {
        padding: 0 1.5rem;
    }
    
    .bank-card {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "rank rank"
            "logo info"
            "security security"
            "details details"
            "cta cta";
        gap: 2rem;
        padding: 2rem;
        margin-bottom: 2.5rem;
        border-radius: 1.2rem;
        transition: all 0.3s ease;
    }
    
    .bank-card:last-child {
        margin-bottom: 0;
    }
    
    .bank-rank {
        position: relative;
        top: unset;
        right: unset;
        grid-area: rank;
        text-align: center;
        margin-bottom: 10rem;
    }
    
    .rank-badge {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        padding: 0.7rem 2rem;
    }
    
    .bank-logo {
        grid-area: logo;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .bank-info {
        grid-area: info;
        align-self: center;
    }
    
    .bank-security {
        grid-area: security;
        text-align: center;
        margin: 1rem 0;
    }
    
    .bank-details {
        grid-area: details;
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
        padding: 1.5rem 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .bank-cta {
        grid-area: cta;
        padding-top: 1.5rem;
    }
    
    .results-footer {
        margin-top: 3rem;
        padding: 2rem;
        background-color: #fff;
        border-radius: 1.2rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }
    
    .results-footer .btn {
        padding: 1.2rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .results-header h3 {
        font-size: 2rem;
    }
    
    .bank-details {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .detail-item {
        text-align: center;
    }
    
    .bank-card::before {
        width: 100%;
        height: 5px;
        top: 0;
        left: 0;
    }
    
    .security-badge {
        padding: 0.8rem 1.2rem;
        font-size: 1.3rem;
    }
    
    .bank-card:hover {
        transform: translateY(-3px);
    }
    
    .btn-bank {
        width: 100%;
        max-width: 25rem;
    }
    
    .results-footer p {
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .calculator-form {
        padding: 2rem;
    }
    
    .calculator-results-wrapper {
        padding: 0 1rem;
    }
    
    .bank-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "rank"
            "logo"
            "info"
            "security"
            "details"
            "cta";
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .bank-logo {
        margin: 0.5rem auto 1rem;
        max-width: 12rem;
    }
    
    .bank-logo img {
        max-height: 4rem;
    }
    
    .bank-info h3 {
        font-size: 1.8rem;
    }
    
    .bank-rating {
        justify-content: center;
    }
    
    .bank-security {
        margin: 0.5rem 0;
    }
    
    .info-benefits li {
        font-size: 1.5rem;
    }
    
    .security-badge {
        font-size: 1.3rem;
        padding: 0.7rem 1.2rem;
        display: flex;
        justify-content: center;
    }
    
    .detail-item {
        margin-bottom: 0.5rem;
    }
    
    .detail-label {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .rate-value,
    .earnings-value {
        font-size: 2rem;
    }
    
    .bank-cta {
        padding-top: 1rem;
    }
    
    .btn-bank {
        padding: 1.2rem 1.8rem;
        font-size: 1.4rem;
    }
    
    .results-footer {
        padding: 1.8rem 1.5rem;
    }
    
    .results-footer .btn {
        width: 100%;
        padding: 1.2rem 1.8rem;
        font-size: 1.4rem;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 1.5rem;
}

/* Rates Section */
.rates-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 0.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #fff;
}

.rates-table th,
.rates-table td {
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

.rates-table th {
    font-weight: 600;
    background-color: #003b7e;
    color: var(--light-text);
    text-align: center;
    font-size: 1.5rem;
}

.rates-table th:first-child {
    text-align: left;
}

.rates-table td:first-child {
    font-weight: 600;
    background-color: #f8f9fa;
}

.rates-table tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.rates-table tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.star-rating {
    color: #ffc107;
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
}

.star-rating i {
    margin: 0 2px;
}

.features-cell {
    font-size: 1.3rem;
    line-height: 1.6;
    padding: 1.5rem !important;
    color: #444;
}

.features-cell br {
    line-height: 2.2;
}

.rates-cta {
    text-align: center;
    margin-top: 4rem;
}

.rates-cta .btn {
    font-size: 1.6rem;
    background-color: #003b7e;
    box-shadow: 0 4px 8px rgba(0, 59, 126, 0.25);
    padding: 1.5rem 3rem;
}

.rates-cta .btn:hover {
    background-color: #00275a;
}

/* Contact Section */
.contact.section.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact.section.bg-light::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 10% 10%, rgba(0, 123, 255, 0.05), transparent 400px);
    pointer-events: none;
}

.contact-content {
    display: flex;
    gap: 5rem;
    position: relative;
    z-index: 1;
}

.contact-form-container {
    flex: 1;
    background-color: #fff;
    padding: 4rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #003b7e, #0056b3);
}

.contact-form-container h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: #003b7e;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 1.7rem;
    margin-bottom: 3rem;
    color: #666;
    position: relative;
    padding-bottom: 2rem;
}

.contact-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 3px;
    background: linear-gradient(90deg, #003b7e, #0056b3, transparent);
}

.offer-form .form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.offer-form .form-group {
    flex: 1;
    position: relative;
    margin-bottom: 0;
}

.offer-form .form-group.full-width {
    flex: 0 0 100%;
}

.offer-form input,
.offer-form select,
.offer-form textarea {
    width: 100%;
    padding: 1.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    color: #444;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
}

.offer-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23003b7e" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 3.5rem;
}

.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
    outline: none;
    border-color: #003b7e;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 59, 126, 0.1);
}

.offer-form input::placeholder,
.offer-form textarea::placeholder {
    color: #a0aec0;
}

/* Country Selector Dropdown */
.country-select-container {
    position: relative;
    min-width: 9rem;
}

.country-select-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 1.5rem;
    background-color: #f0f4f8;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-radius: 0.6rem 0 0 0.6rem;
    height: 4.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.country-select-toggle:hover {
    background-color: #e6edf5;
}

.country-select-toggle::after {
    content: '';
    width: 0.8rem;
    height: 0.8rem;
    border-right: 2px solid #627d98;
    border-bottom: 2px solid #627d98;
    transform: rotate(45deg);
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.country-select-toggle.active::after {
    transform: rotate(-135deg);
    margin-top: 0.5rem;
}

.country-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 24rem;
    max-height: 30rem;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.country-select-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease forwards;
}

.country-select-search {
    padding: 1rem;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 2;
    border-bottom: 1px solid #e2e8f0;
}

.country-select-search input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    background-color: #f8fafc;
}

.country-select-search input:focus {
    outline: none;
    border-color: #003b7e;
    box-shadow: 0 0 0 3px rgba(0, 59, 126, 0.1);
}

.country-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.country-option:hover {
    background-color: #f0f4f8;
}

.country-option.selected {
    background-color: rgba(0, 86, 179, 0.08);
}

.country-flag {
    width: 2.2rem;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.country-name {
    font-size: 1.4rem;
    color: #2d3748;
    flex: 1;
}

.country-code {
    font-size: 1.4rem;
    font-weight: 600;
    color: #003b7e;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Replace the existing phone-prefix styles */
.offer-form .phone-group {
    display: flex;
    align-items: center;
    position: relative;
}

.offer-form .phone-prefix {
    /* This style will be replaced by country-select-toggle */
    display: none;
}

.offer-form .phone-group input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    flex: 1;
}

.checkbox-group {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 3.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: #4a5568;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 2.4rem;
    width: 2.4rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
}

.checkbox-container:hover .checkmark {
    border-color: #003b7e;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #003b7e;
    border-color: #003b7e;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-benefits {
    flex: 1;
    padding: 4rem 3rem;
    position: relative;
}

.contact-benefits h2 {
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    color: #003b7e;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.contact-benefits h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #003b7e, transparent);
    left: 0;
    bottom: -1.2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.7rem;
    line-height: 1.6;
    color: #444;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: translateX(0);
    transition: all 0.3s ease;
    border-left: 3px solid #28a745;
}

.benefits-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefits-list i {
    color: #28a745;
    font-size: 2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.offer-form .btn {
    font-size: 1.7rem;
    background-color: #003b7e;
    border-radius: 0.8rem;
    padding: 1.6rem;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 59, 126, 0.25);
    font-weight: 600;
    letter-spacing: 0.05rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.offer-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.offer-form .btn:hover {
    background-color: #00275a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 59, 126, 0.35);
}

.offer-form .btn:hover::before {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form-container {
        padding: 3rem;
    }
    
    .contact-benefits {
        padding: 3rem 2rem;
    }
    
    .contact-benefits h2 {
        text-align: center;
        margin-left: 0;
    }
    
    .contact-benefits h2:after {
        left: 25%;
        width: 50%;
    }
    
    .benefits-list li {
        max-width: 65rem;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .offer-form .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-benefits h2 {
        font-size: 2.4rem;
    }
    
    .benefits-list li {
        font-size: 1.6rem;
        width: 100%;
    }
    
    .contact-subtitle:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-subtitle {
        text-align: center;
    }
    
    .contact-form-container h2 {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 2.5rem 2rem;
    }
    
    .contact-form-container h2 {
        font-size: 2.2rem;
    }
    
    .contact-benefits h2 {
        font-size: 2.2rem;
    }
    
    .benefits-list li {
        font-size: 1.5rem;
        padding: 1.2rem;
        width: 100%;
    }
    
    .benefits-list i {
        font-size: 1.8rem;
    }
}

/* Footer Redesign */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer-top {
    padding: 6rem 0 4rem;
    position: relative;
}

.footer-top:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.1), transparent 60%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo h2 {
    color: var(--light-text);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-logo h2:after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 0.3rem;
    background-color: var(--accent-color);
    left: 0;
    bottom: -0.8rem;
}

.footer-about p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #adb5bd;
    margin-bottom: 2rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.footer-contact-item i {
    font-size: 1.6rem;
    color: var(--accent-color);
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.footer-contact-item span {
    font-size: 1.5rem;
    color: #adb5bd;
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-links-column h3 {
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.footer-links-column h3:after {
    content: '';
    position: absolute;
    width: 4rem;
    height: 0.3rem;
    background-color: var(--accent-color);
    left: 0;
    bottom: -1rem;
}

.footer-links-column ul li {
    margin-bottom: 1.2rem;
}

.footer-links-column a {
    color: #adb5bd;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    font-size: 1.5rem;
    padding: 0.3rem 0;
}

.footer-links-column a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--light-text);
    transition: var(--transition);
}

.footer-links-column a:hover {
    color: var(--accent-color);
    transform: translateX(8px);
    transition: all 0.3s ease;
}

.footer-links-column a:hover:before {
    width: 100%;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-payments span {
    color: #adb5bd;
    font-size: 1.4rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
}

.payment-icons i {
    font-size: 2rem;
    color: var(--light-text);
    transition: var(--transition);
}

.payment-icons i:hover {
    color: var(--accent-color);
}

.footer-legal-btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 0.4rem;
    font-size: 1.4rem;
    transition: var(--transition);
    text-align: center;
}

.footer-legal-btn:hover {
    background-color: var(--accent-color);
    color: var(--dark-text);
    transform: translateY(-2px);
}

/* Mobile Footer Styles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-logo h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-info {
        max-width: 40rem;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 5rem 0 3rem;
    }
    
    .footer-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
    
    .footer-links-column {
        text-align: center;
    }
    
    .footer-links-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links-column h3 .fas.fa-compass {
        font-size: 1.8rem;
    }
    
    .footer-links-column h3 .nav-title-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 4rem 0 2rem;
    }
    
    .footer-links-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links-column h3 {
        font-size: 1.8rem;
    }
    
    .footer-links-column ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 1.5rem;
    }
    
    .footer-links-column ul li {
        margin: 0;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
}

.about, .features, .rates, .contact {
    flex: 1 0 auto;
}

/* Fix for potential layout issues */
main {
    flex: 1 0 auto;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Make sure sections don't add extra margins at the bottom */
section:last-of-type {
    margin-bottom: 0;
}

/* Fix for any space under footer */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    /* Footer styles are now in the Mobile Footer Styles section */
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .hero {
        min-height: 50rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer styles are now in the Mobile Footer Styles section */
}

@media (max-width: 576px) {
    html, body {
        overflow-x: hidden;
    }
    
    html {
        font-size: 54%;
    }
    
    .section {
        padding: 5rem 0;
        width: 100%;
    }
    
    .hero {
        min-height: 45rem;
    }
    
    .rates-table th,
    .rates-table td {
        padding: 1rem;
    }
    
    /* Footer styles are now in the Mobile Footer Styles section */
}

/* Animation Styles */
.animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation delay for staggered elements */
.feature-card:nth-child(1),
.contact-item:nth-child(1),
.footer-links-column:nth-child(1) { animation-delay: 0.1s; }

.feature-card:nth-child(2),
.contact-item:nth-child(2),
.footer-links-column:nth-child(2) { animation-delay: 0.2s; }

.feature-card:nth-child(3),
.contact-item:nth-child(3),
.footer-links-column:nth-child(3) { animation-delay: 0.3s; }

.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Shake animation for form validation */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Form error and success messages */
.error-message,
.success-message {
    padding: 1.5rem;
    border-radius: 0.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeIn 0.5s ease-out forwards;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-left: 4px solid #28a745;
    padding: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.error-message i,
.success-message i {
    margin-right: 0.8rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Form field error state */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Responsive styles for calculator section */
@media (max-width: 1200px) {
    .bank-card {
        grid-template-columns: 10rem 15rem 10rem 7rem 7rem 10rem 1fr;
    }
}

@media (max-width: 992px) {
    .calculator-form {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }
    
    .bank-card {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .bank-logo {
        grid-column: 1;
        grid-row: 1;
    }
    
    .bank-info {
        grid-column: 2;
        grid-row: 1;
    }
    
    .bank-security {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
    }
    
    .bank-rate {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
    }
    
    .bank-earnings {
        grid-column: 1;
        grid-row: 3;
        text-align: left;
    }
    
    .bank-badges {
        grid-column: 2;
        grid-row: 3;
        justify-content: flex-start;
    }
    
    .bank-cta {
        grid-column: 1 / span 2;
        grid-row: 4;
    }
}

@media (max-width: 576px) {
    .calculator-desc p {
        font-size: 1.6rem;
    }
    
    .bank-card {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, auto);
        text-align: center;
        gap: 1.5rem;
    }
    
    .bank-logo {
        grid-column: 1;
        grid-row: 1;
    }
    
    .bank-info {
        grid-column: 1;
        grid-row: 2;
    }
    
    .bank-security {
        grid-column: 1;
        grid-row: 3;
        text-align: center;
    }
    
    .bank-rate {
        grid-column: 1;
        grid-row: 4;
        text-align: center;
    }
    
    .bank-earnings {
        grid-column: 1;
        grid-row: 5;
        text-align: center;
    }
    
    .bank-badges {
        grid-column: 1;
        grid-row: 6;
        justify-content: center;
    }
    
    .bank-cta {
        grid-column: 1;
        grid-row: 7;
    }
}

/* IntlTelInput Styles */
.iti {
    width: 100%;
    margin-bottom: 0;
}

.iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");
    }
}

.phone-input-container {
    width: 100%;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px 0 0 5px;
}

.iti--separate-dial-code input.form-control {
    padding-left: 90px;
}

.iti--allow-dropdown input {
    padding: 12px 16px 12px 90px;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border-color 0.3s;
}

.iti--allow-dropdown input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.25);
}

.iti__country-list {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 250px;
}

.iti__country {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.iti__country.iti__highlight,
.iti__country:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.iti__country-name,
.iti__dial-code {
    font-size: 14px;
}

.iti__flag-container:hover {
    cursor: pointer;
}

/* Adjust phone input to match other form elements */
#phone {
    height: auto;
}

/* Form Message Styles */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Custom Navigation Heading in Footer */
.footer-links-column h3 .fas.fa-compass {
    margin-right: 0.8rem;
    color: var(--accent-color);
    animation: pulse 2s infinite ease-in-out;
}

.footer-links-column h3 .nav-title-text {
    background: linear-gradient(90deg, var(--light-text) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
} 