
:root {
    /* Color Palette */
    --primary: #001f3f;       /* Deep Navy */
    --secondary: #708090;     /* Slate Gray */
    --accent: #c0c0c0;        /* Metallic Silver */
    --text-main: #1a1a1a;     /* Near Black */
    --text-muted: #4a4a4a;    /* Muted Gray */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --section-padding: 100px 5%;
    --container-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

ul {
    list-style: none;
}

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

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

/* --- Header & Nav --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -10px;
    flex-shrink: 0;
}

.logo-container img {
    height: 80px;
    width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--secondary);
}

.cta-button {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 31, 63, 0.7), rgba(0, 31, 63, 0.7)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* --- Services --- */
.services {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

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

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

/* --- About --- */
.about {
    padding: var(--section-padding);
}

.about-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-row > * {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}

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

.about-image img {
    border-radius: 12px;
    box-shadow: 20px 20px 0 var(--bg-light);
}

/* --- Contact --- */
.contact {
    padding: var(--section-padding);
    background-color: var(--primary);
    color: var(--white);
}

.contact h2 {
    text-align: center;
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 60px;
}

.contact-info div {
    margin-bottom: 30px;
}

.contact-info h4 {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--accent);
}

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

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 4px;
    outline: none;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    background-color: var(--white);
    color: var(--primary);
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--accent);
}

/* --- Footer --- */
.footer {
    padding: 50px 0;
    background-color: #00152b;
    color: #667c94;
    text-align: center;
    font-size: 0.9rem;
}

.footer-logo {
    margin-bottom: 20px;
}

/* --- Solutions/Products --- */
.solutions {
    padding: var(--section-padding);
    background-color: var(--white);
}

.product-ribbon {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.ribbon-tab {
    padding: 12px 25px;
    background: var(--bg-light);
    border: 1px solid var(--accent);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.ribbon-tab.active, .ribbon-tab:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.ribbon-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.ribbon-content.active {
    display: block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.product-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-card.large {
    grid-column: span 2;
    padding: 0;
}

@media (max-width: 768px) {
    .product-card.large {
        grid-column: span 1;
    }
}

.card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card-overlay {
    position: relative;
    z-index: 2;
    padding: 40px;
    background: linear-gradient(to right, rgba(0, 31, 63, 0.9), transparent);
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Info Center --- */
.info-center {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.info-item {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 0.9rem;
    color: var(--secondary);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.info-text h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.video-placeholder {
    margin-top: 20px;
    height: 150px;
    background: #000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    opacity: 0.8;
}

.video-placeholder i {
    font-size: 3rem;
    opacity: 0.7;
}

.info-img {
    margin-top: 20px;
    border-radius: 8px;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.info-list {
    margin-top: 20px;
}

.info-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.info-list i {
    color: var(--primary);
}

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

/* --- Existing Media Queries --- */
@media (max-width: 992px) {
    .about-row {
        flex-direction: column;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
}

/* --- Dynamic Gallery Styles --- */
.dynamic-gallery {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-card-dynamic {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--accent);
    animation: fadeIn 0.5s ease;
}

.video-card-dynamic h5 {
    margin: 10px 0 5px;
    font-size: 1rem;
    color: var(--primary);
}

.video-card-dynamic p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-container-dynamic {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #000;
}

.video-container-dynamic iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
