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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #333;
}

/* Container utility - extra wide to fit the many menu items and top elements */
.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: #ffffff;
    padding: 10px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo Setup */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px; /* Adjust based on original image size */
    max-width: 300px;
    object-fit: contain;
}

/* Top Left Group: Contains Logo and Contact Info */
.top-left-group {
    display: flex;
    align-items: center;
    gap: 80px; /* Generous spacing between logo and the contact info blocks */
}

/* Top Right Group: Contains Buttons */
.top-right-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Contact Information Blocks */
.contact-blocks {
    display: flex;
    align-items: center;
    gap: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
}

.contact-icon {
    font-size: 22px;
    color: #000;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-detail {
    font-size: 13px;
    color: #444;
    margin-top: 2px;
}

/* Action Buttons (Now in Top Bar) */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 5px; /* Very close spacing according to the image */
}

.btn {
    text-decoration: none;
    color: #ffffff;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px; /* Slight rounding */
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    filter: brightness(1.1); /* Subtle hover */
}

.btn-red {
    background-color: #ff0000; 
}
.btn-dark-red {
    background-color: #8b0000;
}
.btn-blue {
    background-color: #0d6efd;
}
.btn-green {
    background-color: #28a745;
}

/* Main Navigation Bar (Below Top Bar) */
.main-nav-wrapper {
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav-container {
    display: flex;
    justify-content: center; /* Center aligned exactly like in the image */
    padding: 20px 0; /* Increased padding makes the second navbar considerably taller */
    min-height: 65px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px; /* Tuned spacing for one-line layout */
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

.nav-menu li a {
    text-decoration: none;
    color: #111; /* Very dark grey/black */
    font-size: 13.5px; /* Readable but compact */
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap; /* Never break text of a link to two lines */
}

.nav-menu li a i {
    font-size: 11px;
    color: #444;
}

.nav-menu li a:hover,
.nav-menu li a.nav-active {
    color: #e53935; /* The 'HOME' tab is red */
}

.nav-menu li a.nav-active i,
.nav-menu li a:hover i {
    color: #e53935;
}

/* Mobile Toggle - Hidden on desktop */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
    .nav-menu {
        gap: 12px;
    }
    .top-left-group {
        gap: 30px;
    }
}

@media (max-width: 1200px) {
    .top-bar-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    .top-left-group {
        flex-direction: column;
        gap: 20px;
    }
    .top-right-group {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none; /* Hide wide menu on strict mobile/tablet */
    }
    .mobile-toggle {
        display: block;
        margin: 0 auto;
    }
    .top-right-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .contact-blocks {
        flex-direction: column;
        gap: 15px;
    }
}

/* Hero Section */
.hero-banner {
    width: 100%;
    aspect-ratio: 16 / 9; /* Enforcing 16:9 aspect ratio as requested */
    max-height: calc(100vh - 130px); /* Preventing it from extending infinitely offscreen on ultrawide monitors, ensuring both nav and banner fit beautifully */
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animation for attention */
@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 4px 25px rgba(12, 184, 255, 0.8); }
    100% { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
}

/* Floating PCD Button */
.btn-floating-pcd {
    position: absolute;
    bottom: 60px; /* Increased bottom spacing */
    left: 15%; /* Spaced 15% from left edge */
    background-color: #0cb8ff;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 12px 24px; /* Slightly larger padding for better clickability */
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulseGlow 2s infinite; /* Pulsing glow for attention */
}

.btn-floating-pcd:hover {
    background-color: #009ce6;
    transform: translateY(-2px);
}

.bounce-arrow {
    margin-left: 2px;
    animation: bounceRight 1s infinite;
}

/* PCD Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

.modal-overlay.show-modal {
    visibility: visible;
    opacity: 1;
}

.modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 460px;
    border-radius: 12px; /* Smoother corners */
    padding: 35px 40px; /* More breathing room */
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* Softer, premium shadow */
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show-modal .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 32px;
    height: 32px;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    line-height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #e60000;
    font-size: 24px; /* Increased text size for readability */
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-header p {
    color: #444; /* Slightly softer than pure black */
    font-size: 14.5px; /* Increased for better readability */
    font-weight: 600;
}

.pcd-form .input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px; /* Softer border-radius */
    margin-bottom: 15px;
    padding: 2px 14px; /* Larger hit-area */
    background: #fafafa; /* Subtle background */
    transition: all 0.3s ease;
}

.pcd-form .input-group:focus-within {
    border-color: #1748a0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 72, 160, 0.1); /* Professional focus ring */
}

.pcd-form .input-group .icon-blue {
    color: #1748a0;
    font-size: 16px;
    width: 20px;
    text-align: center;
    margin-right: 12px;
    opacity: 0.85;
}

.pcd-form input, 
.pcd-form select {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 15px; /* Increased input text size for readability */
    font-family: inherit;
    color: #222;
    background: transparent;
}

.pcd-form select {
    cursor: pointer;
}

.pcd-form input::placeholder {
    color: #888;
}

.btn-submit-pcd {
    width: 100%;
    background-color: #e60000;
    color: #fff;
    border: none;
    padding: 15px 0;
    border-radius: 6px;
    font-size: 17px; /* Increased slightly for prominence */
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-submit-pcd:hover {
    background-color: #cc0000;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(230,0,0,0.2);
}
