/*
Theme Name: Altus Modern Theme
Theme URI: https://example.com/altus-modern-theme
Author: Altus
Author URI: https://example.com
Description: A modern, professional WordPress theme for Altus Science.
Version: 2.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: altus-modern
*/

/* ================================
   CSS Variables
   ================================ */
:root {
    /* Core Brand Colors */
    --primary: #0F172A;
    /* Deep Slate Blue */
    --primary-dark: #020617;
    --primary-light: #334155;
    --accent: #0EA5E9;
    /* Sky Blue */
    --accent-orange: #F97316;
    --accent-hover: #0284C7;

    /* Neutral / UI Colors */
    --bg-body: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --white: #FFFFFF;
    --gray-light: #F8FAFC;
    --gray-border: #E2E8F0;

    --text-main: #0F172A;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --border-light: #E2E8F0;

    /* Shadows & Gradients */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-accent: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    --gradient-warm: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

/* ================================
   Global Styles
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   Header & Navigation
   ================================ */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

@media (min-width: 1400px) {
    .nav-container {
        padding: 0 6rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

.logo-img {
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    max-width: 270px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.02);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(14, 165, 233, 0.05);
    /* very light accent bg */
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    margin-left: 12px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Shop Now button in header navigation */
.nav-shop-btn {
    font-family: 'Ubuntu', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    color: white !important;
    height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
}

.nav-shop-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.45);
}

/* Cart Icon in Navigation - Styled like Shop Now button */
.nav-cart {
    display: flex;
    align-items: center;
}

.nav-cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
}

.nav-cart-link:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.45);
}

.nav-cart-link .cart-icon {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nav-cart-link:hover .cart-icon {
    stroke: #ffffff;
}

.nav-cart-link .cart-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ================================
   Hero Sections
   ================================ */
.hero {
    margin-top: 90px;
    min-height: 80vh;
    /* Better viewport height */
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 24px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.15), transparent 40%);
    z-index: 0;
}

/* subtle pattern overlay */
.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    /* Tighter width for readability */
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--bg-white);
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-tagline {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: var(--text-light);
    /* using light blue-grey */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

/* ================================
   Footer
   ================================ */
footer {
    background: linear-gradient(135deg, #172554 0%, #0f172a 100%);
    color: var(--text-light);
    padding: 80px 4rem 30px;
    border-top: none;
}

@media (min-width: 1400px) {
    footer {
        padding: 80px 6rem 30px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 1.5rem 30px;
    }
}

.footer-container {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h4 {
    margin-bottom: 24px;
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

/* ================================
   WooCommerce Styles
   ================================ */
.woocommerce-page {
    padding-top: 100px;
    min-height: calc(100vh - 300px);
}

.woocommerce-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (min-width: 1400px) {
    .woocommerce-container {
        padding: 0 6rem;
    }
}

@media (max-width: 768px) {
    .woocommerce-container {
        padding: 0 1.5rem;
    }
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 16px;
    font-size: 1.25rem;
    color: #1A1F36;
    font-weight: 600;
}

.woocommerce ul.products li.product .price {
    padding: 0 16px 16px;
    color: #0056D2;
    font-size: 1.125rem;
    font-weight: 600;
}

.woocommerce ul.products li.product .button {
    margin: 16px;
    background: linear-gradient(135deg, #00D4AA 0%, #0056D2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 210, 0.3);
}

.woocommerce-breadcrumb {
    background: #F7F9FC;
    padding: 20px 0;
    margin-bottom: 40px;
}

.woocommerce-breadcrumb a {
    color: #6B7394;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: #0056D2;
}

.woocommerce-result-count {
    color: #6B7394;
    margin-bottom: 20px;
}

.woocommerce-ordering select {
    padding: 10px 16px;
    border: 1px solid #E4E8F0;
    border-radius: 8px;
    background: white;
    color: #1A1F36;
}

/* Single Product Styles */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.woocommerce div.product div.images {
    border-radius: 16px;
    overflow: hidden;
}

.woocommerce div.product div.summary {
    padding: 20px 0;
}

.woocommerce div.product .product_title {
    font-size: 2.5rem;
    color: #1A1F36;
    margin-bottom: 20px;
    font-weight: 700;
}

.woocommerce div.product .price {
    font-size: 2rem;
    color: #0056D2;
    margin-bottom: 30px;
    font-weight: 600;
}

.woocommerce div.product .cart .button {
    background: linear-gradient(135deg, #00D4AA 0%, #0056D2 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce div.product .cart .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.3);
}

.woocommerce-tabs {
    margin-top: 60px;
}

.woocommerce-tabs ul.tabs {
    border-bottom: 2px solid #E4E8F0;
    margin-bottom: 30px;
}

.woocommerce-tabs ul.tabs li {
    background: none;
    border: none;
    margin-right: 30px;
}

.woocommerce-tabs ul.tabs li a {
    color: #6B7394;
    font-weight: 600;
    padding: 12px 0;
    text-decoration: none;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #0056D2;
    border-bottom: 3px solid #0056D2;
}

/* Cart and Checkout */
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table {
    border: 1px solid #E4E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-cart table.cart th,
.woocommerce-checkout table.shop_table th {
    background: #F7F9FC;
    color: #1A1F36;
    font-weight: 600;
    padding: 16px;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #00D4AA 0%, #0056D2 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 210, 0.3);
}

.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.woocommerce-message,
.woocommerce-info {
    background: #E8F2FF;
    border-left: 4px solid #0056D2;
    color: #1A1F36;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.woocommerce-error {
    background: #FFE8E8;
    border-left: 4px solid #FF6B35;
    color: #1A1F36;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* ================================
   Components
   ================================ */
.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 86, 210, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Sections */
.section {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.1);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Homepage Styles
   ================================ */

/* Animated Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 50%, var(--primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--accent) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, #f59e0b 0%, transparent 50%);
    /* using generic orange/warm color */
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 1001;
    transition: width 0.1s linear;
}

/* Hero Extra Styles (merging with existing hero block) */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
    animation: pulse 3s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    animation: floatCard 6s infinite ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.stats-card {
    bottom: -20px;
    left: -20px;
    display: flex;
    gap: 24px;
    animation-delay: 1s;
}

.badge-card {
    top: 20px;
    right: -20px;
    display: flex;
    gap: 12px;
    animation-delay: 2s;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.badge-icon {
    padding: 8px 12px;
    background: var(--bg-body);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border-light);
}

/* About Section */
.about-section {
    padding: 100px 24px;
    background: var(--bg-white);
    position: relative;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
    margin-bottom: 24px;
    font-weight: 700;
}

.about-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-main {
    background: var(--bg-body);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.about-main h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

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

.cert-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--text-main);
}

.cert-badge i {
    color: var(--accent);
    font-size: 18px;
}

/* Info Cards (Sidebar) */
.side-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.info-card:nth-child(2) {
    background: var(--bg-white);
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.info-card:not(:nth-child(2)) h4,
.info-card:not(:nth-child(2)) p,
.info-card:not(:nth-child(2)) a,
.info-card:not(:nth-child(2)) i {
    color: var(--bg-white);
}

.info-card:nth-child(2) p {
    color: var(--text-muted);
}

.info-card h4 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.info-card p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.info-link {
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Features Section */
.features {
    padding: 100px 24px;
    background: var(--bg-body);
}

.features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.features .feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.features .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.features .feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.features .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.features .feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 100px 24px;
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-body);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-image {
    height: 180px;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--accent);
    border-bottom: 1px solid var(--border-light);
}

.product-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.product-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
}

/* Stats Section */
.stats {
    padding: 80px 24px;
    background: var(--primary);
    color: var(--bg-white);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stats h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent);
}

.stats p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ================================
   Generic Page Template (page.php)
   ================================ */
.page-container {
    padding-top: 90px;
    min-height: calc(100vh - 300px);
    background: var(--bg-body);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 50%, var(--bg-body) 100%);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
}

.page-main {
    max-width: 1000px;
    margin: -40px auto 60px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.page-content-wrapper {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

/* Typography inside content */
.page-content-wrapper h1,
.page-content-wrapper h2,
.page-content-wrapper h3,
.page-content-wrapper h4,
.page-content-wrapper h5,
.page-content-wrapper h6 {
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.page-content-wrapper p {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.page-content-wrapper ul,
.page-content-wrapper ol {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 24px 0;
    padding-left: 24px;
}

.page-content-wrapper li {
    margin-bottom: 12px;
}

.page-content-wrapper a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.page-content-wrapper a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

/* Shortcode Containers */
.page-content-wrapper .altus-shortcode {
    margin: 40px -60px;
    padding: 60px;
    background: var(--bg-body);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* ================================
   About Us Page Template
   ================================ */

/* Hero Section */
.hero-banner {
    margin-top: 90px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 86, 210, 0.9) 0%, rgba(0, 212, 170, 0.9) 100%),
        url('ALT_VANGAURDHOUSE_ABOUTUS.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-banner .hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-banner .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--white);
}

.hero-banner .hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

.hero-banner .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

/* Breadcrumbs */
.breadcrumb-section {
    background: var(--bg-body);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .separator {
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--text-main);
    font-weight: 600;
}

/* About Main Content */
.main-content {
    padding: 80px 24px;
    background: var(--bg-white);
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.content-main {
    animation: slideInLeft 0.8s ease;
}

.content-main h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.content-main h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.content-main p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 24px;
}

.content-main a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.content-main a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.content-main a:hover::after {
    width: 100%;
}

/* Sidebar */
.sidebar {
    animation: slideInRight 0.8s ease;
}

/* Sidebar Cards */
.sidebar-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent);
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sidebar-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-card h3 i {
    color: var(--accent);
    font-size: 1.25rem;
}

.sidebar-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

/* Values Section */
.values-section {
    padding: 100px 24px;
    background: var(--bg-body);
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.value-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: rotate(5deg) scale(1.1);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 600;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 24px;
    background: var(--bg-white);
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 40px;
    padding-right: 0;
    margin-left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(even)::after {
    left: -8px;
    right: auto;
}

.timeline-content {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    max-width: 400px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.timeline-title {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.timeline-date {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    background: var(--gradient-accent);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ================================
   Contact Page Styles
   ================================ */

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-main);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 32px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-submit:active {
    transform: translateY(0);
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 600;
    margin: 0;
}

.contact-details {
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-details p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent);
}

/* Team Section */
.team-section {
    padding: 100px 24px;
    background: var(--bg-body);
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.team-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-light);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
    margin: 40px auto 24px;
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-info {
    padding: 0 32px 40px;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 600;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.team-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.team-contact {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    padding: 100px 24px;
    background: var(--bg-white);
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
}

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.map-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary-light);
}


/* ================================
   Products Page Styles
   ================================ */

.categories-section {
    padding: 100px 24px;
    background: var(--bg-body);
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
}

.categories-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.category-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: rotate(5deg) scale(1.1);
}

.category-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 600;
}

.category-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-link:hover {
    gap: 12px;
    color: var(--accent);
}

/* ================================
   Accreditation Page Styles
   ================================ */

.certifications-section {
    padding: 100px 24px;
    background: var(--bg-white);
}

.certifications-container {
    max-width: 1400px;
    margin: 0 auto;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.cert-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.cert-logo {
    height: 120px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-logo img {
    transform: scale(1.05);
}

.cert-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 600;
}

.cert-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: gap 0.3s ease;
}

.cert-link:hover {
    gap: 12px;
}

/* Features Section (Generic but used in Accreditation) */
.features-section {
    padding: 100px 24px;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 60px auto 0;
}

.feature-item {
    text-align: center;
    padding: 32px;
    background: var(--bg-body);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================
   Quality Policy Page Styles
   ================================ */

.policy-section {
    padding: 100px 24px;
    background: var(--bg-white);
}

.policy-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.policy-document {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.policy-document::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.policy-document h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.policy-document h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.policy-intro {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 32px;
    font-weight: 500;
    line-height: 1.8;
}

.policy-document p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 24px;
}

.policy-list {
    background: var(--bg-body);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    border: 1px solid var(--border-light);
}

.policy-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.policy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.signature-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.signature-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.signature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature-name {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Brush Script MT', cursive;
}

.signature-title {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.download-card {
    background: var(--gradient-accent);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.download-card-content {
    position: relative;
    z-index: 1;
}

.download-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.download-card p {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 24px;
}

.btn-download {
    background: var(--white);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.key-points-section {
    padding: 100px 24px;
    background: var(--bg-body);
}

.key-point-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.key-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.key-point-card:hover::before {
    transform: scaleX(1);
}

.key-point-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.key-point-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.key-point-card:hover .key-point-icon {
    transform: rotate(5deg) scale(1.1);
}

.key-point-card h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 600;
}

.key-point-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive for certs and policy */
@media (max-width: 1024px) {
    .policy-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .key-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .key-points-grid {
        grid-template-columns: 1fr;
    }

    .policy-document {
        padding: 32px;
    }
}

/* Responsive for pages */
@media (max-width: 1024px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Assuming .page-header::before is a new rule or needs to be added */
    /* .page-header::before { background-size: cover; } */

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 11px;
    }

    .page-content-wrapper {
        padding: 32px;
    }

    .page-content-wrapper .altus-shortcode {
        margin: 32px -32px;
        padding: 32px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Responsive adjustments for homepage styles */
    .about-grid,
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-container {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Hide complex visual on tablet/mobile for simplicity */
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        transition: left 0.3s ease;
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 40px 24px;
        gap: 16px;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 12px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}