/* ============================================
   ABAR Oil Services - Main Stylesheet
   ============================================ */

/* Color Variables - Based on Logo */
:root {
    --primary-blue: #1A478F;
    --secondary-gray: #4A4A4A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-blue: #0F2D5C;
    --accent-blue: #2E5FA8;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--secondary-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(26, 71, 143, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem !important;
    border-radius: 5px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before {
    opacity: 1;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.navbar-nav .nav-link.active::before {
    opacity: 1;
}

/* Dropdown with Hover */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu.show {
    display: block !important;
    opacity: 0;
    animation: fadeInDown 0.3s ease forwards;
    margin-top: 0;
}

.nav-item.dropdown .dropdown-toggle::after {
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.nav-item.dropdown:hover .dropdown-toggle::after,
.nav-item.dropdown .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.nav-item.dropdown:hover .dropdown-toggle {
    color: var(--white) !important;
}

.nav-item.dropdown .dropdown-toggle.active {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 15px;
    padding: 0.5rem 0;
    min-width: 220px;
    border-top: 3px solid var(--primary-blue);
}

.dropdown-item {
    color: var(--secondary-gray);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 400;
    border-left: 3px solid transparent;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover::before,
.dropdown-item.active::before {
    transform: scaleY(1);
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(26, 71, 143, 0.1), rgba(26, 71, 143, 0.05));
    color: var(--primary-blue);
    padding-left: 2rem;
    font-weight: 500;
    transform: translateX(5px);
}

.dropdown-item.active {
    background: linear-gradient(90deg, rgba(26, 71, 143, 0.15), rgba(26, 71, 143, 0.05));
    color: var(--primary-blue);
    font-weight: 600;
    padding-left: 2rem;
}

.dropdown-item.active::before {
    transform: scaleY(1);
}

.dropdown-item.active::after {
    content: '✓';
    position: absolute;
    right: 1rem;
    color: var(--primary-blue);
    font-weight: 900;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Menu */
.slide-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: var(--primary-blue);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    visibility: hidden;
}

.slide-menu.active {
    right: 0;
    visibility: visible;
}

.slide-menu-header {
    padding: 2rem;
    background: var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-blue);
}

.slide-logo {
    height: 40px;
    width: auto;
}

.close-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
}

.slide-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-menu-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-menu-list > li > a {
    display: flex;
    align-items: center;
    padding: 1.25rem 2rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.slide-menu-list > li > a i {
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.slide-menu-list > li > a:hover {
    background: var(--dark-blue);
    padding-left: 2.5rem;
}

.slide-menu-list > li.has-submenu > a {
    justify-content: space-between;
}

.slide-menu-list > li.has-submenu > a .fa-chevron-down {
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.3s ease;
}

.slide-menu-list > li.has-submenu.active > a .fa-chevron-down {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--dark-blue);
}

.slide-menu-list > li.has-submenu.active .submenu {
    max-height: 500px;
}

.submenu li a {
    display: block;
    padding: 1rem 2rem 1rem 4rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: none;
    font-weight: 400;
}

.submenu li a:hover {
    background: var(--accent-blue);
    padding-left: 4.5rem;
    color: var(--white);
}

.slide-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.slide-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Slideshow */
.hero-slideshow {
    margin-top: 76px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slideshow .carousel-item {
    height: 600px;
}

.hero-slideshow .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.carousel-caption p {
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    margin: 0 5px;
}

.carousel-indicators button.active {
    background: var(--primary-blue);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(26, 71, 143, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Section Styles */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--secondary-gray);
}

.about-content .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-blue);
}

/* ABAR in Numbers Section */
.numbers-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.numbers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(26,71,143,0.05)"/></svg>');
    opacity: 0.3;
}

.number-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.number-card:nth-child(1) {
    animation-delay: 0.1s;
}

.number-card:nth-child(2) {
    animation-delay: 0.2s;
}

.number-card:nth-child(3) {
    animation-delay: 0.3s;
}

.number-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 71, 143, 0.1), transparent);
    transition: left 0.5s ease;
}

.number-card:hover::before {
    left: 100%;
}

.number-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 71, 143, 0.2);
}

.number-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.number-card:hover .number-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(26, 71, 143, 0.3);
}

.number-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.number-card:hover .number-icon i {
    transform: scale(1.2);
}

.number-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
}

.number-value.counting {
    animation: pulseNumber 0.5s ease-in-out infinite;
    color: var(--accent-blue);
}

.number-value.counted {
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(26, 71, 143, 0.3);
}

@keyframes pulseNumber {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.number-value::after {
    content: '+';
    font-size: 2rem;
    color: var(--accent-blue);
    margin-left: 0.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.number-value[data-target]:not([data-target="0"])::after {
    opacity: 1;
}

.number-value[data-suffix]::after {
    content: attr(data-suffix);
    opacity: 1;
}

.number-value[data-target="100"]::after,
.number-value[data-target="0"]::after {
    content: '%';
    opacity: 1;
}

.number-card:hover .number-value {
    transform: scale(1.1);
    color: var(--dark-blue);
}

.number-label {
    font-size: 1rem;
    color: var(--secondary-gray);
    font-weight: 500;
    margin-top: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.number-card:hover .number-label {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Ensure consistent sizing for number cards */
.numbers-section .row {
    display: flex;
    flex-wrap: wrap;
}

.numbers-section .number-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem;
}

.numbers-section .number-label {
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.numbers-section .number-value {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.numbers-section .number-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.25rem;
}

.numbers-section .number-icon i {
    font-size: 1.75rem;
}

/* Responsive adjustments for number cards */
@media (min-width: 992px) {
    .numbers-section .number-card {
        min-height: 300px;
        padding: 3rem 1.5rem;
    }
    
    .numbers-section .number-value {
        font-size: 3.5rem;
    }
    
    .numbers-section .number-icon {
        width: 80px;
        height: 80px;
    }
    
    .numbers-section .number-icon i {
        font-size: 2rem;
    }
    
    .numbers-section .number-label {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .numbers-section .number-card {
        min-height: 260px;
        padding: 2rem 1.25rem;
    }
    
    .numbers-section .number-value {
        font-size: 2.5rem;
    }
    
    .numbers-section .number-label {
        font-size: 0.9rem;
        min-height: 2.25rem;
    }
}

@media (max-width: 576px) {
    .numbers-section .number-card {
        min-height: 240px;
        padding: 1.75rem 1rem;
    }
    
    .numbers-section .number-value {
        font-size: 2.25rem;
    }
    
    .numbers-section .number-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .numbers-section .number-icon i {
        font-size: 1.5rem;
    }
    
    .numbers-section .number-label {
        font-size: 0.85rem;
        min-height: 2rem;
    }
}

/* Quick Links */
.quick-links {
    padding: 5rem 0;
}

.quick-link-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(26, 71, 143, 0.2);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-link-card:hover .icon-wrapper {
    transform: rotate(360deg) scale(1.1);
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
}

.quick-link-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.quick-link-card p {
    color: var(--secondary-gray);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--primary-blue);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 71, 143, 0.3);
}

/* Legal & Commercial Information Section */
.legal-info-section {
    background: var(--light-gray);
    border-top: 2px solid rgba(26, 71, 143, 0.1);
    border-bottom: 2px solid rgba(26, 71, 143, 0.1);
}

.legal-info-content h4 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-info-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.legal-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(26, 71, 143, 0.15);
}

.legal-info-item i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.legal-info-item p {
    margin: 0;
    color: var(--secondary-gray);
    font-size: 0.95rem;
}

.legal-info-item p strong {
    color: var(--primary-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.legal-info-item p:not(strong) {
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Responsive adjustments for legal info */
@media (max-width: 768px) {
    .legal-info-content h4 {
        font-size: 1.25rem;
    }
    
    .legal-info-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .legal-info-item i {
        font-size: 1.75rem;
    }
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

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

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--accent-blue);
    width: 20px;
    margin-top: 3px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Page Content Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 76px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.page-content {
    padding: 4rem 0;
}

.content-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 10px 30px rgba(26, 71, 143, 0.15);
}

.content-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.content-card ul {
    list-style: none;
    padding: 0;
}

.content-card ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--secondary-gray);
}

.content-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Numbers Section Responsive */
    .number-value {
        font-size: 3rem;
    }
    
    .number-card {
        padding: 2.5rem 1.5rem;
    }
    
    /* Disable hover dropdown on tablets */
    .nav-item.dropdown:hover .dropdown-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 400px;
    }
    
    .hero-slideshow .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .slide-menu {
        width: 100%;
        right: -100%;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .quick-link-card {
        margin-bottom: 2rem;
    }
    
    /* Numbers Section Responsive */
    .number-card {
        padding: 2.5rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .number-value {
        font-size: 2.5rem;
    }
    
    .number-icon {
        width: 70px;
        height: 70px;
    }
    
    .number-icon i {
        font-size: 1.75rem;
    }
    
    .number-label {
        font-size: 0.9rem;
    }
    
    /* Disable hover dropdown on mobile */
    .nav-item.dropdown:hover .dropdown-menu {
        display: none !important;
    }
    
    .nav-item.dropdown .dropdown-toggle::after {
        transform: none !important;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 40px;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Career Form Styles */
#careerForm .form-label {
    font-weight: 500;
    color: var(--secondary-gray);
    margin-bottom: 0.5rem;
}

#careerForm .form-control,
#careerForm .form-select {
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

#careerForm .form-control:focus,
#careerForm .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(26, 71, 143, 0.25);
    outline: none;
}

#careerForm .form-control.is-invalid,
#careerForm .form-select.is-invalid {
    border-color: #dc3545;
}

#careerForm .form-control.is-valid,
#careerForm .form-select.is-valid {
    border-color: #28a745;
}

#careerForm .invalid-feedback {
    display: none;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

#careerForm .was-validated .form-control:invalid ~ .invalid-feedback,
#careerForm .was-validated .form-select:invalid ~ .invalid-feedback,
#careerForm .was-validated .form-check-input:invalid ~ .invalid-feedback {
    display: block;
}

#careerForm .form-check {
    margin-top: 1rem;
}

#careerForm .form-check-input {
    margin-top: 0.3rem;
    cursor: pointer;
}

#careerForm .form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

#careerForm .form-check-label {
    cursor: pointer;
    color: var(--secondary-gray);
    line-height: 1.5;
}

#careerForm input[type="file"] {
    padding: 0.5rem;
}

#careerForm input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

#careerForm input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--dark-blue);
}

#careerForm .form-text {
    font-size: 0.875rem;
    color: var(--secondary-gray);
    margin-top: 0.25rem;
}

#careerForm textarea {
    resize: vertical;
    min-height: 120px;
}

#careerForm .btn-primary {
    padding: 0.875rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#careerForm .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 71, 143, 0.4);
}

#careerForm .text-danger {
    color: #dc3545 !important;
}

/* Customer Portfolio Styles */
.customer-logo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.customer-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 71, 143, 0.1), transparent);
    transition: left 0.5s ease;
}

.customer-logo-card:hover::before {
    left: 100%;
}

.customer-logo-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(26, 71, 143, 0.2);
    border-color: var(--primary-blue);
}

.logo-placeholder {
    text-align: center;
    color: var(--secondary-gray);
    transition: all 0.3s ease;
}

.logo-placeholder i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.logo-placeholder p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    color: var(--secondary-gray);
}

.customer-logo-card:hover .logo-placeholder i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-blue);
}

.customer-logo-card:hover .logo-placeholder p {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Actual logo image styling */
.customer-logo-card img,
.customer-logo-img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    display: block;
    margin: 0 auto;
    padding: 1rem;
}

.customer-logo-card:hover img,
.customer-logo-card:hover .customer-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Ensure consistent sizing for all logo cards */
.customer-logo-card {
    min-height: 200px;
    padding: 1.5rem;
}

.customer-logo-card .customer-logo-img {
    width: 100%;
    height: 100%;
    max-width: 180px;
    max-height: 140px;
    object-fit: contain;
    object-position: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .customer-logo-card {
        min-height: 180px;
        padding: 1.25rem;
    }
    
    .customer-logo-card img,
    .customer-logo-img {
        max-height: 120px;
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .customer-logo-card {
        min-height: 160px;
        padding: 1rem;
    }
    
    .customer-logo-card img,
    .customer-logo-img {
        max-height: 100px;
        max-width: 140px;
        padding: 0.75rem;
    }
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 10px 30px rgba(26, 71, 143, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 300px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    text-decoration: none;
    color: #FFF;
}

.whatsapp-float i {
    margin-top: 5px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #FFF;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 24px;
    }
}

