/* Corporate Page Specific Styles */

/* Corporate Hero Section */
.corporate-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4a574 0%, var(--primary-green) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.corporate-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.8) 0%, rgba(212, 165, 116, 0.6) 100%);
    z-index: 1;
}

.corporate-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.corporate-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.corporate-hero-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Company Story Section */
.company-story {
    padding: 100px 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 25px;
    text-align: justify;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(27, 67, 50, 0.05) 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.mv-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(27, 67, 50, 0.2);
    border-color: #d4a574;
}

.mv-icon {
    display: inline-block;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
    color: var(--primary-green);
}

.mv-icon svg {
    width: 64px;
    height: 64px;
}

.mv-card h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
}

.mv-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    text-align: justify;
}

/* Core Values Section */
.core-values {
    padding: 100px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.value-card {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(27, 67, 50, 0.05) 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    background: linear-gradient(135deg, #d4a574 0%, var(--primary-green) 100%);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.25);
    border-color: transparent;
}

.value-card:hover .value-icon,
.value-card:hover h3,
.value-card:hover p {
    color: var(--white);
}

.value-icon {
    display: inline-block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    color: var(--primary-green);
}

.value-icon svg {
    width: 56px;
    height: 56px;
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray);
    transition: all 0.3s ease;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.05) 0%, rgba(212, 165, 116, 0.1) 100%);
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.choose-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid #d4a574;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.choose-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.15);
    border-left-color: var(--primary-green);
}

.choose-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4a574, var(--primary-green));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 60px;
    text-align: center;
    margin-bottom: 20px;
}

.choose-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.choose-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
    text-align: justify;
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background: var(--white);
}

.expertise-list {
    margin-top: 50px;
}

.expertise-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 40px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(27, 67, 50, 0.05) 100%);
    border-radius: 20px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.expertise-item:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(27, 67, 50, 0.1) 100%);
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #d4a574;
}

.expertise-icon {
    flex-shrink: 0;
    line-height: 1;
    color: var(--primary-green);
}

.expertise-icon svg {
    width: 64px;
    height: 64px;
}

.expertise-content h3 {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin-bottom: 12px;
    font-weight: 600;
}

.expertise-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    text-align: justify;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #d4a574 0%, var(--primary-green) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.8) 0%, rgba(212, 165, 116, 0.6) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--white);
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f8f8;
}

/* Footer Enhancements */
.footer .footer-contact {
    list-style: none;
    padding: 0;
}

.footer .footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray);
}

.footer .footer-contact svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(27, 67, 50, 0.1);
    border-radius: 50%;
    color: var(--primary-green);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .social-links a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.footer .social-links svg {
    width: 20px;
    height: 20px;
}

/* ============================
   Responsive Design - Mobile First Approach
   ============================ */

/* Tablet & Small Desktop (992px and below) */
@media (max-width: 992px) {
    /* Container adjustments */
    .container {
        padding: 0 30px;
    }

    /* Corporate Hero */
    .corporate-hero {
        min-height: 70vh;
    }

    .corporate-hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .corporate-hero-content p {
        font-size: 1.2rem;
    }

    /* Company Story */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Mission/Vision Grid */
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Core Values Grid */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Choose Grid */
    .choose-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Expertise Grid */
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablet & Mobile (768px and below) */
@media (max-width: 768px) {
    /* Base adjustments */
    .container {
        padding: 0 20px;
    }

    /* Sections padding */
    .company-story,
    .mission-vision,
    .core-values,
    .why-choose,
    .expertise,
    .cta-section {
        padding: 60px 0;
    }

    /* Typography */
    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Corporate Hero */
    .corporate-hero {
        min-height: 65vh;
        padding: 100px 0 60px;
    }

    .corporate-hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .corporate-hero-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Company Story */
    .story-content h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .story-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .story-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .stat-item h4 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.9rem;
    }

    /* Mission/Vision Cards */
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        padding: 35px 25px;
    }

    .mv-icon {
        width: 56px;
        height: 56px;
    }

    .mv-card h3 {
        font-size: 1.6rem;
        margin-top: 20px;
    }

    .mv-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Core Values */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 30px 20px;
    }

    .value-icon {
        width: 50px;
        height: 50px;
    }

    .value-card h4 {
        font-size: 1.2rem;
        margin-top: 15px;
    }

    .value-card p {
        font-size: 0.9rem;
    }

    /* Why Choose Us */
    .choose-card {
        padding: 25px 20px;
    }

    .choose-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        line-height: 40px;
    }

    .choose-card h4 {
        font-size: 1.1rem;
        margin-top: 15px;
    }

    .choose-card p {
        font-size: 0.9rem;
    }

    /* Expertise Section */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .expertise-item {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }

    .expertise-icon {
        width: 56px;
        height: 56px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .expertise-content h4 {
        font-size: 1.2rem;
    }

    .expertise-content p {
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Sections padding */
    .company-story,
    .mission-vision,
    .core-values,
    .why-choose,
    .expertise,
    .cta-section {
        padding: 50px 0;
    }

    /* Typography */
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Corporate Hero */
    .corporate-hero {
        min-height: 60vh;
        padding: 80px 0 50px;
    }

    .corporate-hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .corporate-hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    /* Company Story */
    .story-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .story-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .story-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-item h4 {
        font-size: 1.8rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    /* Mission/Vision Cards */
    .mv-card {
        padding: 30px 20px;
    }

    .mv-icon {
        width: 50px;
        height: 50px;
    }

    .mv-card h3 {
        font-size: 1.4rem;
        margin-top: 15px;
        margin-bottom: 12px;
    }

    .mv-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Core Values */
    .value-card {
        padding: 25px 18px;
    }

    .value-icon {
        width: 45px;
        height: 45px;
    }

    .value-card h4 {
        font-size: 1.1rem;
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .value-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Why Choose Us */
    .choose-card {
        padding: 25px 20px;
    }

    .choose-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        line-height: 50px;
    }

    .choose-card h4 {
        font-size: 1.1rem;
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .choose-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Expertise Section */
    .expertise-item {
        padding: 25px 18px;
    }

    .expertise-icon {
        width: 50px;
        height: 50px;
    }

    .expertise-content h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .expertise-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .cta-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .corporate-hero-content h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .story-content h3 {
        font-size: 1.3rem;
    }

    .mv-card h3 {
        font-size: 1.2rem;
    }

    .choose-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        line-height: 45px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .corporate-hero {
        min-height: 100vh;
    }

    .corporate-hero-content h1 {
        font-size: 2rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch target sizes */
    .mv-card,
    .value-card,
    .choose-card,
    .expertise-item,
    .cta-btn {
        min-height: 44px;
    }

    /* Remove hover effects on touch devices */
    .mv-card:hover,
    .value-card:hover,
    .choose-card:hover,
    .expertise-item:hover {
        transform: none;
    }

    /* Faster transitions */
    * {
        transition-duration: 0.2s;
    }
}

/* Performance Optimizations */
@media (max-width: 768px) {
    /* Disable fixed backgrounds on mobile */
    .corporate-hero,
    .cta-section {
        background-attachment: scroll;
    }

    /* Optimize animations */
    .mv-card,
    .value-card,
    .choose-card,
    .expertise-item {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* Smooth scrolling */
    .values-grid,
    .choose-grid,
    .expertise-grid {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* Safe Area Support for Notched Devices */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .container {
            padding-left: max(20px, env(safe-area-inset-left));
            padding-right: max(20px, env(safe-area-inset-right));
        }
    }

    @media (max-width: 480px) {
        .container {
            padding-left: max(15px, env(safe-area-inset-left));
            padding-right: max(15px, env(safe-area-inset-right));
        }
    }
}

