/* Company Page Specific Styles */

/* Company Hero Section */
.company-hero {
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    margin-top: 80px;
}

.company-hero .hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-text-box {
    padding: 0px;
    border-radius: 8px;
    animation: slideInLeft 1.2s ease-out;
    min-width: 400px;
    max-width: 600px;
    flex-shrink: 0;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.desktop-title {
    display: block;
}

.mobile-title {
    display: none;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: white;
    opacity: 0.9;
    letter-spacing: 2px;
    margin: 0;
}

.hero-slanted-lines {
    position: relative;
    animation: slideInRight 1.5s ease-out 0.3s both;
}

.slanted-line {
    width: auto;
    height: 250px;
    opacity: 0.8;
    margin-top: -100px;
    margin-left: -250px;
    animation: float 3s ease-in-out infinite;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Tab Navigation */
.tab-navigation {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
}

.tab-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.tab-item {
    flex: 1;
    padding: 20px 0;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.tab-item:hover {
    color: #333;
    background: #f8f9fa;
}

.tab-item.active {
    color: #333;
    border-bottom-color: #2E86AB;
    font-weight: 600;
}

.tab-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #e9ecef;
}

/* CEO Greeting Section */
.ceo-greeting-section {
    padding: 80px 0;
    background: white;
}

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

.section-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
}

.greeting-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 30px;
}

.divider-line {
    width: 100px;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        #2E86AB,
        #2E86AB 5px,
        transparent 5px,
        transparent 10px
    );
}

.greeting-title {
    font-size: 20px;
    font-weight: 600;
    color: #2E86AB;
    letter-spacing: 2px;
}

.greeting-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.greeting-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* About NICS Section */
.about-nics-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 30px;
}

.about-title {
    font-size: 20px;
    font-weight: 600;
    color: #2E86AB;
    letter-spacing: 2px;
}

.company-info {
    text-align: center;
    margin-bottom: 60px;
}

.company-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.company-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.company-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.company-details {
    margin-bottom: 60px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-table td {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table .label {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    width: 150px;
    border-right: 1px solid #e9ecef;
}

.info-table .value {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for Company Page */
@media (max-width: 768px) {
    .hero-overlay {
        padding: 0px;
    }

    .hero-content {
        flex-direction: column;
        gap: 0px;
        text-align: center;
    }

    .hero-slanted-lines {
        display: none;
    }

    .desktop-title {
        display: none;
    }

    .mobile-title {
        display: block;
    }

    .hero-text-box {
        padding: 0px;
        min-width: 350px;
        max-width: 600px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-overlay {
        padding: 0px;
    }

    .hero-slanted-lines {
        display: none;
    }

    .desktop-title {
        display: none;
    }

    .mobile-title {
        display: block;
    }

    .hero-text-box {
        padding: 10px;
        min-width: 50px;
        max-width: 400px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 14px;
    }
}

/* Location Section */
.location-section {
    text-align: center;
}

.location-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

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

.map-placeholder {
    height: 400px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    border: 2px dashed #ccc;
}

/* Active Navigation */
.nav-link.active {
    color: #2E86AB !important;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {

    .section-title {
        font-size: 24px;
    }

    .greeting-divider,
    .about-divider {
        flex-direction: column;
        gap: 20px;
    }

    .divider-line {
        width: 50px;
    }

    .info-table {
        font-size: 14px;
    }

    .info-table td {
        padding: 15px;
    }

    .info-table .label {
        width: 120px;
    }

    .tab-menu {
        flex-wrap: wrap;
    }

    .tab-item {
        flex: 1 1 50%;
        font-size: 14px;
        padding: 15px 10px;
    }

    .tab-item:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .greeting-content p {
        font-size: 14px;
    }

    .company-name {
        font-size: 22px;
    }

    .info-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
