/* Pristage Logistics International Website - Custom Styles */

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

:root {
    --primary-color: #0056A7;
    --secondary-color: #2CC8FF;
    --text-color: #212121;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --gray-medium: #d0d5d2;
    --border-color: #dedfe0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--gray-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.contact-item i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Main Navigation */
.main-nav {
    padding: 15px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 1000;
}

.nav-menu .dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--gray-light);
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

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

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

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

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero .animated-text {
    color: var(--secondary-color);
    display: inline-block;
    animation: pulse 2s infinite;
}

.hero-services {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 40px;
    border-radius: 8px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.hero-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: var(--primary-color);
    color: var(--white);
}

.hero-service-card i {
    font-size: 30px;
    color: var(--primary-color);
}

.hero-service-card:hover i {
    color: var(--white);
}

/* Sections */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 20px;
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 16px;
    }
    
    .hero-services {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Navbar Alignment Styles */

/* ElementsKit Navbar Fixes */
.elementor-widget-ekit-nav-menu .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.ekit-wid-con {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.elementskit-menu-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.elementskit-navbar-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
}

.elementskit-navbar-nav .nav-item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.ekit-menu-nav-link {
    display: flex !important;
    align-items: center !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    color: var(--text-color) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

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

/* ElementsKit Dropdown Alignment */
.elementskit-dropdown-has {
    position: relative !important;
}

.elementskit-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: var(--white) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    min-width: 250px !important;
    padding: 10px 0 !important;
    border-radius: 4px !important;
    z-index: 1000 !important;
    display: none !important;
    list-style: none !important;
    margin: 0 !important;
}

.elementskit-dropdown-has:hover .elementskit-dropdown {
    display: block !important;
}

.elementskit-dropdown .nav-item {
    display: block !important;
    width: 100% !important;
}

.elementskit-dropdown .dropdown-item {
    display: block !important;
    padding: 10px 20px !important;
    color: var(--text-color) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.elementskit-dropdown .dropdown-item:hover {
    background: var(--gray-light) !important;
    color: var(--primary-color) !important;
}

/* Logo Panel Alignment - Hide mobile menu logo */
.elementskit-nav-identity-panel {
    display: none !important;
}

.elementskit-nav-logo img {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
}

/* Mobile Menu Improvements */
.elementskit-menu-hamburger {
    display: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 8px !important;
}

.elementskit-menu-hamburger-icon {
    width: 25px !important;
    height: 3px !important;
    background: var(--text-color) !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

/* Header Layout Improvements */
.elementor-column[data-id="45a3572"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* Responsive Navbar Adjustments */
@media (max-width: 1024px) {
    .elementskit-menu-hamburger {
        display: flex !important;
    }
    
    .elementskit-navbar-nav {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: var(--white) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        z-index: 9999 !important;
    }
    
    .elementskit-navbar-nav.active {
        display: flex !important;
    }
    
    .elementskit-dropdown {
        position: static !important;
        box-shadow: none !important;
        background: var(--gray-light) !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 768px) {
    .elementskit-navbar-nav {
        gap: 15px !important;
    }
    
    .ekit-menu-nav-link {
        font-size: 18px !important;
        padding: 15px 20px !important;
    }
    
    .elementskit-nav-logo img {
        height: 50px !important;
    }
}

/* Fix for Menu Items Spacing */
.elementskit-navbar-nav .nav-item:not(:last-child) {
    margin-right: 0 !important;
}

/* Ensure proper vertical alignment */
.elementor-widget-ekit-nav-menu {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* Fix for specific header layout */
.elementor-section[data-id="84245d5"] {
    padding: 10px 0 !important;
}

.elementor-section[data-id="84245d5"] .elementor-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Logo column alignment */
.elementor-column[data-id="12b55e8"] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
}

/* Navigation column alignment */
.elementor-column[data-id="45a3572"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
}

/* Third column if exists */
.elementor-column.elementor-col-30:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
}

/* Fix navbar container width */
.elementskit-menu-container.elementskit-menu-offcanvas-elements {
    width: auto !important;
    max-width: none !important;
}

/* Improve menu item alignment */
.elementskit-navbar-nav .menu-item {
    display: flex !important;
    align-items: center !important;
}

/* CSS arrow for Services dropdown - positioned on the right */
.ekit-menu-dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.ekit-menu-dropdown-toggle:after {
    content: "▼" !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    margin-left: 8px !important;
    display: inline-block !important;
    color: inherit !important;
    order: 2 !important;
}

/* Hide the original icon element completely */
.elementskit-submenu-indicator {
    display: none !important;
}

/* Ensure Services text comes first */
.ekit-menu-dropdown-toggle {
    flex-direction: row !important;
}

/* Ensure consistent spacing */
.ekit-menu-nav-link {
    line-height: 1.4 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Fix for long menu items */
.ekit-menu-nav-link {
    max-width: 200px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Handle different column layouts */
.elementor-column.elementor-col-20,
.elementor-column.elementor-col-25 {
    flex: 0 0 auto !important;
}

.elementor-column.elementor-col-50,
.elementor-column.elementor-col-75 {
    flex: 1 !important;
}

/* Universal navbar alignment fixes */
.elementor-section .elementor-container {
    align-items: center !important;
}

.elementor-widget-wrap {
    align-items: center !important;
    display: flex !important;
}

/* Fix for all logo columns */
.elementor-column[data-id="12b55e8"] .elementor-widget-wrap {
    justify-content: flex-start !important;
}

/* Fix for all navigation columns */
.elementor-column[data-id="45a3572"] .elementor-widget-wrap {
    justify-content: center !important;
}

/* General navbar improvements */
.elementskit-navbar-nav {
    flex-wrap: nowrap !important;
}

/* Better mobile responsiveness */
@media (max-width: 1200px) {
    .elementskit-navbar-nav {
        gap: 20px !important;
        flex-wrap: wrap !important;
    }
    
    .ekit-menu-nav-link {
        font-size: 14px !important;
        padding: 8px 12px !important;
    }
}

/* Fix for simple navbar pages (sporting.html, rcs-uk.html) */
.main-nav .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.main-nav .nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    margin: 0 20px !important;
}

.main-nav .logo {
    flex: 0 0 auto !important;
}

.main-nav .nav-buttons {
    flex: 0 0 auto !important;
}

/* Fix for modern-navigation.html */
.modern-header .main-nav .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.modern-header .nav-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.modern-header .logo {
    flex: 0 0 auto !important;
}

.modern-header .main-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    margin: 0 20px !important;
}

.modern-header .main-menu ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 30px !important;
}

.modern-header .main-menu li {
    position: relative !important;
}

.modern-header .main-menu a {
    display: flex !important;
    align-items: center !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    color: var(--text-color) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.modern-header .main-menu a:hover {
    color: var(--primary-color) !important;
}
