body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
}

a {
    text-decoration: none;
}

/* Navbar styling for consistency */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 6, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar .logo img {
    height: 85px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

.btn-back {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-green);
}

/* Layout structure */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    flex-grow: 1;
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* Cards and Glassmorphism */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    height: fit-content;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.section-title-green {
    color: var(--color-green);
}

.section-title-rust {
    color: var(--color-rust);
}

/* Contact details styling */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: var(--color-green);
    flex-shrink: 0;
}

.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.contact-info p,
.contact-info a {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--color-green);
}

.numbers-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

/* Forms inputs */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-green);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 8px rgba(2, 126, 1, 0.3);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--color-rust) 0%, #be3c02 100%);
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(164, 53, 3, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 53, 3, 0.6);
}

/* Google Translate styling */
#google_translate_element select.goog-te-combo {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-family: 'Outfit', sans-serif !important;
    outline: none !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

#google_translate_element select.goog-te-combo:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--color-green) !important;
    box-shadow: 0 0 10px rgba(2, 126, 1, 0.3) !important;
}

#google_translate_element select.goog-te-combo option {
    background-color: #0b0b0c !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 6, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(2, 126, 1, 0.2);
    border: 2px solid var(--color-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px auto;
    font-size: 2.2rem;
    color: var(--color-green);
}

.modal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Sri Lanka Write-up Section */
.sri-lanka-section {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.sri-lanka-card {
    position: relative;
    background: linear-gradient(145deg, rgba(2, 126, 1, 0.06), rgba(164, 53, 3, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 44px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.sri-lanka-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green), var(--color-rust), var(--color-green));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.sri-lanka-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.sri-lanka-subheading {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    font-style: italic;
}

.sri-lanka-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.sri-lanka-preview p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.sri-lanka-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.sri-lanka-expanded.open {
    max-height: 800px;
    opacity: 1;
}

.sri-lanka-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sri-lanka-features li {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    padding-left: 4px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.sri-lanka-features li:hover {
    transform: translateX(6px);
    color: rgba(255, 255, 255, 0.95);
}

.sri-lanka-closing {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sri-lanka-closing .country-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4ade80;
}

.sri-lanka-closing .tagline-closing {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-top: 4px;
    font-style: italic;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-green);
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: rgba(2, 126, 1, 0.12);
    border-color: var(--color-green);
    box-shadow: 0 0 16px rgba(2, 126, 1, 0.2);
}

.btn-read-more .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-read-more.expanded .arrow {
    transform: rotate(180deg);
}

.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-green) 0%, #059605 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(2, 126, 1, 0.35);
    animation: subtlePulse 3s ease-in-out infinite;
}

.btn-discover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 126, 1, 0.5);
}

@keyframes subtlePulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(2, 126, 1, 0.35);
    }

    50% {
        box-shadow: 0 6px 28px rgba(2, 126, 1, 0.55);
    }
}

@media (max-width: 600px) {
    .sri-lanka-card {
        padding: 32px 24px;
    }

    .sri-lanka-heading {
        font-size: 1.5rem;
    }

    .sri-lanka-subheading {
        font-size: 1.05rem;
    }
}

/* Footer */
footer {
    padding: 45px 5%;
    text-align: center;
    background: rgba(5, 5, 6, 0.95);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 60px;
}