/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #0b2545; /* Deep Marine Blue */
    --primary-light: #133c70;
    --secondary-color: #0077b6; /* Ocean Blue */
    --secondary-light: #0096c7;
    --accent-color: #f77f00; /* Safety Orange / Cargo Accent */
    --text-dark: #2b2d42;
    --text-light: #8d99ae;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0b2545;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Effects */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

.w-100 {
    width: 100%;
}

/* Section Headers */
.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.text-center .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-secondary);
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.4);
    color: var(--text-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-effect-subtle {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
}

.glass-card {
    background: rgba(11, 37, 69, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-fast);
    background-color: transparent;
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    transition: var(--transition-fast);
}

header.scrolled .logo img {
    height: 60px;
}

/* To ensure the logo looks okay if it doesn't have a transparent background */
.logo {
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--text-white);
    position: relative;
}

header.scrolled .nav-links a {
    color: var(--primary-color);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active:not(.btn-primary)::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-white);
    cursor: pointer;
}

header.scrolled .menu-toggle {
    color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary-color);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.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 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 37, 69, 0.9) 0%, rgba(11, 37, 69, 0.4) 100%);
    z-index: -1;
}

.slide-content {
    color: var(--text-white);
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 4rem;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 5%;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-controls button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--secondary-color);
    width: 30px;
    border-radius: 10px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.experience-badge .years {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-secondary);
    line-height: 1;
    display: block;
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary-color);
}

.about-features i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-fast);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary-color);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 119, 182, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition-fast);
}

.service-card:hover .icon {
    background: var(--secondary-color);
    color: var(--text-white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-us-content {
    flex: 1;
}

.why-us-content > p {
    margin-bottom: 40px;
    color: var(--text-light);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

.why-us-stats-wrapper {
    flex: 1;
    background-image: url('data:image/svg+xml;utf8,<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg"><circle cx="200" cy="200" r="200" fill="%23f77f00" fill-opacity="0.05"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.tracking-widget h3 {
    color: var(--text-white);
    margin-bottom: 10px;
}

.tracking-widget p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tracking-form input {
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    outline: none;
}

.tracking-form button {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   Statistics Section
   ========================================================================== */
.statistics {
    background: url('file:///C:/Users/Hamody/.gemini/antigravity/brain/782befd6-6019-4cd4-821e-34d2a7c603ea/slider_2_1779105788839.png') no-repeat center center/cover;
    position: relative;
    color: var(--text-white);
    background-attachment: fixed;
}

.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 37, 69, 0.9);
}

.statistics .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.counter-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.counter {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.plus {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--accent-color);
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    border-radius: var(--border-radius);
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form-wrapper {
    flex: 1.5;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-wrapper {
    background: #fff;
    display: inline-block;
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.footer-logo {
    height: 40px;
}

.footer-about p {
    color: #a0aec0;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--text-white);
}

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

.footer h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a,
.footer-services a {
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before,
.footer-services a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

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

.footer-newsletter p {
    color: #a0aec0;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
}

.newsletter-form button {
    background: var(--secondary-color);
    color: var(--text-white);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--primary-light);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    color: #a0aec0;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .about-container,
    .why-us-container,
    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .experience-badge {
        right: 10px;
        bottom: -20px;
        padding: 20px;
    }
    
    .why-us-stats-wrapper {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links a {
        color: var(--text-dark);
    }
    
    header.scrolled .nav-links {
        top: 100%;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .slider-controls {
        bottom: 20px;
    }
}
