@font-face {
    font-family: 'Founders';
    src: url('/assets/fonts/Founders_Light.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Founders';
    src: url('/assets/fonts/Founders_Regular.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Founders';
    src: url('/assets/fonts/Founders_Medium.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* Color Palette */
    --primary: #1a237e;     /* Deep Blue */
    --primary-light: #534bae;
    --primary-dark: #000051;
    --secondary: #2e7d32;   /* Green */
    --secondary-light: #60ad5e;
    --secondary-dark: #005005;
    --accent: #455a64;      /* Gray */
    --accent-light: #718792;
    --accent-dark: #1c313a;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f8f9fa;
}

/* Add these rules at the top of your CSS file */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Update container styles */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}


/* Global Styles */
body {
    line-height: 1.5;
    color: var(--text-dark);
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
}

/* Headers use Founders */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4,
.navbar-brand {
    font-family: 'Founders', sans-serif;
    font-weight: 500;
}

/* Everything else uses Inter */
p, .lead, .btn, .nav-link,
.footer-links, .footer-desc,
.card-text, input, textarea,
.form-control {
    font-family: 'Inter', sans-serif;
}

.btn {
    margin-bottom: 1.5rem !important;
}

.hero-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.display-1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent);
}

.card {
    border: none;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: rgba(69, 90, 100, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.section-padding {
    padding: 100px 0;
}

.btn-primary {
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-secondary {
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-light);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

/* Contact Form Styles */
.form-floating > .form-control {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > textarea.form-control {
    height: 150px;
}

.form-floating > label {
    padding: 1rem;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.card {
    background: #ffffff;
}

/* Partners Section Styles */
.partner-logo {
    max-width: 150px;
    max-height: 75px;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer Styles */
.footer {
    background-color: var(--accent-dark);
    color: var(--text-light);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-title {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-desc {
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-light);
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-light);
}

.newsletter-form .form-control {
    border-radius: 30px 0 0 30px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1.5rem;
}

.newsletter-form .btn {
    border-radius: 0 30px 30px 0;
    padding: 0.75rem 1.5rem;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-light);
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary);
    padding: 1rem 0;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-text {
    color: var(--text-light);
    margin: 0;
    font-family: 'Founders', sans-serif;
    font-weight: 400;
}


/* Section Headers */
.display-4 {
    color: var(--primary);
}

.lead {
    color: var(--accent);
}

/* Cards and Features */
.card h3 {
    color: var(--primary);
}

/* Success Messages */
.text-success {
    color: var(--secondary) !important;
}

/* Accent Elements */
.bg-accent {
    background-color: var(--accent);
    color: var(--text-light);
}

.location-info {
    background-color: var(--background-light);
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.location-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
}

.location-icon {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.map-container iframe {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.office-location p,
.office-hours p {
    color: var(--accent);
}

.footer h5 {
    font-size: 1.55rem;
}

.language-switcher button {
    margin:0 !important;
}

.mobile-language-toggle button {
    margin: 0 !important;
}

.mobile-language-menu button {
    margin: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    

    .language-switcher button {
        padding: 0.2rem 0.5rem;
        font-size: .7rem;
    }
}

/* Mobile Navigation */
@media (max-width: 991px) {
    
    .map-container {
        margin-top: 2rem;
        height: 400px;
    }
    
    .location-info {
        margin-bottom: 2rem;
    }

    .navbar-collapse {
        background-color: var(--primary);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .navbar-nav {
        width: 100%;
    }

    .nav-item {
        margin: 0.5rem 0;
        white-space: nowrap;
    }

    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
        padding: 0.5rem;
        margin-right: 0.5rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand {
        margin-left: 0.5rem;
    }

    .navbar .container {
        width: 100%;
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
    }
}

/* Mobile Language Toggle Styles */
.mobile-language-toggle {
    position: relative;
}

.mobile-language-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-language-menu.show {
    display: block;
}

.mobile-language-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.mobile-language-menu button:hover {
    background-color: var(--primary-light);
    border-radius: 4px;
}

/* Update existing media query */
@media (max-width: 768px) {
    .mobile-language-toggle .btn {
        padding: 0.4rem;
        font-size: 1.2rem;
    }
}