:root {
    --primary: #002b49;
    --secondary: #0077b6;
    --accent: #00aaff;
    --text-main: #002b49;    
    --text-light: #4a6fa5;
    --text-white: #ffffff;   
    --text-silver: #e0f2fe;  
    --bg-white: #ffffff;
    --bg-light: #E8F1F9;     
    --bg-dark: #001f35;
    --border: #bde0fe;       
    --shadow-card: 0 4px 15px rgba(0, 119, 182, 0.1), 0 2px 4px rgba(0, 119, 182, 0.05);
    --radius: 8px;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

p { margin-bottom: 1rem; color: var(--text-light); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 90px 0; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }

.section-header { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; position: relative; display: inline-block; color: var(--primary); }
.section-header h2::after { content: ''; display: block; width: 60px; height: 5px; background: var(--accent); margin: 15px auto 0; border-radius: 10px; }
.section-header p { font-size: 1.15rem; color: var(--text-light); font-weight: 500; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; border-radius: var(--radius); text-decoration: none; transition: all 0.2s ease; cursor: pointer; border: none; }
.btn-primary { background-color: var(--accent); color: white; box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3); }
.btn-primary:hover { background-color: var(--secondary); transform: translateY(-2px); }
.btn-secondary { background-color: var(--primary); color: white; }
.btn-secondary:hover { background-color: var(--bg-dark); }
.btn-outline { background: transparent; border: 2px solid white; color: white; font-weight: 700; }
.btn-outline:hover { background: white; color: var(--primary); }

.top-bar { background-color: var(--primary); color: var(--text-silver); padding: 8px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-bar a { color: var(--text-silver); text-decoration: none; font-weight: 600; }

header { background: rgba(232, 241, 249, 0.95); backdrop-filter: blur(10px); height: 100px; display: flex; align-items: center; box-shadow: 0 4px 20px rgba(0, 43, 73, 0.05); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; align-items: center; }
.nav-links li { position: relative; }
.nav-links a { font-weight: 600; color: var(--text-main); text-decoration: none; font-size: 0.95rem; text-transform: uppercase; transition: color 0.2s; cursor: pointer; display: block; padding: 10px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.dropdown { position: absolute; top: 100%; left: 0; background: white; min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: var(--radius); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; padding: 10px 0; list-style: none; z-index: 1001; }
.nav-links li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { padding: 12px 20px; font-size: 0.85rem; text-transform: none; font-weight: 500; color: var(--text-main); }
.dropdown li a:hover { background: var(--bg-light); color: var(--accent); border: none; }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* --- FIXED: Sticky Actions & Bubble Centering --- */
.sticky-actions { 
    position: fixed; 
    right: 20px; 
    bottom: 20px; 
    z-index: 2000; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    align-items: center; /* Forces vertical column alignment */
}

/* Perfect Centering for Icons */
.fab { 
    width: 50px; 
    height: 50px; 
    min-width: 50px;         /* Prevents squishing */
    min-height: 50px;        /* Prevents squishing */
    border-radius: 50%; 
    display: flex; 
    align-items: center;     /* Vertical Center */
    justify-content: center; /* Horizontal Center */
    color: white; 
    font-size: 22px;         /* Fixed icon size */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    transition: transform 0.2s; 
    text-decoration: none !important; /* Removes underlines */
    border: 2px solid white; 
    padding: 0; 
    margin: 0;
    line-height: 1;          /* Removes text leading offset */
}

.fab i {
    display: block;          /* Ensures icon is a block for perfect centering */
    line-height: 1;
}

.fab:hover { transform: scale(1.1); }
.fab-whatsapp { background-color: #25D366; }
.fab-phone { background-color: var(--primary); }
.fab-email { background-color: var(--accent); }

/* Hero */
.hero { position: relative; height: 650px; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden; background-color: var(--bg-dark); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0, 30, 60, 0.4), rgba(0, 30, 60, 0.3)); z-index: 1; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; animation: slideShow 15s infinite; }
.slide:nth-child(1) { animation-delay: 0s; background-image: url('hero-1.jpg'); }
.slide:nth-child(2) { animation-delay: 5s; background-image: url('hero-2.jpg'); }
.slide:nth-child(3) { animation-delay: 10s; background-image: url('hero-3.jpg'); }
@keyframes slideShow { 0% { opacity: 0; transform: scale(1); } 5% { opacity: 1; } 33% { opacity: 1; transform: scale(1.05); } 38% { opacity: 0; } 100% { opacity: 0; } }
.hero-content { max-width: 900px; padding: 24px; z-index: 2; position: relative; margin-top: 100px; padding-bottom: 50px; }
.hero-label { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; backdrop-filter: blur(4px); color: #ffffff; }
.hero h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 24px; text-shadow: 0 4px 20px rgba(0,0,0,0.6); color: white; }
.hero p { font-size: 1.25rem; color: #e0f2fe; margin-bottom: 40px; font-weight: 400; max-width: 750px; margin-left: auto; margin-right: auto; line-height: 1.6; }

.trust-bar { background: var(--primary); color: white; padding: 40px 0; margin-top: 0; position: relative; z-index: 10; box-shadow: 0 10px 30px rgba(0, 43, 73, 0.2); border-top: 4px solid var(--accent); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-item h3 { font-size: 2.8rem; color: #ffffff; margin-bottom: 5px; line-height: 1; }
.trust-item span { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 700; }

.services-quad-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-quad-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); transition: 0.3s ease; }
.service-quad-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.service-quad-img { height: 250px; background-size: cover; background-position: center; background-color: var(--primary); }
.service-quad-content { padding: 40px; }
.service-quad-content h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--primary); }
.service-quad-content p { font-size: 1rem; color: var(--text-light); margin-bottom: 20px; }
.service-quad-content ul { list-style: none; padding: 0; margin-bottom: 20px; }
.service-quad-content ul li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.95rem; }
.service-quad-content ul li i { color: var(--accent); }

.area-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: 0.3s; border: 1px solid var(--border); }
.area-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0, 170, 255, 0.1); border-color: var(--accent); }
.area-img { height: 220px; background-size: cover; background-position: center; position: relative; background-color: var(--primary); }
.area-content { padding: 30px; text-align: center; }
.area-content h3 { font-size: 1.6rem; margin-bottom: 12px; color: var(--primary); }
.area-content p { color: var(--text-light); font-size: 1rem; }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; margin-top: 40px; }
.cert-item { padding: 30px; background: white; border: 1px solid var(--border); border-radius: var(--radius); transition: 0.3s; }
.cert-item:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow-card); }
.cert-icon { font-size: 3rem; color: var(--primary); margin-bottom: 15px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { height: 250px; background-color: var(--primary); border-radius: var(--radius); position: relative; overflow: hidden; background-size: cover; background-position: center; }
.gallery-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0, 43, 73, 0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-text { color: white; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.page-header { background: var(--bg-dark); color: white; padding: 140px 0 100px; text-align: center; background-image: linear-gradient(rgba(0, 43, 73, 0.4), rgba(0, 43, 73, 0.3)), url('header-default.jpg'); background-size: cover; background-position: center; background-color: var(--primary); }
.page-header h1 { font-size: 3.5rem; color: white; margin-bottom: 15px; }
.page-header p { font-size: 1.25rem; color: #e0f2fe; }

.vessel-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); }
.vessel-img { background-size: contain; background-repeat: no-repeat; background-position: center; min-height: 450px; background-color: #ffffff; }
.vessel-info { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 30px 0; padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spec-grid strong { color: var(--primary); font-size: 1.1rem; }
.spec-grid span { color: var(--text-light); }
.form-control { width: 100%; padding: 16px; background: white; border: 1px solid #bde0fe; border-radius: var(--radius); font-family: inherit; margin-bottom: 24px; font-size: 1rem; color: var(--text-main); }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.2); }
label { color: var(--primary); font-weight: 700; margin-bottom: 8px; display: block; }

.map-wrapper { position: relative; width: 100%; height: 450px; background: #E8F1F9; border-radius: var(--radius); overflow: hidden; margin-top: 48px; box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.map-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.step-card { text-align: center; position: relative; padding: 30px; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.step-number { width: 50px; height: 50px; background: var(--secondary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 20px; font-size: 1.2rem; }

footer { background: var(--bg-dark); color: #90caf9; padding: 80px 0 30px; margin-top: auto; border-top: 5px solid var(--accent); }
.footer-links a { color: #e1f5fe; text-decoration: none; display: block; margin-bottom: 12px; transition: 0.2s; font-size: 1rem; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; } 
.contact-row { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; color: white; }
.contact-row i { color: var(--accent); margin-top: 5px; }

/* Footer Map Styling */
.footer-map {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: var(--radius);
    margin-top: 10px;
    opacity: 0.9;
    transition: opacity 0.3s;
}
.footer-map:hover {
    opacity: 1;
}

/* Footer Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* 4 Columns */
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .vessel-card { grid-template-columns: 1fr; }
    .vessel-img { height: 350px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .services-quad-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .nav-links.mobile-active { display: flex; flex-direction: column; position: fixed; top: 100px; left: 0; width: 100%; background: white; padding: 24px; box-shadow: 0 10px 20px rgba(1, 65, 117, 0.1); border-top: 1px solid #b3e5fc; height: auto; align-items: flex-start; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 20px; width: 100%; }
    .hero { height: auto; min-height: 600px; padding: 120px 0; }
    .section-header h2 { font-size: 2rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}