/* Global Styles from contact.html */
    :root {
      --primary-color: #1a4f8b;
      --secondary-color: #4b8bbe;
      --accent-color: #ff6b35;
      --light-color: #f8f9fa;
      --dark-color: #212529;
      --success-color: #28a745;
    }
    
    * {
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      color: var(--dark-color);
      overflow-x: hidden;
      background-color: #ffffff;
      width: 100%;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
    }

    /* Preloader */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary-color);
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .loader {
      width: 50px;
      height: 50px;
      position: relative;
    }
    
    .loader:before {
      content: '';
      width: 50px;
      height: 5px;
      background: #f3f3f3;
      position: absolute;
      top: 60px;
      left: 0;
      border-radius: 50%;
      animation: shadow324 0.5s linear infinite;
    }
    
    .loader:after {
      content: '';
      width: 100%;
      height: 100%;
      background: var(--accent-color);
      position: absolute;
      top: 0;
      left: 0;
      border-radius: 4px;
      animation: jump7456 0.5s linear infinite;
    }
    
    @keyframes jump7456 {
      15% {
        border-bottom-right-radius: 3px;
      }
      
      25% {
        transform: translateY(9px) rotate(22.5deg);
      }
      
      50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
      }
      
      75% {
        transform: translateY(9px) rotate(67.5deg);
      }
      
      100% {
        transform: translateY(0) rotate(90deg);
      }
    }
    
    @keyframes shadow324 {
      0%,
      100% {
        transform: scale(1, 1);
      }
      
      50% {
        transform: scale(1.2, 1);
      }
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 10px;
    }
    
    ::-webkit-scrollbar-track {
      background: #f1f1f1;
    }
    
    ::-webkit-scrollbar-thumb {
      background: var(--primary-color);
      border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
      background: var(--secondary-color);
    }
    
    /* Navbar */
    .navbar {
      transition: all 0.4s ease;
      padding: 15px 0;
      background: rgba(255, 255, 255, 0.95) !important;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar.scrolled {
      padding: 8px 0;
      background: rgba(255, 255, 255, 0.98) !important;
      backdrop-filter: blur(10px);
    }
    
    .navbar-brand {
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--primary-color) !important;
    }
    
    .navbar-brand span {
      color: var(--accent-color);
    }
    
    .nav-link {
      font-weight: 600;
      padding: 8px 15px !important;
      color: var(--dark-color) !important;
      position: relative;
      transition: all 0.3s ease;
    }
    
    .nav-link:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--accent-color);
      transition: all 0.3s ease;
    }
    
    .nav-link:hover:after,
    .nav-link.active:after {
      width: 70%;
    }
    
    .nav-link:hover,
    .nav-link.active {
      color: var(--primary-color) !important;
    }
    
    .navbar-toggler {
      border: none;
      padding: 0;
      width: 30px;
      height: 30px;
      position: relative;
    }
    
    .navbar-toggler:focus {
      box-shadow: none;
    }
    
    .navbar-toggler span {
      display: block;
      width: 25px;
      height: 2px;
      background: var(--primary-color);
      margin: 5px 0;
      transition: all 0.3s ease;
    }
    
    .navbar-toggler[aria-expanded="true"] span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggler[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }
    
    .navbar-toggler[aria-expanded="true"] span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero Section */
    .hero {
      position: relative;
      min-height: 60vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(26, 79, 139, 0.85) 0%, rgba(75, 139, 190, 0.85) 100%), url('/images/service_back.jpg');
      background-size: cover;
      background-position: center;
      color: white;
      overflow: hidden;
      padding: 100px 0 60px;
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-title {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    }

    .breadcrumb {
      background: transparent;
      padding: 0;
      margin-bottom: 0;
      justify-content: center;
      flex-wrap: nowrap;
    }

    .breadcrumb-item {
      white-space: nowrap;
    }
    
    .breadcrumb-item a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
    }

    .breadcrumb-item.active {
      color: white;
    }

    .breadcrumb-item + .breadcrumb-item::before {
      color: rgba(255, 255, 255, 0.8);
    }

    .hero-shape {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" fill="%23ffffff"/></svg>');
      background-size: cover;
      background-repeat: no-repeat;
    }
    
    /* Section Titles */
    .section-title {
      position: relative;
      margin-bottom: 50px;
      text-align: center;
      color: var(--primary-color);
    }
    
    .section-title:after {
      content: "";
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background-color: var(--accent-color);
      border-radius: 2px;
    }
    
    /* Footer */
    footer {
      background: var(--dark-color);
      color: white;
      padding: 60px 0 0;
    }
    
    .footer-logo {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: white;
    }
    
    .footer-logo span {
      color: var(--accent-color);
    }
    
    .footer-text {
      margin-bottom: 20px;
      opacity: 0.8;
    }
    
    .footer-title {
      font-size: 1.2rem;
      margin-bottom: 25px;
      position: relative;
      padding-bottom: 10px;
    }
    
    .footer-title:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background: var(--accent-color);
    }
    
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .footer-links li {
      margin-bottom: 12px;
    }
    
    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
    }
    
    .footer-links a i {
      margin-right: 8px;
      font-size: 0.8rem;
    }
    
    .footer-links a:hover {
      color: var(--accent-color);
      transform: translateX(5px);
    }
    
    .footer-newsletter {
      position: relative;
      margin-bottom: 20px;
    }
    
    .footer-newsletter input {
      width: 100%;
      padding: 12px 20px;
      border-radius: 50px;
      border: none;
      background: rgba(255, 255, 255, 0.1);
      color: white;
    }
    
    .footer-newsletter button {
      position: absolute;
      top: 5px;
      right: 5px;
      border: none;
      background: var(--accent-color);
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }
    
    .footer-newsletter button:hover {
      background: #e55a2b;
    }
    
    .social-icons {
      display: flex;
      margin-top: 20px;
      flex-wrap: wrap;
    }
    
    .social-icons a {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
      margin-bottom: 10px;
      transition: all 0.3s ease;
    }
    
    .social-icons a:hover {
      background: var(--accent-color);
      transform: translateY(-3px);
    }
    
    .copyright {
      text-align: center;
      padding: 20px 0;
      margin-top: 60px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      opacity: 0.7;
    }
    
    /* Back to Top */
    #scrollToTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--accent-color);
      color: white;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      z-index: 99;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    #scrollToTop.active {
      opacity: 1;
      visibility: visible;
    }
    
    #scrollToTop:hover {
      background: #e55a2b;
      transform: translateY(-3px);
    }
    
    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }
    
    .pulse {
      animation: pulse 2s infinite;
    }
    
    /* Application Form Styles */
    .application-form-container {
      max-width: 1200px;
      margin: 40px auto;
      background: white;
      border-radius: 15px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
      overflow: hidden;
    }
    
    .form-header {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
      color: white;
      padding: 40px 30px;
      text-align: center;
    }
    
    .form-header h1 {
      font-size: 2.5em;
      margin-bottom: 20px;
      font-weight: 300;
      color: white;
    }
    
    .form-header .contact {
      font-size: 16px;
      line-height: 1.6;
      opacity: 0.9;
    }
    
    .form-content {
      padding: 40px;
    }
    
    .form-section {
      background: #f8f9fa;
      border-radius: 10px;
      padding: 30px;
      margin-bottom: 30px;
      border-left: 4px solid var(--primary-color);
    }
    
    .section-title {
      color: var(--primary-color);
      font-size: 1.5em;
      margin-bottom: 25px;
      padding-bottom: 15px;
      border-bottom: 2px solid #e9ecef;
      font-weight: 600;
    }
    
    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
      margin-bottom: 25px;
    }
    
    .form-group {
      margin-bottom: 25px;
    }
    
    .form-group label {
      display: block;
      margin-bottom: 10px;
      font-weight: 600;
      color: #495057;
    }
    
    .form-control {
      width: 100%;
      padding: 14px 16px;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      font-size: 16px;
      transition: all 0.3s ease;
      background: white;
      font-family: 'Poppins', sans-serif;
    }
    
    .form-control:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(26, 71, 126, 0.1);
    }
    
    textarea.form-control {
      resize: vertical;
      min-height: 120px;
    }
    
    .radio-group, .checkbox-group {
      display: flex;
      gap: 25px;
      flex-wrap: wrap;
    }
    
    .radio-option, .checkbox-option {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    /* RESPONSIVE EXPERIENCE TABLE */
    .experience-section {
      overflow-x: auto;
    }
    
    .experience-table {
      width: 100%;
      min-width: 800px;
      border-collapse: collapse;
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .experience-table th {
      background: var(--primary-color);
      color: white;
      padding: 18px 12px;
      text-align: left;
      font-weight: 500;
      font-size: 14px;
      white-space: nowrap;
    }
    
    .experience-table td {
      padding: 15px 12px;
      border-bottom: 1px solid #e9ecef;
      font-size: 14px;
    }
    
    .experience-table tr:last-child td {
      border-bottom: none;
    }
    
    .experience-table input {
      width: 100%;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 14px;
      background: #fff;
    }
    
    .experience-table input:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 2px rgba(26, 71, 126, 0.1);
    }
    
    /* Mobile-first responsive table */
    @media (max-width: 1199.98px) {
      .experience-table {
        min-width: 700px;
      }
    }
    
    @media (max-width: 991.98px) {
      .experience-table {
        min-width: 650px;
      }
      
      .experience-table th,
      .experience-table td {
        padding: 12px 10px;
        font-size: 13px;
      }
    }
    
    @media (max-width: 767.98px) {
      .experience-table {
        min-width: 600px;
      }
      
      .experience-table th,
      .experience-table td {
        padding: 10px 8px;
        font-size: 12px;
      }
      
      .experience-table input {
        padding: 8px;
        font-size: 12px;
      }
    }
    
    @media (max-width: 575.98px) {
      .experience-table {
        min-width: 550px;
      }
      
      .experience-table th,
      .experience-table td {
        padding: 8px 6px;
        font-size: 11px;
      }
      
      .experience-table input {
        padding: 6px;
        font-size: 11px;
      }
    }
    
    /* Specific device optimizations */
    /* iPhone SE (320px) */
    @media (max-width: 320px) {
      .experience-table {
        min-width: 500px;
      }
      
      .experience-table th,
      .experience-table td {
        padding: 6px 4px;
        font-size: 10px;
      }
      
      .experience-table input {
        padding: 4px;
        font-size: 10px;
      }
    }
    
    /* iPhone XR, 12 Pro, 14 Pro Max (414px and below) */
    @media (max-width: 414px) {
      .experience-table {
        min-width: 520px;
      }
    }
    
    /* Pixel 7 (412px) */
    @media (max-width: 412px) {
      .experience-table {
        min-width: 520px;
      }
    }
    
    /* Samsung Galaxy S8+ (360px) */
    @media (max-width: 360px) {
      .experience-table {
        min-width: 480px;
      }
    }
    
    /* Samsung Galaxy S20 Ultra (412px) */
    @media (max-width: 412px) {
      .experience-table {
        min-width: 520px;
      }
    }
    
    /* Samsung Galaxy A51/71 (412px) */
    @media (max-width: 412px) {
      .experience-table {
        min-width: 520px;
      }
    }
    
    /* Alternative mobile layout for very small screens */
    @media (max-width: 480px) {
      .experience-mobile-view {
        display: block;
      }
      
      .experience-desktop-view {
        display: none;
      }
      
      .mobile-experience-card {
        background: white;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-left: 3px solid var(--primary-color);
      }
      
      .mobile-experience-card h5 {
        color: var(--primary-color);
        margin-bottom: 10px;
        font-size: 14px;
      }
      
      .mobile-experience-field {
        margin-bottom: 8px;
      }
      
      .mobile-experience-field label {
        font-weight: 600;
        font-size: 12px;
        color: #666;
        display: block;
        margin-bottom: 4px;
      }
      
      .mobile-experience-field input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 13px;
      }
    }
    
    @media (min-width: 481px) {
      .experience-mobile-view {
        display: none;
      }
      
      .experience-desktop-view {
        display: block;
      }
    }
    
    .language-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }
    
    .language-item {
      background: white;
      padding: 20px;
      border-radius: 8px;
      border: 1px solid #e9ecef;
    }
    
    .submit-btn {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
      color: white;
      border: none;
      padding: 18px 50px;
      font-size: 18px;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: block;
      margin: 40px auto 0;
      font-weight: 600;
      box-shadow: 0 5px 15px rgba(26, 71, 126, 0.3);
      font-family: 'Montserrat', sans-serif;
    }
    
    .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(26, 71, 126, 0.4);
    }
    
    .note-box {
      background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
      border: 1px solid #ffd43b;
      border-radius: 10px;
      padding: 25px;
      margin: 30px 0;
    }
    
    .note-box strong {
      color: #856404;
    }
    
    .photo-upload, .signature-upload {
      border: 2px dashed var(--primary-color);
      border-radius: 10px;
      padding: 25px;
      text-align: center;
      background: #f8f9fa;
      margin: 15px 0;
    }
    
    .upload-preview {
      max-width: 200px;
      max-height: 150px;
      margin: 15px auto;
      display: none;
      border-radius: 8px;
    }
    
    .required::after {
      content: " *";
      color: #dc3545;
    }
    
    /* Media Queries */
    @media (max-width: 1399.98px) {
      /* Extra large devices */
    }
    
    @media (max-width: 1199.98px) {
      /* Large devices */
    }
    
    @media (max-width: 991.98px) {
      /* Medium devices */
      .hero-title {
        font-size: 2.5rem;
      }
      
      .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }
      
      .form-grid {
        grid-template-columns: 1fr;
      }
      
      .language-grid {
        grid-template-columns: 1fr;
      }
      
      .form-header h1 {
        font-size: 2em;
      }
      
      .form-content {
        padding: 25px;
      }
    }
    
    @media (max-width: 767.98px) {
      /* Small devices */
      .hero {
        padding: 90px 0 50px;
        min-height: 50vh;
      }
      
      .hero-title {
        font-size: 2rem;
      }
      
      .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
      }
      
      .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
      }
      
      .breadcrumb-item {
        white-space: normal;
      }
      
      footer {
        text-align: center;
        padding: 50px 0 0;
      }
      
      .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
      }
      
      .social-icons {
        justify-content: center;
      }
      
      .footer-newsletter {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
      }
    }

    @media (max-width: 575.98px) {
      /* Extra small devices */
      .container {
        padding-left: 15px;
        padding-right: 15px;
      }
      
      .hero {
        padding: 80px 0 40px;
        min-height: 40vh;
      }
      
      .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
      }
      
      .section-title {
        font-size: 1.6rem;
      }
      
      .contact-method {
        text-align: left;
        flex-direction: row;
      }
      
      .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 15px;
        margin-bottom: 0;
      }
      
      .contact-details h4 {
        font-size: 1.1rem;
      }
      
      .accordion-button {
        padding: 15px;
        font-size: 0.95rem;
      }
      
      .accordion-body {
        padding: 15px;
      }
      
      .footer-logo {
        font-size: 1.8rem;
      }
      
      .footer-title {
        font-size: 1.1rem;
      }
      
      #scrollToTop {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
      }
      
      .form-header h1 {
        font-size: 1.8em;
      }
      
      .form-content {
        padding: 20px;
      }
      
      .hero .lead {
        font-size: 1.1rem;
      }
      
      .section-title {
        margin-bottom: 30px;
      }
    }
    
    @media (max-width: 400px) {
      /* Very small devices like iPhone SE */
      .hero-title {
        font-size: 1.6rem;
      }
      
      .section-title {
        font-size: 1.4rem;
      }
      
      .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-right: 12px;
      }
      
      .contact-details h4 {
        font-size: 1rem;
      }
      
      .contact-details p {
        font-size: 0.9rem;
      }
      
      .btn-primary, .btn-light {
        padding: 10px 20px;
        font-size: 0.9rem;
      }
      
      .navbar-brand {
        font-size: 1.5rem;
      }
    }