/* GOV-Style Design System - IRME MBBS Abroad */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #212529;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   SKIP TO CONTENT (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0b0c0c;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #ffdd00;
    outline-offset: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    margin-top: 0;
    color: #1a1a1a;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    margin-top: 30px;
    color: #1a1a1a;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    margin-top: 20px;
    color: #1a1a1a;
}

h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    margin-top: 15px;
    color: #1a1a1a;
}

p {
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 14px;
}

a {
    color: #0066cc;
    text-decoration: underline;
}

a:hover {
    color: #004499;
}

a:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 0;
    background-color: #ffdd00;
    color: #0b0c0c;
}

a:visited {
    color: #4c2c92;
}

/* Ensure buttons maintain white text even when visited */
a.btn:visited,
a.btn:visited:hover,
a.btn:visited:active,
a.btn:visited:focus {
    color: #ffffff !important;
}

/* ============================================
   CONTAINER & GRID SYSTEM
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.grid-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: stretch;
}

.contact-row {
    align-items: stretch;
}

.contact-form-card,
.contact-info-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form .form-group:last-of-type {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form .form-group:last-of-type textarea {
    flex: 1;
    min-height: 150px;
}

.grid-column {
    padding: 0 15px;
    flex: 1;
}

.grid-column-full {
    width: 100%;
    padding: 0 15px;
}

.grid-column-one-half {
    width: 50%;
    padding: 0 15px;
}

.grid-column-one-third {
    width: 33.333%;
    padding: 0 15px;
}

.grid-column-two-thirds {
    width: 66.666%;
    padding: 0 15px;
}

.grid-column-one-quarter {
    width: 25%;
    padding: 0 15px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    color: #ffffff;
}

.top-bar-item a {
    color: #ffffff;
    text-decoration: none;
}

.top-bar-item a:hover {
    color: #ff9933;
    text-decoration: underline;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-whatsapp,
.top-bar-consultation {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.3s;
}

.top-bar-whatsapp {
    background-color: #25D366;
}

.top-bar-whatsapp:hover {
    background-color: #128C7E;
    color: #ffffff;
}

.top-bar-consultation {
    background-color: #ff9933;
    font-weight: 600;
}

.top-bar-consultation:hover {
    background-color: #ff6600;
    color: #ffffff;
}

/* ============================================
   HEADER (Sticky & Enhanced)
   ============================================ */
.main-header {
    background-color: #ffffff;
    color: #212529;
    border-bottom: 3px solid #ff9933;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.main-header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 10px 0;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.3s;
}

.logo:hover .logo-text {
    color: #0066cc;
}

.logo:focus {
    outline: 3px solid #ff9933;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   NAVIGATION (Keyboard-friendly)
   ============================================ */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 15px 18px;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 3px solid transparent;
}

nav ul li a:hover {
    background-color: #f8f9fa;
    border-bottom-color: #0066cc;
    color: #0066cc;
}

nav ul li a:focus {
    outline: 3px solid #0066cc;
    outline-offset: -3px;
    background-color: #e6f2ff;
    color: #0066cc;
}

nav ul li a.active {
    border-bottom-color: #0066cc;
    font-weight: 700;
    color: #0066cc;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #212529;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
}

.menu-toggle:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 2px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    background-color: #f3f2f1;
    padding: 15px 0;
    border-bottom: 1px solid #b1b4b6;
}

.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.breadcrumbs li {
    display: inline;
    font-size: 16px;
}

.breadcrumbs li:not(:last-child)::after {
    content: " > ";
    margin: 0 5px;
    color: #505a5f;
}

.breadcrumbs a {
    color: #1d70b8;
    text-decoration: underline;
}

.breadcrumbs a:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 0;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    min-height: calc(100vh - 300px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    padding: 50px 30px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Hero buttons - must override base .btn styles */
section.hero .btn,
.hero a.btn {
    background-color: #ffffff !important;
    color: #0066cc !important;
    border-color: #ffffff !important;
    font-weight: 600;
    padding: 12px 30px;
    font-size: 16px;
}

section.hero .btn:hover,
.hero a.btn:hover {
    background-color: #f0f0f0 !important;
    color: #004499 !important;
    border-color: #f0f0f0 !important;
}

section.hero .btn:active,
.hero a.btn:active {
    background-color: #e0e0e0 !important;
    color: #004499 !important;
    border-color: #e0e0e0 !important;
}

section.hero .btn:focus,
.hero a.btn:focus {
    background-color: #ffffff !important;
    color: #0066cc !important;
    border-color: #ffffff !important;
}

/* Ensure btn-start in hero has orange text - higher specificity */
section.hero .btn.btn-start,
.hero a.btn.btn-start,
section.hero a.btn-start {
    background-color: #ffffff !important;
    color: #ff9933 !important;
    border-color: #ffffff !important;
}

section.hero .btn.btn-start:hover,
.hero a.btn.btn-start:hover,
section.hero a.btn-start:hover {
    background-color: #f0f0f0 !important;
    color: #ff6600 !important;
    border-color: #f0f0f0 !important;
}

section.hero .btn.btn-start:active,
.hero a.btn.btn-start:active,
section.hero a.btn-start:active {
    background-color: #e0e0e0 !important;
    color: #ff6600 !important;
    border-color: #e0e0e0 !important;
}

section.hero .btn.btn-start:focus,
.hero a.btn.btn-start:focus,
section.hero a.btn-start:focus {
    background-color: #ffffff !important;
    color: #ff9933 !important;
    border-color: #ffffff !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn,
button[type="submit"],
button[type="button"] {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #ffffff !important;
    text-decoration: none;
    border: 1px solid #0066cc;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    font-family: inherit;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
}

.btn:hover,
button[type="submit"]:hover,
button[type="button"]:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    color: #ffffff !important;
}

.btn:focus,
button[type="submit"]:focus,
button[type="button"]:focus {
    outline: 3px solid #ff9933;
    outline-offset: 2px;
    background-color: #0066cc;
    color: #ffffff !important;
    border-color: #0066cc;
}

.btn:active,
button[type="submit"]:active,
button[type="button"]:active {
    background-color: #003d7a;
    border-color: #003d7a;
    color: #ffffff;
    transform: scale(0.98);
}

.btn-secondary {
    background-color: #505a5f;
    border-color: #505a5f;
    color: #ffffff !important;
}

.btn-secondary:hover {
    background-color: #383f43;
    border-color: #383f43;
    color: #ffffff !important;
}

.btn-secondary:active {
    background-color: #2a2e31;
    border-color: #2a2e31;
    color: #ffffff !important;
}

.btn-secondary:focus {
    background-color: #505a5f;
    border-color: #505a5f;
    color: #ffffff !important;
}

.btn-start {
    background-color: #ffffff;
    color: #ff9933 !important;
    border-color: #ffffff;
}

.btn-start:hover {
    background-color: #f0f0f0;
    color: #ff6600 !important;
    border-color: #f0f0f0;
}

.btn-start:active {
    background-color: #e0e0e0;
    color: #ff6600 !important;
    border-color: #e0e0e0;
}

.btn-start:focus {
    background-color: #ffffff;
    color: #ff9933 !important;
    border-color: #ffffff;
}

.btn-phone {
    background-color: #0066cc;
    border-color: #0066cc;
    margin-right: 10px;
    color: #ffffff !important;
}

.btn-phone:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    color: #ffffff !important;
}

.btn-phone:active {
    background-color: #003d7a;
    border-color: #003d7a;
    color: #ffffff !important;
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: #ffffff !important;
}

.btn-whatsapp:active {
    background-color: #0f6b5f;
    border-color: #0f6b5f;
    color: #ffffff !important;
}

/* ============================================
   CARDS / SECTIONS
   ============================================ */
.card,
section {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #b1b4b6;
}

.card {
    display: flex;
    flex-direction: column;
}

.card h2,
section h2 {
    color: #0b0c0c;
    margin-top: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* ============================================
   CALLOUT BOXES
   ============================================ */
.callout {
    padding: 20px;
    margin-bottom: 30px;
    border-left: 5px solid #1d70b8;
    background-color: #f3f2f1;
}

.callout h3 {
    margin-top: 0;
    font-size: 18px;
}

.callout p:last-child {
    margin-bottom: 0;
}

.callout-info {
    border-left-color: #1d70b8;
    background-color: #e8f4f8;
}

.callout-success {
    border-left-color: #00703c;
    background-color: #d5e8d4;
}

/* ============================================
   WARNING BOX
   ============================================ */
.warning-box {
    padding: 20px;
    margin-bottom: 30px;
    border: 5px solid #f47738;
    background-color: #fff4e5;
}

.warning-box h3 {
    margin-top: 0;
    color: #942514;
    font-size: 18px;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   NOTICE BANNER
   ============================================ */
.notice-banner {
    background-color: #1d70b8;
    color: #ffffff;
    padding: 15px 30px;
    margin-bottom: 30px;
}

.notice-banner p {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
}

.notice-banner a {
    color: #ffffff;
    text-decoration: underline;
}

.notice-banner a:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 0;
    background-color: #ffdd00;
    color: #0b0c0c;
}

.notice-banner-warning {
    background-color: #f47738;
}

.notice-banner-success {
    background-color: #00703c;
}

/* ============================================
   TABLES
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 14px;
}

table th {
    font-weight: 700;
    text-align: left;
    padding: 12px;
    border-bottom: 3px solid #0b0c0c;
    background-color: #f3f2f1;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #b1b4b6;
}

table tbody tr:hover {
    background-color: #f3f2f1;
}

table tbody tr:last-child td {
    border-bottom: none;
}

table caption {
    font-weight: 700;
    text-align: left;
    margin-bottom: 10px;
    font-size: 18px;
}

.country-flag-table {
    width: 30px;
    height: 20px;
    border: 1px solid #ddd;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ============================================
   FORMS
   ============================================ */
form {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #b1b4b6;
}

.form-group {
    margin-bottom: 30px;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    color: #212529;
}

form label .required {
    color: #d4351c;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form textarea,
form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    margin-top: 5px;
    border-radius: 4px;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: #0066cc;
    outline: 2px solid #0066cc;
    outline-offset: 0;
}


form input[aria-invalid="true"],
form textarea[aria-invalid="true"],
form select[aria-invalid="true"] {
    border-color: #d4351c;
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

form .form-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    margin-bottom: 0;
}

form .error-message {
    color: #d4351c;
    font-weight: 600;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* ============================================
   LISTS
   ============================================ */
ul, ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

ul li, ol li {
    margin-bottom: 10px;
}

/* ============================================
   FOOTER (Enhanced & Rich)
   ============================================ */
footer {
    background: linear-gradient(135deg, #004499 0%, #0066cc 100%);
    color: #ffffff;
    padding: 0;
    margin-top: 60px;
    border-top: 3px solid #ff9933;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-top {
    padding: 50px 30px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.footer-about {
    flex: 1;
    min-width: 250px;
    padding-right: 20px;
}

.footer-quick-links,
.footer-countries {
    flex: 0 0 auto;
    min-width: 180px;
    padding: 0 15px;
}

.footer-contact-col {
    flex: 0 0 auto;
    min-width: 200px;
    padding-left: 20px;
}

@media (max-width: 1024px) {
    .footer-about {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-quick-links,
    .footer-countries,
    .footer-contact-col {
        width: 33.333%;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .footer-about,
    .footer-quick-links,
    .footer-countries,
    .footer-contact-col {
        width: 100%;
        margin-bottom: 25px;
    }
}

.footer-logo-section {
    margin-bottom: 20px;
}

.footer-logo {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: contain;
}

.footer-logo-section h3 {
    color: #ffffff;
    font-size: 20px;
    margin: 0 0 5px 0;
}

.footer-tagline {
    color: #ff9933;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-logo-section p {
    color: #e6f2ff;
    line-height: 1.6;
    font-size: 14px;
}

footer h3, footer h4, footer h5 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 0;
}

footer h4 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 12px;
}

footer h5 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #ff9933;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #e6f2ff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #ff9933;
    padding-left: 5px;
}

.footer-links a:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 2px;
    background-color: #ffdd00;
    color: #0b0c0c;
    padding-left: 0;
}

.footer-contact {
    font-size: 14px;
}

.footer-office {
    margin-bottom: 20px;
}

.footer-office p {
    color: #e6f2ff;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact p {
    color: #e6f2ff;
    margin-bottom: 10px;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact a:hover {
    color: #ff9933;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    margin-bottom: 0;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    margin: 0;
    color: #e6f2ff;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #e6f2ff;
    text-decoration: underline;
    font-size: 13px;
}

.footer-legal a:hover {
    color: #ff9933;
}

.footer-legal span {
    color: #e6f2ff;
    font-size: 13px;
}

footer p {
    margin-bottom: 15px;
}

footer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-container {
        padding: 0 15px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .top-bar-right {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .top-bar-whatsapp,
    .top-bar-consultation {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .container,
    .header-container,
    main,
    .footer-top,
    .footer-bottom {
        padding: 0 15px;
    }
    
    .footer-top {
        padding: 30px 15px;
    }
    
    main {
        padding: 20px 15px;
    }
    
    .header-container {
        flex-wrap: wrap;
        min-height: 70px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        border-bottom: 1px solid #1d70b8;
        padding: 15px;
    }
    
    .grid-column-one-half,
    .grid-column-one-third,
    .grid-column-two-thirds,
    .grid-column-one-quarter {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-about,
    .footer-quick-links,
    .footer-countries,
    .footer-contact-col {
        width: 100% !important;
        margin-bottom: 25px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 19px;
    }
    
    table {
        font-size: 16px;
        display: block;
        overflow-x: auto;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-row {
        flex-direction: column;
    }
    
    .footer-about,
    .footer-quick-links,
    .footer-countries,
    .footer-contact-col {
        width: 100% !important;
        padding: 0 15px;
        margin-bottom: 30px;
    }
}

/* Tablet responsive for footer */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-about {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-quick-links,
    .footer-countries,
    .footer-contact-col {
        width: 33.333%;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    .logo {
        font-size: 24px;
    }
}

/* ============================================
   MODAL / POPUP STYLES
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #000;
}

.modal-close:focus {
    outline: 3px solid #ff9933;
    outline-offset: 2px;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0066cc;
}

.modal-content > p {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.form-message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.form-message-success {
    background-color: #d5e8d4;
    color: #00703c;
    border-left: 4px solid #00703c;
}

.form-message-error {
    background-color: #fff4e5;
    color: #942514;
    border-left: 4px solid #f47738;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        padding: 20px;
        max-width: 100%;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header,
    footer,
    nav,
    .skip-link,
    .btn,
    button {
        display: none;
    }
    
    main {
        padding: 0;
    }
    
    a {
        color: #0b0c0c;
        text-decoration: underline;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 14px;
    }
}
