/*
Theme Name: InterOcean
Theme URI: https://www.interoceanuae.com/
Author: Justlogin It SOlutions
Author URI: https://www.justlogin.in/
Description: A professional maritime services WordPress theme inspired by Inter Ocean Group UAE. Features hero slider, services showcase, awards, and news sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interocean
Tags: maritime, corporate, business, blue, professional, services
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
===================================================== */
:root {
    --color-navy:      #0c2340;
    --color-navy-mid:  #1a3a5c;
    --color-blue:      #1a5a8a;
     --color-gold:      #ec2b11;
    --color-gold-dark: #ff0404;
    --color-white:     #ffffff;
    --color-light:     #f4f7fa;
    --color-gray:      #888888;
    --color-gray-mid:  #cccccc;
    --color-text:      #2c2c2c;
    --color-border:    #dde4ec;

    --font-primary:   'Raleway', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    --shadow-sm: 0 2px 8px rgba(12, 35, 64, 0.08);
    --shadow-md: 0 4px 20px rgba(12, 35, 64, 0.14);
    --shadow-lg: 0 8px 40px rgba(12, 35, 64, 0.18);

    --radius:    4px;
    --radius-lg: 8px;
    --transition: 0.3s ease;
}

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--color-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold); }
ul { list-style: none; }

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

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =====================================================
   UTILITY CLASSES
===================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.text-center { text-align: center; }
.text-white  { color: var(--color-white) !important; }
.bg-navy     { background: var(--color-navy); }
.bg-light    { background: var(--color-light); }

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}
.btn-primary:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

.btn-navy {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}
.btn-navy:hover {
    background: var(--color-navy-mid);
    border-color: var(--color-navy-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 0;
}
.title-divider {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 16px auto 32px;
    border-radius: 2px;
}
.title-divider.left { margin-left: 0; }

/* =====================================================
   TOP BAR
===================================================== */
.top-bar {
    background: var(--color-navy);
    padding: 8px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.75);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar a { color: rgba(255,255,255,0.75); }
.top-bar a:hover { color: var(--color-gold); }
.top-bar .top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar .top-bar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* =====================================================
   HEADER / NAVIGATION
===================================================== */
.site-header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.site-logo img { height: 60px; width: auto; }
.site-logo .logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-navy);
    line-height: 1.1;
}
.site-logo .logo-tagline {
    font-size: 0.6875rem;
    color: var(--color-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > li { position: relative; }
.primary-nav > li > a {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.primary-nav > li > a:hover,
.primary-nav > li.current-menu-item > a,
.primary-nav > li.current-menu-parent > a {
    color: var(--color-gold);
    background: rgba(201,168,76,0.08);
}

/* Dropdown */
.primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--color-gold);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
}
.primary-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.primary-nav .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.8375rem;
    color: var(--color-navy);
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}
.primary-nav .sub-menu li:last-child a { border-bottom: none; }
.primary-nav .sub-menu li a:hover {
    background: var(--color-light);
    color: var(--color-gold);
    padding-left: 28px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =====================================================
   HERO SLIDER
===================================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 580px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(12, 35, 64, 0.85) 0%,
        rgba(12, 35, 64, 0.55) 60%,
        rgba(12, 35, 64, 0.25) 100%
    );
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-slide-content .container { padding-top: 20px; }
.hero-label {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-navy);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius);
    margin-bottom: 18px;
}
.hero-title {
    font-size: 3rem;
    color: var(--color-white);
    max-width: 620px;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    line-height: 1.18;
}
.hero-desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.88);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.slider-dot.active, .slider-dot:hover {
    background: var(--color-gold);
    transform: scale(1.25);
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(12,35,64,0.55);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--color-white);
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.slider-arrow:hover { background: var(--color-gold); border-color: var(--color-gold); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* =====================================================
   STATS BAR
===================================================== */
.stats-bar {
    background: var(--color-navy);
    padding: 30px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}
.stat-item {
    padding: 14px 20px;
    border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =====================================================
   ABOUT / CHAIRMAN
===================================================== */
.about-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-gold);
    color: var(--color-navy);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}
.about-image-badge strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.about-image-badge span { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }

.about-content .section-title { text-align: left; }
.about-quote {
    border-left: 4px solid var(--color-gold);
    padding: 16px 20px;
    margin: 24px 0;
    background: var(--color-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    font-size: 1.0625rem;
    color: var(--color-navy-mid);
}
.about-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-gold-dark);
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
}
.about-feature svg { color: var(--color-gold); flex-shrink: 0; }

/* =====================================================
   SERVICES
===================================================== */
.services-section { background: var(--color-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--color-gold);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--color-gold);
    font-size: 1.5rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service-title {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--color-navy);
}
.service-desc {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-link {
    font-size: 0.8375rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.service-link:hover { color: var(--color-navy); gap: 10px; }

/* =====================================================
   WHY CHOOSE US
===================================================== */
.why-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
    position: relative;
    overflow: hidden;
}
.why-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-content .section-title { color: var(--color-white); }
.why-content .section-subtitle { color: rgba(255,255,255,0.65); }
.why-content p { color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.why-points { margin: 32px 0; display: flex; flex-direction: column; gap: 18px; }
.why-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.why-point-icon {
    width: 44px; height: 44px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: var(--radius);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}
.why-point-icon svg { width: 20px; height: 20px; }
.why-point-body h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 4px; }
.why-point-body p { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin: 0; }
.why-image { position: relative; }
.why-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* =====================================================
   FACILITIES
===================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.facility-card {
    display: flex;
    gap: 20px;
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.facility-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}
.facility-icon {
    width: 52px; height: 52px;
    background: var(--color-light);
    border-radius: var(--radius);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
}
.facility-icon svg { width: 24px; height: 24px; }
.facility-body h4 { font-size: 1rem; margin-bottom: 6px; color: var(--color-navy); }
.facility-body p  { font-size: 0.875rem; color: var(--color-gray); margin: 0; line-height: 1.6; }

/* =====================================================
   AWARDS / RECOGNITION
===================================================== */
.awards-section { background: var(--color-navy); }
.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.award-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition);
}
.award-card:hover {
    background: rgba(201,168,76,0.12);
    border-color: var(--color-gold);
    transform: translateY(-4px);
}
.award-year {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-navy);
    font-weight: 800;
    font-size: 0.875rem;
    padding: 3px 12px;
    border-radius: var(--radius);
    margin-bottom: 14px;
}
.award-card h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 8px;
}
.award-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.8125rem;
    margin: 0;
}
.award-icon {
    font-size: 2.25rem;
    margin-bottom: 14px;
    color: var(--color-gold);
}
.award-icon svg { width: 40px; height: 40px; margin: 0 auto; }

/* =====================================================
   NEWS / BLOG
===================================================== */
.news-section { background: var(--color-light); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.news-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.news-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--color-navy);
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-cat {
    position: absolute;
    bottom: 14px; left: 14px;
    background: var(--color-gold);
    color: var(--color-navy);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: var(--radius);
}
.news-card-body { padding: 22px 24px; }
.news-meta {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 10px;
    display: flex;
    gap: 14px;
    align-items: center;
}
.news-meta svg { width: 13px; height: 13px; }
.news-card-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--color-navy);
    line-height: 1.4;
}
.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--color-gold-dark); }
.news-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.65;
    margin-bottom: 18px;
}
.news-read-more {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}
.news-read-more:hover { color: var(--color-gold-dark); gap: 10px; }

/* =====================================================
   CTA BANNER
===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-navy-mid) 0%, var(--color-blue) 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.04'%3E%3Cpolygon fill='%23fff' points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px;
}
.cta-section h2 { color: var(--color-white); font-size: 2.25rem; margin-bottom: 14px; position: relative; }
.cta-section p  { color: rgba(255,255,255,0.8); font-size: 1.0625rem; margin-bottom: 32px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =====================================================
   FOOTER
===================================================== */
.site-footer { background: #0a1e36; color: rgba(255,255,255,0.75); }
.footer-top { padding: 70px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
    gap: 40px;
}
.footer-brand .logo-text { color: var(--color-white); font-size: 1.375rem; }
.footer-brand .logo-tagline { color: var(--color-gold); }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; margin-top: 14px; color: rgba(255,255,255,0.6); }

.footer-heading {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}

.footer-links li { margin-bottom: 9px; }
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}
.footer-links a:hover { color: var(--color-gold); padding-left: 4px; }
.footer-links a svg { width: 12px; height: 12px; }

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}
.footer-contact-item svg {
    width: 16px; height: 16px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-hours { font-size: 0.875rem; }
.footer-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.6);
}
.footer-hours-row:last-child { border-bottom: none; }
.footer-hours-row .day { font-weight: 600; color: rgba(255,255,255,0.8); }

.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 16px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--color-gold); }

/* =====================================================
   PAGE HERO BANNER
===================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
    padding: 70px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-gold), transparent);
}
.page-hero h1 { color: var(--color-white); font-size: 2.5rem; margin-bottom: 10px; }
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--color-gold); }
.breadcrumb svg { width: 12px; height: 12px; }

/* =====================================================
   BLOG / ARCHIVE
===================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 60px 0;
}
.post-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card-img { height: 240px; overflow: hidden; background: var(--color-light); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 28px 30px; }
.post-meta { font-size: 0.8125rem; color: var(--color-gray); margin-bottom: 12px; display: flex; gap: 16px; align-items: center; }
.post-meta svg { width: 13px; height: 13px; }
.post-card h2 { font-size: 1.375rem; margin-bottom: 12px; }
.post-card h2 a { color: var(--color-navy); }
.post-card h2 a:hover { color: var(--color-gold-dark); }
.post-card p { color: var(--color-gray); font-size: 0.9rem; margin-bottom: 20px; }

/* Sidebar */
.sidebar-widget {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    margin-bottom: 28px;
}
.sidebar-widget-title {
    font-size: 1rem;
    color: var(--color-navy);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}

/* =====================================================
   SINGLE POST
===================================================== */
.single-post { padding: 60px 0; }
.single-post-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.post-header { margin-bottom: 28px; }
.post-header h1 { font-size: 2rem; color: var(--color-navy); margin-bottom: 14px; }
.post-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow-md); }
.post-featured-img img { width: 100%; max-height: 450px; object-fit: cover; }
.post-content { line-height: 1.85; }
.post-content h2, .post-content h3 { color: var(--color-navy); margin: 24px 0 12px; }
.post-content p { margin-bottom: 1.2rem; color: #444; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.post-content li { margin-bottom: 6px; }
.post-content blockquote {
    border-left: 4px solid var(--color-gold);
    padding: 16px 20px;
    background: var(--color-light);
    margin: 24px 0;
    font-style: italic;
    font-size: 1.05rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* =====================================================
   CONTACT PAGE
===================================================== */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-info > p { color: var(--color-gray); margin-bottom: 28px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 44px; height: 44px;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-body h4 { font-size: 0.9rem; color: var(--color-navy); margin-bottom: 3px; }
.contact-info-body p { font-size: 0.875rem; color: var(--color-gray); margin: 0; }
.contact-form-wrap { background: var(--color-light); padding: 36px 40px; border-radius: var(--radius-lg); }
.contact-form-wrap h3 { font-size: 1.375rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--color-navy); margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(12,35,64,0.08);
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* =====================================================
   PAGINATION
===================================================== */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 40px 0;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
    transition: all var(--transition);
}
.page-numbers:hover,
.page-numbers.current {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

/* =====================================================
   BACK TO TOP
===================================================== */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 999;
    border: none;
    cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--color-gold); transform: translateY(-3px); }
.back-to-top svg { width: 18px; height: 18px; }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-section .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .section-pad { padding: 56px 0; }
    .section-title { font-size: 1.6rem; }
    .hero-slider { height: 480px; }
    .hero-title { font-size: 1.875rem; }

    .top-bar .container { flex-direction: column; align-items: flex-start; gap: 4px; }
    .top-bar-left, .top-bar-right { flex-wrap: wrap; gap: 12px; }

    .nav-toggle { display: flex; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--color-white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        padding: 12px 0;
        gap: 0;
    }
    .primary-nav.open { display: flex; }
    .primary-nav > li > a { padding: 12px 24px; }
    .primary-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background: var(--color-light);
        display: none;
    }
    .primary-nav li.open > .sub-menu { display: block; }

    .about-section .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-image-badge { bottom: -15px; right: -10px; padding: 14px 16px; }
    .about-features { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .facilities-grid { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .blog-layout { grid-template-columns: 1fr; }
    .single-post-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .hero-slider { height: 420px; }
    .hero-title { font-size: 1.5rem; }
    .awards-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .stat-item:last-child { border-bottom: none; }
}
