/* ELKINGS VALLEY BLOODLINE LTD - Responsive Styles */

/* Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        line-height: 1.1;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-navy);
        flex-direction: column;
        padding: 2rem 15px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Mobile Navigation Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: left;
        color: var(--crystal-white);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .nav-link:hover {
        color: var(--gold);
    }
    
    .btn-consultation {
        display: none;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
        height: 100vh;
    }
    
    
    .nav-toggle {
        display: flex;
    }
    
    /* CEO Section Mobile */
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ceo-text h2 {
        font-size: 2rem;
    }
    
    .ceo-sectors {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .ceo-carousel {
        height: 300px;
    }
    
    .ceo-prev,
    .ceo-next {
        width: 40px;
        height: 40px;
    }
    
    .ceo-prev {
        left: 10px;
    }
    
    .ceo-next {
        right: 10px;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ceo-left-column {
        order: 1;
    }
    
    .ceo-right-column {
        order: 2;
    }
    
    .ceo-signature {
        margin: 1.5rem auto 0;
        padding: 1.2rem;
        max-width: 90%;
    }
    
    .signature-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .signature-text {
        text-align: center;
    }
    
    .signature-image {
        width: 100px;
        height: 60px;
    }
    
    .signature-name {
        font-size: 1.1rem;
    }
    
    .signature-title {
        font-size: 0.9rem;
    }
    
    /* Divisions Page Mobile Responsive */
    .divisions-hero {
        height: 35vh;
        min-height: 280px;
    }
    
    .divisions-hero .hero-title {
        font-size: 2.5rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .divisions-hero .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .division-card {
        padding: 0.75rem;
    }
    
    .division-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .division-title h2 {
        font-size: 1.1rem;
    }
    
    .division-subtitle {
        font-size: 0.8rem;
    }
    
    .division-description p {
        font-size: 0.75rem;
    }
    
    .feature-item {
        font-size: 0.7rem;
    }
    
    .division-stats .stat-number {
        font-size: 1.2rem;
    }
    
    .division-stats .stat-label {
        font-size: 0.65rem;
    }
    
    /* Divisions CTA Mobile Responsive */
    .divisions-cta {
        padding: 3rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        color: #ffffff !important;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: #ffffff !important;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .cta-actions .btn-outline {
        color: #ffffff !important;
        border-color: #ffffff;
    }
    
    /* Projects Page Mobile Responsive */
    .projects-hero .hero-title {
        font-size: 2rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .projects-hero .hero-subtitle {
        font-size: 1rem;
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .category-title {
        font-size: 1.5rem;
        color: var(--primary-navy);
    }
    
    .project-category-section {
        margin-bottom: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* About Page Mobile Responsive */
    .about-hero {
        height: 35vh;
        min-height: 280px;
    }
    
    .about-hero .hero-title {
        font-size: 2.5rem;
        color: var(--crystal-white) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .about-hero .hero-subtitle {
        color: var(--crystal-white) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-image img {
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-dot {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 1rem auto;
    }
    
    .heritage-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .heritage-text {
        text-align: center;
    }
    
    .heritage-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .value-icon {
        margin: 0 auto 1rem;
    }
    
    .heritage-image img {
        height: 300px;
    }
    
    .heritage-legacy {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .heritage-legacy h3 {
        font-size: 1.5rem;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* CSR Background Mobile */
    .csr-bg-image {
        object-position: center center;
    }
    
    .csr-overlay {
        background: linear-gradient(135deg, rgba(0, 150, 80, 0.85), rgba(0, 100, 50, 0.95));
    }
    
    /* Video Container Mobile */
    .video-container {
        height: 350px;
    }
    
    .play-indicator {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-controls {
        display: none;
    }
    
    .hero-indicators {
        bottom: 1rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.8rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Pillars Grid */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pillar-card {
        padding: 1.5rem;
    }
    
    .pillar-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* About Preview */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .image-container img {
        height: 250px;
    }
    
    /* Divisions Grid */
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .division-card {
        padding: 1.5rem;
    }
    
    .division-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Projects Showcase */
    .projects-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-featured .project-image {
        height: 250px;
    }
    
    .project-card .project-image {
        height: 150px;
    }
    
    /* Investor Teaser */
    .teaser-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric-card {
        padding: 1.5rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    /* CSR Content */
    .csr-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .csr-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    /* Media Grid */
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .media-card.featured {
        grid-row: span 1;
    }
    
    .media-image {
        height: 150px;
    }
    
    .media-card.featured .media-image {
        height: 200px;
    }
    
    /* Global Presence */
    .presence-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .world-map {
        padding: 1rem;
        min-height: 300px;
    }
    
    .stats-list {
        gap: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Sticky CTA */
    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
    }
    
    .btn-cta {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }
    
    .btn-cta span {
        display: none;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Divisions CTA Tablet Responsive */
    .divisions-cta {
        padding: 4rem 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
        color: #ffffff !important;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        color: #ffffff !important;
    }
    
    .cta-actions {
        flex-direction: row;
        gap: 1.25rem;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        width: auto;
        min-width: 180px;
    }
    
    .cta-actions .btn-outline {
        color: #ffffff !important;
        border-color: #ffffff;
    }
    
    /* Projects Page Tablet Responsive */
    .projects-hero .hero-title {
        font-size: 2.2rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .projects-hero .hero-subtitle {
        font-size: 1.1rem;
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .category-title {
        font-size: 1.7rem;
        color: var(--primary-navy);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media-card.featured {
        grid-column: span 2;
    }
    
    /* CEO Section Small Devices */
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .ceo-carousel {
        height: 400px;
    }
    
    .ceo-sectors {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Divisions Page Small Devices */
    .divisions-hero {
        height: 40vh;
        min-height: 320px;
    }
    
    .divisions-hero .hero-title {
        font-size: 3rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
    
    .divisions-hero .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    }
    
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* About Page Small Devices */
    .about-hero {
        height: 40vh;
        min-height: 320px;
    }
    
    .about-hero .hero-title {
        font-size: 3rem;
        color: var(--crystal-white) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
    
    .about-hero .hero-subtitle {
        color: var(--crystal-white) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .story-image img {
        height: auto;
        max-height: 350px;
        object-fit: contain;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-dot {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 1rem auto;
    }
    
    .heritage-content {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .heritage-text {
        text-align: center;
    }
    
    .heritage-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2.5rem 0;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .value-icon {
        margin: 0 auto 1rem;
    }
    
    .heritage-image img {
        height: 350px;
    }
    
    .heritage-legacy {
        margin-top: 2.5rem;
        padding: 1.8rem;
    }
    
    .heritage-legacy h3 {
        font-size: 1.6rem;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Video Container Small Devices */
    .video-container {
        height: 400px;
    }
    
    .play-indicator {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    /* CSR Background Small Devices */
    .csr-bg-image {
        object-position: center center;
    }
    
    .csr-overlay {
        background: linear-gradient(135deg, rgba(0, 150, 80, 0.8), rgba(0, 100, 50, 0.9));
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .divisions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Divisions CTA Desktop Responsive */
    .divisions-cta {
        padding: 5rem 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
        color: #ffffff !important;
    }
    
    .cta-content p {
        font-size: 1.2rem;
        color: #ffffff !important;
    }
    
    .cta-actions {
        gap: 1.5rem;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        min-width: 200px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .cta-actions .btn-outline {
        color: #ffffff !important;
        border-color: #ffffff;
    }
    
    .projects-showcase {
        grid-template-columns: 1fr;
    }
    
    /* Projects Page Responsive */
    .projects-hero .hero-title {
        font-size: 2.5rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .projects-hero .hero-subtitle {
        font-size: 1.1rem;
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .category-title {
        font-size: 1.8rem;
        color: var(--primary-navy);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .project-featured {
        margin-bottom: 2rem;
    }
    
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media-card.featured {
        grid-column: span 2;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* CEO Section Tablet */
    .ceo-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .ceo-carousel {
        height: 450px;
    }
    
    .ceo-sectors {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Divisions Page Tablet */
    .divisions-hero {
        height: 45vh;
        min-height: 380px;
    }
    
    .divisions-hero .hero-title {
        font-size: 3.2rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .divisions-hero .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* About Page Tablet */
    .about-hero {
        height: 45vh;
        min-height: 380px;
    }
    
    .about-hero .hero-title {
        font-size: 3.2rem;
        color: var(--crystal-white) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .about-hero .hero-subtitle {
        color: var(--crystal-white) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .story-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .story-image img {
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-content {
        margin: 0 2rem;
        width: auto;
    }
    
    .timeline-line {
        display: block;
    }
    
    .timeline-dot {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    
    .heritage-content {
        max-width: 900px;
        padding: 0 2rem;
    }
    
    .heritage-text {
        text-align: center;
    }
    
    .heritage-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin: 2.5rem 0;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .value-icon {
        margin: 0 auto 1rem;
    }
    
    .heritage-image img {
        height: 400px;
    }
    
    .heritage-legacy {
        margin-top: 2.5rem;
        padding: 2rem;
    }
    
    .heritage-legacy h3 {
        font-size: 1.7rem;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Video Container Tablet */
    .video-container {
        height: 450px;
    }
    
    .play-indicator {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* CSR Background Tablet */
    .csr-bg-image {
        object-position: center center;
    }
    
    .csr-overlay {
        background: linear-gradient(135deg, rgba(0, 150, 80, 0.75), rgba(0, 100, 50, 0.85));
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.6rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .divisions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-showcase {
        grid-template-columns: 2fr 1fr;
    }
    
    .media-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    /* CEO Section Desktop */
    .ceo-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .ceo-carousel {
        height: 500px;
    }
    
    .ceo-sectors {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Divisions Page Desktop */
    .divisions-hero {
        height: 50vh;
        min-height: 450px;
    }
    
    .divisions-hero .hero-title {
        font-size: 3.5rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    }
    
    .divisions-hero .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    }
    
    .divisions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* About Page Desktop */
    .about-hero {
        height: 50vh;
        min-height: 450px;
    }
    
    .about-hero .hero-title {
        font-size: 3.5rem;
        color: var(--crystal-white) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    }
    
    .about-hero .hero-subtitle {
        color: var(--crystal-white) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    }
    
    .story-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .story-image img {
        height: auto;
        max-height: 450px;
        object-fit: contain;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-content {
        margin: 0 2rem;
        width: auto;
    }
    
    .timeline-line {
        display: block;
    }
    
    .timeline-dot {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    
    .heritage-content {
        max-width: 1000px;
        padding: 0 2rem;
    }
    
    .heritage-text {
        text-align: center;
    }
    
    .heritage-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin: 3rem 0;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .value-icon {
        margin: 0 auto 1rem;
    }
    
    .heritage-image img {
        height: 450px;
    }
    
    .heritage-legacy {
        margin-top: 3rem;
        padding: 2rem;
    }
    
    .heritage-legacy h3 {
        font-size: 1.8rem;
    }
    
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Video Container Desktop */
    .video-container {
        height: 550px;
    }
    
    .play-indicator {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    /* CSR Background Desktop */
    .csr-bg-image {
        object-position: center center;
    }
    
    .csr-overlay {
        background: linear-gradient(135deg, rgba(0, 150, 80, 0.7), rgba(0, 100, 50, 0.8));
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .divisions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-showcase {
        grid-template-columns: 2fr 1fr;
    }
    
    .media-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    /* CEO Section Extra Large */
    .ceo-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
    
    .ceo-carousel {
        height: 550px;
    }
    
    .ceo-sectors {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Divisions Page Extra Large */
    .divisions-hero {
        height: 55vh;
        min-height: 500px;
    }
    
    .divisions-hero .hero-title {
        font-size: 4rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .divisions-hero .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .divisions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    /* About Page Extra Large */
    .about-hero {
        height: 55vh;
        min-height: 500px;
    }
    
    .about-hero .hero-title {
        font-size: 4rem;
        color: var(--crystal-white) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .about-hero .hero-subtitle {
        color: var(--crystal-white) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .story-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
    
    .story-image img {
        height: auto;
        max-height: 500px;
        object-fit: contain;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-content {
        margin: 0 2rem;
        width: auto;
    }
    
    .timeline-line {
        display: block;
    }
    
    .timeline-dot {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    
    .heritage-content {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    .heritage-text {
        text-align: center;
    }
    
    .heritage-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        margin: 3rem 0;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .value-icon {
        margin: 0 auto 1rem;
    }
    
    .heritage-image img {
        height: 500px;
    }
    
    .heritage-legacy {
        margin-top: 3rem;
        padding: 2rem;
    }
    
    .heritage-legacy h3 {
        font-size: 1.8rem;
    }
    
    .awards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Video Container Extra Large */
    .video-container {
        height: 600px;
    }
    
    .play-indicator {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    /* CSR Background Extra Large */
    .csr-bg-image {
        object-position: center center;
    }
    
    .csr-overlay {
        background: linear-gradient(135deg, rgba(0, 150, 80, 0.65), rgba(0, 100, 50, 0.75));
    }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        height: 100vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .navbar,
    .hero-controls,
    .hero-indicators,
    .scroll-indicator,
    .sticky-cta,
    .progress-bar,
    .particles {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-slide {
        position: static;
        opacity: 1;
        background: none;
    }
    
    .hero-slide::before {
        display: none;
    }
    
    .hero-content {
        color: black;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .btn-primary,
    .btn-hero,
    .btn-outline,
    .btn-cta {
        border: 1px solid black;
        background: white;
        color: black;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slide {
        transition: none;
    }
    
    .particle {
        animation: none;
    }
}

/* Accessibility - High Contrast */
@media (prefers-contrast: high) {
    :root {
        --primary-navy: #000000;
        --secondary-navy: #333333;
        --gold: #FFD700;
        --crystal-white: #FFFFFF;
        --platinum-grey: #F0F0F0;
    }
    
    .btn-primary,
    .btn-hero {
        border: 2px solid var(--primary-navy);
    }
    
    .btn-outline {
        border-width: 3px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-navy: #E8E8E8;
        --secondary-navy: #C0C0C0;
        --crystal-white: #1A1A1A;
        --platinum-grey: #2A2A2A;
        --background: #0A0A0A;
    }
    
    body {
        background-color: var(--background);
        color: var(--primary-navy);
    }
    
    .pillar-card,
    .division-card,
    .project-card,
    .media-card {
        background: var(--platinum-grey);
        color: var(--primary-navy);
    }
    
    .footer {
        background: #000000;
    }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .nav-link:focus,
    .btn-primary:focus,
    .btn-hero:focus,
    .btn-outline:focus,
    .btn-cta:focus {
        outline: 2px solid var(--gold);
        outline-offset: 2px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .pillar-card:hover,
    .division-card:hover,
    .project-card:hover,
    .media-card:hover {
        transform: none;
    }
    
    .btn-primary:hover,
    .btn-hero:hover,
    .btn-outline:hover,
    .btn-cta:hover {
        transform: none;
    }
    
    .nav-link:hover::after {
        width: 0;
    }
    
    .nav-link:active::after {
        width: 100%;
    }
}

/* Specific Mobile Navigation */
@media (max-width: 767.98px) {
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Tablet Specific Adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-controls {
        display: block;
    }
    
    .hero-prev,
    .hero-next {
        width: 45px;
        height: 45px;
    }
    
    .hero-prev {
        left: 1rem;
    }
    
    .hero-next {
        right: 1rem;
    }
}

/* Desktop Specific Enhancements */
@media (min-width: 1025px) {
    .pillar-card:hover,
    .division-card:hover {
        transform: translateY(-15px) scale(1.02);
    }
    
    .project-card:hover,
    .media-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .hero-controls {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .hero:hover .hero-controls {
        opacity: 1;
    }
}

/* Ultra-wide Screen Optimizations */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .pillars-grid,
    .divisions-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .pillar-card,
    .division-card {
        padding: 3rem;
    }
}

/* Foldable Device Support */
@media (max-width: 280px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-hero {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .pillar-card,
    .division-card {
        padding: 1rem;
    }
    
    .pillar-icon,
    .division-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
