/* ===================================
   BASE STYLES & VARIABLES
   =================================== */
:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-muted: #6c757d;
    --border-radius: 10px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* ===================================
   NAVIGATION RESPONSIVE
   =================================== */
.navbar {
    transition: var(--transition);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

.logo-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Large Desktop */
@media (min-width: 1400px) {
    .logo-img {
        max-height: 90px;
        max-width: 220px;
    }
}

/* Desktop */
@media (min-width: 992px) and (max-width: 1399px) {
    .logo-img {
        max-height: 80px;
        max-width: 200px;
    }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 991px) {
    .logo-img {
        max-height: 70px;
        max-width: 180px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* Tablet Portrait */
@media (max-width: 767px) {
    .logo-img {
        max-height: 60px;
        max-width: 160px;
    }
    
    .navbar {
        padding: 0.4rem 0;
    }
    
    .navbar-brand {
        padding: 0.3rem 0;
    }
}

/* Mobile Large */
@media (max-width: 576px) {
    .logo-img {
        max-height: 50px;
        max-width: 140px;
    }
}

/* Mobile Medium */
@media (max-width: 480px) {
    .logo-img {
        max-height: 45px;
        max-width: 130px;
    }
}

/* Mobile Small */
@media (max-width: 374px) {
    .logo-img {
        max-height: 40px;
        max-width: 120px;
    }
    
    .navbar-brand {
        padding: 0.2rem 0;
    }
}

/* iPhone SE and smaller */
@media (max-width: 320px) {
    .logo-img {
        max-height: 35px;
        max-width: 100px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 767px) and (orientation: landscape) {
    .logo-img {
        max-height: 40px;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* High DPI screens (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

.nav-link {
    padding: 0.5rem 1rem !important;
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: var(--box-shadow);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }
}

/* ===================================
   HERO SECTION RESPONSIVE
   =================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
}

/* Common Dropdown Styles */
.dropdown-menu {
    z-index: 1050;
}

.dropdown-header {
    color: #1d3557;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.5rem 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dropdown-item {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.1) 0%, transparent 100%);
    color: #1d3557;
}

.dropdown-item i {
    color: #e63946;
    width: 20px;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

.dropdown-divider {
    margin: 0.5rem 1rem;
    border-color: rgba(29, 53, 87, 0.1);
}

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

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.8), rgba(230, 57, 70, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Text Slider */
.hero-text-slider {
    position: relative;
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: none;
}

.hero-text-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

/* Hero Text Elements */
.hero-welcome {
    color: #e63946;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    position: relative;
    z-index: 4;
}

.hero-buttons .btn {
    min-width: 180px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: #e63946;
    border-color: #e63946;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.hero-buttons .btn-primary:hover {
    background: #d62839;
    border-color: #d62839;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.hero-buttons .btn-outline-light:hover {
    background: #ffffff;
    color: #1d3557;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Slide-in Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations to active slide elements */
.hero-text-slide.active .hero-welcome {
    animation: slideInFromLeft 0.8s ease-out;
}

.hero-text-slide.active .hero-title {
    animation: fadeInScale 1s ease-out 0.2s both;
}

.hero-text-slide.active .hero-subtitle {
    animation: slideInFromRight 0.8s ease-out 0.4s both;
}

.hero-buttons {
    animation: slideInFromBottom 1s ease-out 0.6s both;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.2);
    border-color: rgba(230, 57, 70, 0.3);
}

.service-icon {
    font-size: 3.5rem;
    color: #e63946;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
}

.service-card h3 {
    color: #1d3557;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-card .btn {
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card .btn:hover {
    transform: translateX(5px);
}

/* Additional Service Cards */
.additional-service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.additional-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.2);
    border-color: rgba(230, 57, 70, 0.3);
}

.service-icon-box {
    font-size: 3rem;
    color: #e63946;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.additional-service-card:hover .service-icon-box {
    background: #e63946;
    color: #ffffff;
    transform: rotate(360deg);
}

.service-content h4 {
    color: #1d3557;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.read-more {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #1d3557;
    gap: 10px;
}

/* Section Headers */
.section-header h2 {
    color: #1d3557;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
}

/* Footer Styles */
.footer {
    background: #1d3557;
}

.footer h4, .footer h5 {
    color: #ffffff;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 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;
    display: inline-block;
}

.footer-links a:hover {
    color: #e63946;
    padding-left: 5px;
}

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

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #e63946;
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
}

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

.footer-legal:hover {
    color: #e63946;
}

/* Custom Button Style */
.btn-theme {
    background: #e63946;
    color: #fff !important;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 2px 10px rgba(230,57,70,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-theme:hover,
.btn-theme:focus {
    background: #1d3557;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(29,53,87,0.12);
    text-decoration: none;
}

.btn-theme-outline {
    background: #fff;
    color: #e63946 !important;
    border: 2px solid #e63946;
    border-radius: 25px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-theme-outline:hover,
.btn-theme-outline:focus {
    background: #e63946;
    color: #fff !important;
    border-color: #e63946;
    text-decoration: none;
}

/* Client Logos Carousel */
.clients-section {
    overflow: hidden;
}

.clients-carousel {
    width: 100%;
    position: relative;
}

.clients-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.client-logo {
    flex-shrink: 0;
    width: 240px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.clients-track:hover {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .client-logo {
        width: 180px;
        height: 110px;
        margin: 0 1.5rem;
        padding: 1rem;
    }
    
    .client-logo img {
        max-height: 70px;
    }
}

@media (max-width: 576px) {
    .client-logo {
        width: 160px;
        height: 100px;
        margin: 0 1rem;
    }
    
    .client-logo img {
        max-height: 60px;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
    }
    
    /* Remove hover behavior on mobile - let Bootstrap handle click */
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0.5rem 0;
        margin-top: 0 !important;
        margin-left: 1rem;
        position: static !important;
        transform: none !important;
    }
    
    .dropdown-header {
        color: #e63946;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem !important;
        border-radius: 8px;
        margin: 0.25rem 0.5rem;
    }
    
    .dropdown-item:hover {
        background: rgba(230, 57, 70, 0.1) !important;
        padding-left: 1rem !important;
    }
    
    .hero-text-slider {
        min-height: 220px;
    }
    
    .service-card,
    .additional-service-card {
        padding: 1.5rem;
    }
    
    .additional-service-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon-box {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        height: auto;
    }
    
    .hero-content {
        min-height: 500px;
        padding: 80px 0 60px;
    }
}

/* Hero Arrow Styles */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(29,53,87,0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.hero-arrow-left {
    left: 32px;
}

.hero-arrow-right {
    right: 32px;
}

.hero-arrow:hover {
    background: #e63946;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        left: 12px;
        right: 12px;
    }
    .hero-arrow-left {
        left: 12px;
    }
    .hero-arrow-right {
        right: 12px;
    }
}

/* ===================================
   HERO ARROWS - MOBILE FIX
   =================================== */

/* Ensure arrows are always visible and properly positioned */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(29,53,87,0.8);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-arrow-left {
    left: 20px;
}

.hero-arrow-right {
    right: 20px;
}

.hero-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Mobile Devices - Better visibility */
@media (max-width: 768px) {
    .hero-arrow {
        display: none;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        background: rgba(230, 57, 70, 0.9);
        border: 2px solid rgba(255,255,255,0.5);
    }
    
    .hero-arrow-left {
        left: 12px;
    }
    
    .hero-arrow-right {
        right: 12px;
    }
    
    .hero-arrow:hover {
        background: rgba(230, 57, 70, 1);
    }
}

/* Small Mobile - Even more compact */
@media (max-width: 480px) {
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-arrow-left {
        left: 10px;
    }
    
    .hero-arrow-right {
        right: 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 374px) {
    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .hero-arrow-left {
        left: 8px;
    }
    
    .hero-arrow-right {
        right: 8px;
    }
}

/* Touch devices - Make arrows always visible with better contrast */
@media (hover: none) and (pointer: coarse) {
    .hero-arrow {
        background: rgba(230, 57, 70, 0.95);
        border: 2px solid rgba(255,255,255,0.6);
        min-width: 48px;
        min-height: 48px;
    }
    
    .hero-arrow:active {
        background: rgba(29, 53, 87, 0.95);
    }
}

/* Landscape mobile - Adjust vertical position */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-arrow {
        top: 50%;
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .hero-arrow-left {
        left: 8px;
    }
    
    .hero-arrow-right {
        right: 8px;
    }
}

/* Ensure arrows stay above overlay */
.hero-section {
    position: relative;
}

.hero-overlay {
    z-index: 2;
}

.hero-arrow {
    z-index: 100;
}

.hero-content {
    z-index: 10;
}

/* ===================================
   INDEX.PHP SPECIFIC RESPONSIVE STYLES
   =================================== */

/* Hero Section Mobile Optimization */
@media (max-width: 991px) {
    .hero-section {
        height: 90vh;
        min-height: 550px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(24px, 6vw, 36px) !important;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: clamp(14px, 3vw, 18px) !important;
        padding: 0 0.5rem !important;
    }
    
    .hero-welcome {
        font-size: clamp(12px, 3vw, 16px);
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 85vh;
        min-height: 500px;
    }
    
    .hero-text-slider {
        min-height: 280px;
    }
    
    .hero-buttons {
        gap: 0.75rem !important;
    }
    
    .hero-buttons .btn {
        padding: 0.65rem 1.5rem;
        font-size: 14px;
        min-width: 140px;
    }
}

/* Core Services Responsive */
@media (max-width: 991px) {
    .services-section {
        padding: 2rem 0 !important;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 18px;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn-theme.btn-sm {
        font-size: 13px;
        padding: 0.5rem 1rem;
    }
}

/* Client Logos Mobile */
@media (max-width: 991px) {
    .clients-section {
        padding: 2.5rem 0 !important;
    }
    
    .client-logo {
        width: 140px;
        height: 90px;
        margin: 0 0.75rem;
        padding: 0.75rem;
    }
    
    .client-logo img {
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .clients-section .section-header h2 {
        font-size: 24px;
    }
    
    .client-logo {
        width: 120px;
        height: 80px;
        margin: 0 0.5rem;
    }
    
    .client-logo img {
        max-height: 40px;
    }
}

/* Additional Services Mobile */
@media (max-width: 991px) {
    .additional-services {
        padding: 2rem 0 !important;
    }
    
    .additional-service-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .service-icon-box {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .service-content h4 {
        font-size: 18px;
    }
    
    .service-content p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .additional-service-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon-box {
        margin: 0 auto 1rem;
    }
}

/* Join Team Section Mobile */
.join-team-section {
    padding: 2.5rem 0 !important;
}

@media (max-width: 991px) {
    .join-team-section h2 {
        font-size: clamp(24px, 5vw, 32px);
    }
    
    .join-team-section p {
        font-size: clamp(16px, 3vw, 20px);
    }
    
    .join-team-section .d-flex {
        gap: 1.5rem !important;
    }
    
    .join-team-section a {
        font-size: clamp(16px, 3vw, 24px) !important;
    }
    
    .join-team-section .rounded-circle {
        padding: 0.75rem !important;
    }
    
    .join-team-section .fs-4 {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .join-team-section {
        padding: 2rem 0 !important;
    }
    
    .join-team-section .d-flex.gap-4 {
        gap: 1rem !important;
    }
    
    .join-team-section .rounded-circle {
        padding: 0.5rem !important;
    }
    
    .join-team-section .rounded-circle i {
        font-size: 1rem !important;
    }
    
    .join-team-section a {
        font-size: 14px !important;
        word-break: break-all;
    }
}

/* Section Headers Mobile */
@media (max-width: 991px) {
    .section-header h2 {
        font-size: clamp(24px, 5vw, 36px);
    }
    
    .section-header p {
        font-size: clamp(14px, 3vw, 16px);
        padding: 0 1rem;
    }
}

/* Grid Spacing Mobile */
@media (max-width: 576px) {
    .row.g-3 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    .row.g-4 {
        --bs-gutter-x: 1.25rem;
        --bs-gutter-y: 1.25rem;
    }
}

/* Container Padding Mobile */
@media (max-width: 991px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* Touch-friendly buttons */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .hero-arrow {
        width: 48px;
        height: 48px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 991px) and (orientation: landscape) {
    .hero-section {
        min-height: 450px;
        max-height: 100vh;
    }
    
    .hero-text-slider {
        min-height: 200px;
    }
    
    .hero-title {
        font-size: 28px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
}

/* Small devices (phones, less than 375px) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 22px !important;
    }
    
    .hero-subtitle {
        font-size: 13px !important;
    }
    
    .hero-buttons .btn {
        font-size: 13px;
        padding: 0.6rem 1.25rem;
        min-width: 120px;
    }
    
    .service-card h3 {
        font-size: 16px;
    }
    
    .service-card p {
        font-size: 13px;
    }
}

/* iPad Portrait */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        min-height: 650px;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .additional-service-card {
        padding: 2rem;
    }
}

/* iPad Landscape */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 42px !important;
    }
    
    .hero-subtitle {
        font-size: 18px !important;
    }
}

/* Large Tablets and Small Desktops */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
}

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-slide,
    .hero-text-slide {
        transition: none !important;
    }
}

/* Print styles for index page */
@media print {
    .hero-section {
        height: auto !important;
        min-height: auto !important;
    }
    
    .hero-slider,
    .hero-overlay,
    .hero-arrow,
    .hero-buttons,
    .clients-carousel {
        display: none !important;
    }
    
    .service-card,
    .additional-service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ===================================
   ADDITIONAL SERVICES - PROFESSIONAL DESIGN
   =================================== */


.additional-services .badge {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.additional-services .section-header .lead {
    max-width: 700px;
}

.additional-service-card-pro {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.additional-service-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.15) !important;
}

.additional-service-card-pro .service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.additional-service-card-pro .service-icon-wrapper i {
    font-size: 2rem;
}

.additional-service-card-pro:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.additional-service-card-pro h3 {
    color: #1d3557;
}

.additional-service-card-pro .service-divider {
    width: 50px;
    height: 3px;
    background: #e63946;
}

.additional-service-card-pro p {
    line-height: 1.8;
}

.additional-service-card-pro .btn-outline-danger {
    border-width: 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.additional-service-card-pro .btn-outline-danger:hover {
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    color: white;
    border-color: #e63946;
    transform: translateX(5px);
}
