/* ── Material Symbols Icon Font ── */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

:root {
    --primary-navy: #002147; /* Navy Blue */
    --accent-gold: #D4AF37; /* Gold */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-offwhite: #F8FAFC;
    --border: #E2E8F0;
    --container-width: 1200px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header & Navigation */
.main-header {
    background: var(--bg-white);
    padding: 0;
    border-bottom: 2px solid var(--accent-gold);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-container {
    width: 320px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.cta-group {
    display: flex;
    gap: 2rem; /* Increased spacing between buttons */
    justify-content: center;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slogan {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .hamburger-menu {
        display: flex !important;
    }

    .header-container {
        position: relative;
    }

    nav {
        display: none !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-navy);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }

    nav.active {
        display: block !important;
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-menu a {
        color: white;
        font-size: 1.2rem;
    }

    .nav-menu a:hover {
        color: var(--accent-gold);
    }

    .brand {
        flex-shrink: 0;
    }

    .logo-container {
        width: 240px;
        height: 75px;
        margin-bottom: 0;
    }

    .logo-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .slogan {
        font-size: 0.7rem;
    }
}

/* Headings */
h1, h2, h3 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.subheading {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.notices-scroll {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.notices-scroll::-webkit-scrollbar {
    width: 6px;
}

.notices-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.notices-scroll::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 3px;
}

.notices-scroll:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
}

.notices-scroll:hover {
    scrollbar-color: rgba(0,0,0,0.3) transparent;
}

.section-white {
    background: var(--bg-white);
}

.section-offwhite {
    background: var(--bg-offwhite);
}

/* Hero slider */
.hero-slider {
    position: relative;
    height: 75vh;
    width: 100%;
    overflow: hidden;
    background: var(--primary-navy);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.85) 0%, rgba(0, 33, 71, 0.45) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 100%;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .cta-group {
        flex-direction: column;
        align-items: stretch;
        margin-top: 2rem;
    }

    .hero-content .cta-group .btn {
        text-align: center;
    }
}

.hero-content h1 {
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 5px 30px rgba(0,0,0,0.6), 0 0 20px rgba(255, 255, 255, 0.4);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
}

.slide.active .hero-content h1 {
    transform: translateY(0);
    opacity: 1;
}

/* Premium Parallax Utility */
.premium-parallax {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.premium-parallax .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.9) 0%, rgba(0, 33, 71, 0.6) 100%);
}

.premium-parallax h1 {
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.premium-parallax .container {
    position: relative;
    z-index: 2;
}

/* Gold Gradient Utility */
.gold-gradient-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff9e6 50%, #f8f9fa 100%);
    position: relative;
}

.gold-border-top {
    border-top: 3px solid var(--accent-gold);
}

.navy-gold-card {
    background: white;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 33, 71, 0.05);
    border: 1px solid var(--bg-offwhite);
    transition: all 0.4s ease;
}

.navy-gold-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(0, 33, 71, 0.1);
}

/* Glassmorphism Buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-gold);
    color: white;
}

/* Shimmer Animation */
.shimmer::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { left: -60%; }
    100% { left: 140%; }
}

/* Parallax Scrolling */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-offwhite) 100%);
    position: relative;
}

.gradient-divider {
    height: 150px;
    background: linear-gradient(to bottom right, var(--primary-navy), var(--accent-gold));
    clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%);
    opacity: 0.1;
    margin: -75px 0;
}

/* Latest News Section - Redesigned Slider */
.news-slider-container {
    padding: 2rem 0 4rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.news-slider-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: max-content;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 33, 71, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bg-offwhite);
    width: 380px; /* Smaller fixed width for hierarchy */
    flex-shrink: 0;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 33, 71, 0.15);
}

.news-image-area {
    width: 100%;
    height: 180px; /* Smaller image height */
    overflow: hidden;
    position: relative;
    background: var(--primary-navy);
}

.news-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image-area img {
    transform: scale(1.1);
}

.news-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.news-body {
    padding: 2rem; /* Reduced padding for smaller cards */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    display: block;
}

.news-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-card p {
    color: #64748b;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.news-link {
    color: var(--primary-navy);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.news-link:hover {
    gap: 0.8rem;
    color: var(--accent-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-navy {
    background: var(--primary-navy);
    color: white;
}

/* About Section */
.about-snippet {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.clickable-about {
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.clickable-about:hover {
    transform: scale(1.02);
}

/* Horizontal Scroll Section */
.horizontal-scroll-wrapper {
    position: relative;
    padding: 2rem 0;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 2rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 33, 71, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 33, 71, 0.05);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 25px 50px rgba(0, 33, 71, 0.15);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}

.card-image {
    height: 220px;
    width: 100%;
    background: var(--bg-offwhite);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0, 33, 71, 0.05), rgba(212, 175, 55, 0.1));
}

.card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.btn-navy:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    border-color: var(--accent-gold);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    text-align: center;
}

/* Category Sections on Services Page */
.category-block {
    margin-bottom: 6rem;
    scroll-margin-top: 100px; /* Offset for sticky header */
}

.category-title-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-title-wrap h2 {
    margin-bottom: 0;
}

.category-divider {
    flex-grow: 1;
    height: 2px;
    background: var(--accent-gold);
    opacity: 0.3;
}

/* Footer */
footer {
    background: var(--primary-navy);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-redesign {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .category-row.img-left, .category-row.img-right {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    .mobile-reverse {
        order: -1;
    }
}

.category-row {
    display: grid;
    gap: 4rem;
    align-items: center;
}
.category-row.img-left {
    grid-template-columns: 1fr 1.2fr;
}
.category-row.img-right {
    grid-template-columns: 1.2fr 1fr;
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 1rem;
    }

    /* Section padding */
    .section {
        padding: 3rem 0;
    }

    /* Premium Parallax */
    .premium-parallax {
        height: 50vh;
        min-height: 350px;
        background-attachment: scroll;
    }

    .premium-parallax h1 {
        font-size: 2rem;
    }

    .premium-parallax p {
        font-size: 1rem;
    }

    /* Grid layouts */
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr);"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr;"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1.5fr 1fr"],
    div[style*="grid-template-columns: 1.5fr 1fr;"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1.2fr 1fr"],
    div[style*="grid-template-columns: 1.2fr 1fr;"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1fr 1.2fr"],
    div[style*="grid-template-columns: 1fr 1.2fr;"] {
        grid-template-columns: 1fr !important;
    }

    /* Hero slider */
    .hero-slider {
        height: 60vh;
    }

    /* News card */
    .news-card {
        width: 300px;
    }

    /* Product cards */
    .product-card {
        flex: 0 0 280px;
    }

    /* Card image */
    .card-image {
        height: 180px;
    }

    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        font-size: 1rem;
    }

    /* Value items */
    .value-item {
        padding: 1.5rem;
    }

    /* Mission section */
    .mission-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem !important;
    }

    /* Vision section */
    .vision-content {
        padding: 0 1rem;
    }

    /* Tables - make scrollable */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Modal adjustments */
    div[style*="max-width: 900px"] {
        max-width: 95% !important;
        margin: 1rem auto !important;
    }

    div[style*="max-width: 500px"] {
        max-width: 95% !important;
        margin: 1rem auto !important;
    }

    /* Form adjustments */
    div[style*="display: grid; grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Contact page */
    div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 3rem"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Apply page */
    div[style*="display: grid; grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* About page hero */
    h1[style*="font-size: 3.5rem"] {
        font-size: 2rem !important;
    }

    /* Services page hero */
    h1[style*="font-size: 3.5rem"] {
        font-size: 2rem !important;
    }

    /* Apply page hero */
    h1[style*="font-size: 3.5rem"] {
        font-size: 2rem !important;
    }

    /* Contact page hero */
    h1[style*="font-size: 3.5rem"] {
        font-size: 2rem !important;
    }

    /* General heading adjustments */
    h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    h3[style*="font-size: 1.8rem"] {
        font-size: 1.4rem !important;
    }

    /* Paragraph adjustments */
    p[style*="font-size: 1.3rem"] {
        font-size: 1rem !important;
    }

    p[style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
    }

    /* Flex adjustments */
    div[style*="display: flex; gap: 2rem"] {
        flex-direction: column;
        gap: 1rem !important;
    }

    /* Button adjustments */
    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    /* Logo adjustments */
    .logo-container {
        width: 200px;
        height: 65px;
        margin-bottom: 0;
    }

    /* Subheading */
    .subheading {
        font-size: 0.85rem;
    }

    /* Quick browse section */
    .product-item {
        min-height: auto;
    }

    .product-item img {
        height: 200px;
    }

    /* News section */
    div[style*="min-height: 450px"] {
        min-height: 350px !important;
    }

    /* Map iframe */
    iframe[style*="height: 400px"] {
        height: 250px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .premium-parallax h1 {
        font-size: 1.5rem;
    }

    .premium-parallax p {
        font-size: 0.9rem;
    }

    .news-card {
        width: 260px;
    }

    .product-card {
        flex: 0 0 240px;
    }

    .card-image {
        height: 150px;
    }

    .value-item {
        padding: 1rem;
    }

    .logo-container {
        width: 160px;
        height: 55px;
        margin-bottom: 0;
    }

    .logo-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Footer social links */
    div[style*="display: flex; gap: 1rem"] {
        flex-wrap: wrap;
    }

    /* Modal buttons */
    button[style*="padding: 1rem 3rem"] {
        padding: 0.75rem 2rem !important;
        font-size: 0.9rem !important;
    }

    /* Form inputs */
    input[type="text"],
    input[type="number"],
    input[type="date"],
    input[type="tel"],
    input[type="email"],
    select {
        padding: 0.5rem !important;
        font-size: 0.9rem !important;
    }
}
