/* Font Faces */
@font-face {
    font-family: "29ltbukrabolditalic";
    src: url("fonts/29ltbukrabolditalic.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "DubaiRegular";
    src: url("fonts/DubaiRegular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Styles */
.main-nav {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    position: sticky; /* Changed from relative */
    top: 0; /* Stick to the top of the page */
    z-index: 1000; /* Ensure it stays above other content */
    padding: 15px 0; /* Changed from 15px 20px */
    border-radius: 0; /* Changed from 10px */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px; /* Add a max-width for content */
    padding: 0 20px; /* Add padding to contain content */
}

/* Mobile Navigation */
.mobile-nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.mobile-left, .mobile-right {
    flex: 1;
    display: flex;
}

.mobile-right {
    justify-content: flex-end;
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-icon, .menu-icon {
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #068456;
    text-align: center;
    font-family: "29ltbukrabolditalic", Arial, sans-serif;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    width: 100%;
    align-items: center;
}

.desktop-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.desktop-menu {
    display: flex;
    list-style: none;
    margin-right: auto;
}

.desktop-menu li {
    margin-right: 25px;
}

.desktop-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-family: "DubaiRegular", Helvetica, sans-serif;
}

.desktop-menu li a:hover {
    color: #068456;
}

.desktop-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo img {
    display: block;
    width: 150px; /* Adjust as needed */
    height: auto;
}

.mlogo img {
    display: block;
    width: 100px; /* Adjust as needed */
    height: auto;
}

.desktop-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.search-bar {
    position: relative;
    margin-right: 20px;
}

.search-bar input {
    padding: 8px 15px 8px 35px;
    border-radius: 20px;
    border: 1px solid #ddd;
    outline: none;
    width: 200px;
    transition: width 0.3s, border-color 0.3s;
    font-family: "DubaiRegular", Helvetica, sans-serif;
}

.search-bar input:focus {
    border-color: #068456;
    width: 220px;
}

.search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.login-btn {
    padding: 8px 20px;
    background-color: #068456;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    font-family: "DubaiRegular", Helvetica, sans-serif;
}

.login-btn:hover {
    background-color: #057a4d;
}

/* Body & Container */
body {
     font-family: "DubaiRegular", Helvetica, sans-serif;
    background-color: #f9f9f9;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Update the container to remove horizontal padding */
.container {
    width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
	min-height: 100vh;
}

/* Header Section */
.header-section {
    padding: 20px;
    flex-shrink: 0;
}

.page-title {
    font-family: "29ltbukrabolditalic", Arial, sans-serif;
    font-size: 35px;
    color: #000;
    text-align: center;
    margin-bottom: 70px;
    line-height: 1.2;
}

.heading-container {
    display: flex;
    align-items: center; /* Aligns text and image vertically */
    gap: 10px; /* Space between text and image */
	margin-bottom: 15px;
}


.image-text-container {
    display: flex; /* Align items horizontally in a row */
    justify-content: center; /* Space between the items */
    align-items: center; /* Vertically align items */
    gap: 10px; /* Space between each image-text pair */
}

.image-text-item {
    display: flex;
    flex-direction: row; /* Align image and text horizontally */
    align-items: center; /* Align image and text to the center vertically */
}

.image {
    width: 10px;  /* Adjust image size */
    height: 10px; /* Adjust image size */
    margin-right: 5px; /*  Space between the image and text */
}

.text {
    font-size: 12px; /* Font size for the text */
    color: #333; /* Text color */
    text-align: center; /* Center the text */
}

/* Make the side menu cover the entire page */
.side-menu {
    position: fixed; /* Keep it fixed on the screen */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    width: 100%; /* Full width of the page */
    height: 100%; /* Full height of the page */
    background-color: white; /* Add a semi-transparent black background */
    z-index: 1000; /* Make sure it's on top of other content */
    overflow: auto; /* Allow scrolling if content is too large */
    display: none; /* Initially hide it */
}

/* Style for links inside the menu */
.side-menu a {
    text-decoration: none; /* Remove underline */
    color: #000; /* Set text color to white */
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px; /* Set font size */
    padding: 10px; /* Add some padding */
    display: block; /* Make links block-level so they take up the full width */
}


/* If you want to show the side menu (when active) */
.side-menu.active {
    display: block; /* Show the menu when active */
}

/* Style for the close button */
.side-menu-close a {
    color: #000; /* Close button text color */
    font-size: 20px; /* Large close icon */
    position: absolute; /* Position it in the top right corner */
    top: 20px;
    right: 20px;
}



.fines-icon {
    width: 45px; /* Adjust image width */
    height: 38px; /* Keep a square aspect ratio */
	margin-bottom: 15px;
}

.discount50 {
	color: red !important;
    margin-top: 25px; /* Adds space above */
    margin-bottom: 10px; /* Adds space below */
}

/* Steps Indicator */
.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 0px auto;
    padding: 10px 0;
}

.steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;
	width: 100%; /* Ensures it stretches across all steps */
    height: 3px;
    background: url("images/t2-nav-bg.png") repeat-x;
    z-index: 1;
}

.step {
    width: 35px;
    height: 35px;
    background: #757575;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 2;
}


.step.active {
    background: #068456;
    color: white;
}

/* Content Area */
.content-wrapper {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.page-heading {
    font-family: "29ltbukrabolditalic", Arial, sans-serif;
    font-size: 22px;
    color: #000;
    margin-bottom: 10px;
}

.text-section p {
    font-size: 15px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Tab Navigation */
.tab-menu {
    margin: 10px 0;
    position: relative;
}

.tab-menu ul {
    display: flex;
	position: relative; /* Needed for the pseudo-element */
    list-style: none;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.tab-menu li img {
    width: 30px; /* Adjust image size */
    height: 24px;
    margin-right: 5px; /* Space between icon and text */
}

.tab-menu ul::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #ddd; /* Base line for all tabs */
  z-index: 1; /* Place behind the active tab's border */
}

.tab-menu li {
	display: flex;
	flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
	flex: 1; /* Each item takes equal width */
    white-space: nowrap;
	position: relative; /* Needed for z-index stacking */
    z-index: 2; /* Place tabs above the base line */
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.tab a {
    all: unset;
}


@media (min-width: 768px) {
    .tab-menu li {
        flex-direction: row; /* Change to inline layout */
        gap: 8px; /* Adjust spacing between icon and text */
    }
}

@media (max-width: 767px) {
    .tab-menu li {
        min-width: 80px; /* Ensure tabs don't get too narrow */
        padding: 8px 10px; /* Slightly reduce padding */
		font-size: 11px;
    }
    
    .tab-menu li img {
        width: 24px;
        height: 20px;
    }
}

.tab-menu li.active {
    color: #068456;
	border-bottom: 3px solid #2ecc71; /* Your existing active indicator */
 /*   margin-bottom: -5px;  Aligns with the base line */
}

.tab-menu li:hover:not(.active) {
  background-color: #e8f5e9; /* Lighter green on hover */
}

/* Mobile-friendly version (if needed) */
@media (max-width: 767px) {
  .tab-menu li.active {
    background-color: transparent; /* Keep mobile style clean */
  }
}

.tab-menu li:hover {
    color: #068456;
}

/* Form Layout */
.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 25px;
}

.form-columns {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-column {
    flex: 1;
}

.form-field {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 14px;
    color: #555;
}

input, select {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    background-color: transparent;
    border-bottom: 1px solid #757575;
    border-radius: 0px;
    font-size: 15px;
    height: 3rem;
    width: 100%;
    font-family: "DubaiRegular", Helvetica, sans-serif;
    transition: border-color 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-bottom: 1px solid #07c880;
    box-shadow: 0 12px 12px -6px rgba(46, 204, 113, 0.2) !important;
}

/* Captcha Section */
.captcha-section {
    margin-top: 10px;
    padding: 15px 0;
}

.captcha-container > span {
    display: block;
    font-size: 16px;
    color: #555;
}

.captcha-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.captcha-options img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    background-color: #f1f1f1;
    border-radius: 4px;
	margin-top: 5px;
    cursor: pointer;
    transition: background-color 0.3s, border 0.3s;
}

.captcha-refresh {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.captcha-image-wrapper {
    width: 36px;               /* Make the wrapper 36px */
    height: 36px;              /* Make the wrapper 36px */
    background-color: rgb(44, 62, 80);  /* Background color */
    border-radius: 50%;        /* Optional: makes the background circular */
    display: flex;
    justify-content: center;   /* Center the image horizontally */
    align-items: center;       /* Center the image vertically */
    margin-top: 8px;
}

.captcha-refresh img {
    width: 16px;
    height: 16px;
    object-fit: cover;
    background-color: rgb(44, 62, 80);
}

.selected {
    background-color: #068456 !important;
    border: 3px solid #068456;
}

.captcha-container span {
    margin-top: 10px; /* Adjust as needed */
    display: block; /* Places it on a new line */
}

.captcha-container b {
    color: #0a8059; /* Change to any color you want */
}

.form-buttons {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 10px; /* Adds spacing between buttons */
}

.form-submit,
.form-submit2 {
    display: inline-block;
}

@media (max-width: 768px) {
    .form-buttons {
        flex-direction: column; /* Stack buttons on smaller screens */
        gap: 5px;
    }
}

/* Form Actions Container */
.form-actions {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Button Base Styles */
.form-actions button {
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* Primary Button */
.primary-btn {
    background-color: #006641;
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: #057a4d;
}

/* Secondary Buttons */
.secondary-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #000;
}

.secondary-btn:hover {
    background-color: #e0e0e0;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .form-actions {
        flex-direction: column;
        gap: 23px;
    }
    
    .form-actions button {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .form-actions {
        justify-content: flex-start;
    }
    
    .form-actions button {
        flex: 0 0 auto;
    }
}

/* Submit Button */
.form-submit {
    margin-top: auto;
    padding-top: 15px;
}

.form-submit button {
    width: 100%;
    padding: 15px;
    background-color: #068456;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.form-submit button:hover {
    background-color: #057a4d;
}

.form-submit button:hover {
    background-color: #057a4d;
}



@media (min-width: 768px) {
  .form-submit {
    display: flex;
    justify-content: flex-start; /* Left-align */
    margin-top: 20px;
  }

  .form-submit button {
    width: 25%; /* 25% of parent width */
    max-width: 200px; /* Optional: prevent too wide on large screens */
    padding: 12px; /* Maintain padding */
    margin-left: 0; /* Remove any default margin */
  }
}

/* Keep mobile style intact */
@media (max-width: 767px) {
  .form-submit button {
    width: 100%; /* Full width on mobile */
  }
}

.fine-selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 5px;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

/* License Plate Styling */
.license-plate {
    display: flex;
    align-items: center;
    border: 2px solid black;
    padding: 5px 10px;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 25px;
    min-width: 150px;
}

.plate-category {
	font-size: 30px;
    font-weight: bold;
    margin-right: 0px;
}

/* Dubai Image */
.plate-city {
    height: 22px;
    width: auto;
    margin: 0 5px;
}

.plate-number {
	font-size: 23px;
    font-weight: bold;
    margin-right: 0px;
}

/* Fine Details Styling */
.fine-details {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap; /* Prevents wrapping */
}


.fine-amount {
    font-size: 16px;
    font-weight: bold;
}

.fine-amount strong {
    color: green; /* Set only the number "0" to green */
}

.info-icon {
    width: 23px;  /* Adjust size as needed */
    height: 23px; 
	margin-right: -18px;
	
}

.fine-count {
    font-size: 14px;
    display: flex;
    align-items: center;
}

input[type="checkbox"] {
    width: 27px;
    height: 27px;
}

label[for="payAll"] {
    margin-left: -10px; /* Adds spacing to the label text */
    font-size: 14px; /* Adjust size if needed */
}

.fine-card {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
}

.fine-icon {
    background: #27ae60;
    padding-left: 40px;
	padding-right: 40px;
	padding-top: 7px;
    border-radius: 5px;
}

.fine-icon img {
	display: inline-block;
    width: 40px;
    height: auto;
}

@media (min-width: 768px) {
    .fine-icon img {
        display: block; /* Stack vertically on desktop */
        margin-bottom: 15px; /* Space between images */
    }
}

.fine-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0px !important; /* Space between rows */
}

.fine-info div {
    display: flex !important;
    justify-content: space-between !important; /* Ensures alignment */
    gap: 10px !important; /* Space between left and right items */
}

.fine-info span,
.more-info {
    display: flex !important;
    align-items: center !important;
    min-width: 45% !important; /* Ensures equal width */
}

.icon {
    width: 25px !important; /* Set a fixed width for icons */
    height: auto !important;
    margin-right: 8px !important; /* Space between icon and text */
}

.more-info {
    text-decoration: none !important;
    font-weight: bold !important;
    color: #008755 !important; /* Adjust color as needed */
    display: flex !important;
    align-items: center !important;
}

.more-info img {
    width: 30px !important;
    height: auto !important;
    margin-right: 5px !important;
}

@media (max-width: 768px) { /* Apply styles for mobile view */
    .fine-icon {
        display: flex !important;
        justify-content: center !important;
        gap: 80px !important; /* Adds spacing between images */
        align-items: center !important;
        width: 100% !important; /* Make it full width */
        padding: 13px !important; /* Add padding to prevent images from touching screen edges */
        margin: 20px 0 !important;
		border-radius: 20px !important;
    }

    .fine-icon img {
        width: 50px !important; /* Adjust size as needed */
        height: auto !important;
        border-radius: 10px !important; /* Adds rounded corners */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important; /* Optional shadow */
    }
	
	.fine-icon::after {
        content: ""; /* Creates the line */
        position: absolute;
        width: 1px; /* Thickness of the line */
        height: 10%; /* Adjust height relative to images */
        background-color: #f0f0f0; /* White vertical line */
        left: 50%; /* Centers it */
        transform: translateX(-50%); /* Ensures it stays in the middle */
    }
	
}

@media (max-width: 768px) { /* Mobile view adjustments */
    .fine-info {
        width: 100% !important; /* Full width */
        padding: 0 !important; /* Remove padding */
        margin: 0 !important; /* Remove margin if needed */
        text-align: left !important; /* Align content to the left */
    }
}


.fine-info {
    flex: 1;
    margin-left: 30px;
}

.fine-amount {
    font-weight: bold;
	display: inline-flex;
    align-items: center;
    gap: 8px;
}

.more-info {
    color: #28a745;
    text-decoration: none;
}

.more-info:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .fine-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .fine-header, .fine-body, .fine-description, .fine-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Mobile Optimization */
@media (max-width: 480px) {
    .fine-selection {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px;
    }

    .fine-details {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .license-plate {
        width: 100%;
        justify-content: center;
    }
}


/* Style for all icons */
.icon {
    width: 16px; /* Adjust as needed */
    height: 16px; /* Adjust as needed */
    vertical-align: middle;
    margin-right: 5px;
}

/* For the checkbox in fine amount */
.fine-amount input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}

/* Optional: Adjust spacing and layout */
.fine-header, .fine-body, .fine-description, .fine-footer {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fine-header span, 
.fine-body span, 
.fine-description span {
    display: inline-flex;
    align-items: center;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .fine-header, .fine-body {
        flex-direction: column;
        gap: 8px;
    }
}


/* Form Field Labels */
.form-field label {
    font-family: "29ltbukrabolditalic", Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #000;
	flex: 0 0 30%; /* 30% width */
    margin-bottom: 0;
    text-align: left; /* Changed from right to left */
    white-space: nowrap;
    padding-right: 10px;
	padding-top: 15px;

}

.required {
    color: red;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }
    
    .desktop-nav {
        display: flex;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 8px;
    }
    
    .header-section {
        padding: 20px;
    }
    
    .page-title {
        font-size: 30px;
    }
 
}

@media (max-width: 480px) {
    .page-title {
        font-size: 30px;
		margin-bottom: 40px;
    }
    
    .page-heading {
        font-size: 17px;
    }
    
    input, select {
        padding: 8px 10px;
    }
    
    .form-submit button {
        padding: 10px;
        font-size: 15px;
    }
    
    .main-nav {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .search-icon, .menu-icon {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
  .form-field {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .form-field input,
  .form-field select {
    flex: 1; /* Take remaining space (70%) */
    width: auto; /* Override previous 100% width */
  }
  
  .form-field .required {
    margin-left: 4px; /* Space between label text and asterisk */
  }

  /* Adjust captcha section to maintain its layout */
  .captcha-section .form-field {
    display: block; /* Keep captcha stacked */
  }
  
  .captcha-section label {
    text-align: left; /* Reset alignment for captcha */
    width: auto;
  }
}

/* Desktop styles - inline layout */
@media (min-width: 768px) {
    .captcha-section .form-field {
        display: flex;
        align-items: center;
        gap: 15px;
    }


@media (min-width: 768px) {
  .content-wrapper {
    padding-left: 60px;  /* Small, balanced spacing */
    padding-right: 70px; /* Same as your nav's mobile padding */
  }
}

@media (min-width: 768px) {
  .tab-menu ul {
    display: flex;
    justify-content: space-between; /* Distribute space evenly */
    gap: 0; /* Remove gaps between items */
  }
  


