:root {
    /* Ironseal Logo Color Palette */
    --navy-blue: #002C5F; 
    --ocean-blue: #001B3A;
    --light-blue: #00A3E0; 
    --accent-yellow: #FFB81C; 
    --accent-hover: #E5A600;
    --steel-gray: #B0BEC5;
    --light-steel: #78909C;
    --white: #FFFFFF;
    --bg-light: #F4F6F8;
    
    --shadow-sm: 0 4px 6px rgba(0, 44, 95, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 44, 95, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--navy-blue); line-height: 1.6; overflow-x: hidden; background-color: var(--white); }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy-blue); }
.text-accent { color: var(--accent-yellow); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }

/* --- Page Preloader --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--ocean-blue); z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.6s ease; }
.loader-spinner { width: 60px; height: 60px; border: 4px solid rgba(255, 184, 28, 0.2); border-top: 4px solid var(--accent-yellow); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loader-text { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 1.1rem; letter-spacing: 3px; font-weight: 600; }

/* Typography & Buttons */
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--accent-yellow); }
.section-subtitle { color: var(--light-steel); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.btn { display: inline-block; padding: 14px 32px; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; text-decoration: none; transition: var(--transition); cursor: pointer; border: 2px solid transparent; }
.btn-primary { background-color: var(--accent-yellow); color: var(--navy-blue); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 184, 28, 0.3); }
.btn-secondary { background-color: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background-color: var(--accent-yellow); color: var(--navy-blue); border-color: var(--accent-yellow); transform: translateY(-3px); }
.btn-full { width: 100%; }

/* Navbar & Logo (Updated for Full Name) */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 0; z-index: 1000; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: var(--navy-blue); padding: 10px 0; box-shadow: var(--shadow-md); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo-img { height: 50px; width: auto; background: var(--white); padding: 5px; border-radius: 4px; object-fit: contain; }
.logo-text-full { color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1.1; letter-spacing: 1px; }
.logo-text-full small { font-weight: 600; font-size: 0.75rem; letter-spacing: 1.5px; color: var(--accent-yellow); display: block; margin-top: 2px; }

.nav-menu { display: flex; gap: 30px; list-style: none; }
.nav-link { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: var(--transition); position: relative; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-yellow); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { width: 30px; height: 2px; background-color: var(--white); transition: var(--transition); }

/* Hero Slider */
.hero { height: 100vh; min-height: 600px; position: relative; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-bg-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-bg-slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(0, 44, 95, 0.95) 0%, rgba(0, 44, 95, 0.6) 100%); z-index: -1; }
.hero-content { color: var(--white); max-width: 800px; z-index: 2; position: relative; }
.hero-title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--white); }
.hero-subtitle { font-size: 1.2rem; color: var(--steel-gray); margin-bottom: 40px; max-width: 600px; }
.hero-buttons { display: flex; gap: 20px; }
.hero-indicators { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.hero-indicator { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: var(--transition); }
.hero-indicator.active { background: var(--accent-yellow); transform: scale(1.3); }

/* Inner Pages */
.inner-header { padding: 180px 0 100px; background-size: cover; background-position: center; color: var(--white); margin-bottom: 40px; position: relative; }
.inner-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 44, 95, 0.85); z-index: 1; }
.inner-header .container { position: relative; z-index: 2; }
.inner-header h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 15px; }

/* Grids & Cards */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: var(--light-steel); margin-bottom: 20px; font-size: 1.05rem; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.info-card { display: flex; gap: 20px; margin-bottom: 30px; background: var(--bg-light); padding: 25px; border-radius: 8px; transition: var(--transition); border-left: 4px solid var(--accent-yellow); }
.info-card:hover { box-shadow: var(--shadow-sm); transform: translateX(5px); }
.info-icon { font-size: 1.8rem; color: var(--light-blue); }
.info-card h4 { margin-bottom: 5px; color: var(--ocean-blue); }
.info-card p, .info-card a { color: var(--light-steel); font-size: 0.95rem; text-decoration: none; }

.contact-form { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-md); border-top: 4px solid var(--navy-blue); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #E0E0E0; border-radius: 4px; font-family: 'Open Sans', sans-serif; font-size: 1rem; color: var(--navy-blue); background: var(--bg-light); transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--light-blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.1); }

/* Fleet Network Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-box { padding: 30px; background: var(--bg-light); border-radius: 8px; text-align: center; border-bottom: 4px solid var(--accent-yellow); }
.feature-box h4 { margin-bottom: 15px; font-size: 1.2rem; }

/* Footer */
.footer { background: var(--navy-blue); color: var(--steel-gray); padding: 60px 0 30px; border-top: 5px solid var(--accent-yellow); }
.footer-logo { display: inline-block; background: white; padding: 10px 20px; border-radius: 4px; margin-bottom: 20px; }

/* Animations */
.reveal { opacity: 0; visibility: hidden; transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; visibility: visible; transform: translateY(0) translateX(0); }
.fade-up { transform: translateY(50px); }
.fade-right { transform: translateX(-50px); }
.fade-left { transform: translateX(50px); }

/* Responsive */
@media (max-width: 968px) {
    .hero-title { font-size: 3rem; }
    .logo-text-full { font-size: 1rem; }
    .about-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .service-row { grid-template-columns: 1fr !important; direction: ltr !important; gap: 30px !important; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--navy-blue); flex-direction: column; justify-content: center; align-items: center; transition: 0.4s ease-in-out; box-shadow: -10px 0 30px rgba(0,0,0,0.2); }
    .nav-menu.active { right: 0; }
    .hamburger { display: flex; z-index: 1001; }
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 60px 0; }
}
/* --- New 4-Section Footer --- */
.footer {
    background-color: var(--ocean-blue);
    color: var(--white);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

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

.footer-section h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-section p, .footer-section ul {
    color: rgba(255,255,255,0.7);
}

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

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

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-map-container {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}


/* --- Updated Footer 4-Section Layout --- */
.footer {
    background-color: var(--ocean-blue);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 0; /* Ensures it stays at the bottom */
}

/* This creates the 4-column internal division */
.footer-content-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-bottom: 40px;
    text-align: left; /* Changes from center to left for the 4 sections */
}

.footer-section h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-section p, .footer-section ul {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

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

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

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

/* Responsive: Stack columns on mobile */
@media (max-width: 768px) {
    .footer-content-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .footer-content-wrapper {
        grid-template-columns: 1fr;
    }
}
