/* Global Styles */
body {
    font-family: "Barlow", sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.slide-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Header Navigation */
header {
    padding: 5px 5%;
    background-color: white;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cnk-logo {
    max-width: 200px;
    height: 70px;
    display: block;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a:hover {
    color: #FFD700;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FFD700;
    transition: width 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6883 100%);
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 80%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.about-hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* General Section Styling */
.section {
    padding: 80px 5%;
    background: #fff;
    margin-bottom: 0px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
    font-size: 32px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #b77627, #ffd700);
    border-radius: 3px;
}

.section-icon {
    text-align: center;
    margin-bottom: 30px;
    font-size: 40px;
    color: #b77627;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Quote Boxes */
.quote-box {
    background-color: #f8f9fa;
    border-left: 4px solid #b77627;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    border-radius: 0 8px 8px 0;
}

.quote-box p {
    font-style: italic;
    font-size: 1.1em;
    margin: 0;
}

.quote-box::before {
    content: '"';
    position: absolute;
    left: 10px;
    top: 5px;
    font-size: 40px;
    color: #b77627;
    opacity: 0.5;
}

.large-quote {
    font-size: 1.3em;
    padding: 30px;
    margin: 30px 0;
    background-color: #f0f4f8;
}

/* Info Box */
.info-box {
    display: flex;
    background-color: #f0f4f8;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.info-box-icon {
    flex: 0 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #b77627;
}

.info-box-content {
    flex: 1;
    padding-left: 20px;
}

.info-box h3 {
    margin-top: 0;
    color: #2c3e50;
}

/* Quality Section */
.quality-pillars {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 20px;
}

.quality-pillar {
    flex: 1;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.quality-pillar:hover {
    transform: translateY(-10px);
}

.pillar-icon {
    font-size: 40px;
    color: #b77627;
    margin-bottom: 15px;
}

.quality-pillar h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* HSE Cards */
.hse-cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hse-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #b77627, #ffd700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hse-card:hover::before {
    transform: scaleX(1);
}

.hse-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hse-card-icon {
    font-size: 40px;
    color: #b77627;
    margin-bottom: 20px;
}

.hse-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Director Section */
.director-content {
    max-width: 900px;
    margin: 0 auto;
}

.director-message p {
    font-size: 16px;
    line-height: 1.8;
}

.director-signature {
    margin-top: 40px;
    text-align: right;
}

.signature {
    font-family: 'Brush Script MT', cursive;
    font-size: 28px;
    color: #2c3e50;
    margin: 5px 0;
}

.title {
    font-style: italic;
    color: #666;
}

/* Contact Us */
.contact {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6883 100%);
    position: relative;
    min-height: 500px;
    height: auto;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;   
    text-align: center;
    overflow: hidden;
    padding: 60px 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.contact-content{
    position: relative;
    z-index: 2;
}

.contact-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.contact-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #b77627;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}

.btn:hover {
    background: #ffcc00;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-resources, .footer-social {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding-right: 20px;
}

.footer-logo h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.footer-links h3, .footer-resources h3, .footer-social h3 {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-resources h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #FFD700;
}

.footer-links ul, .footer-resources ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li, .footer-resources ul li {
    margin-bottom: 8px;
}

.footer-links a, .footer-resources a, .footer-social a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover, .footer-resources a:hover, .footer-social a:hover {
    color: #FFD700;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social a i {
    font-size: 18px;
}

footer > .container > p {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

.signature{
    font-family: "Barlow", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 1010;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    text-align: center;
}

.mobile-nav.active {
    display: block !important;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: #b77627;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-nav .close-btn:hover {
    background: #ffd700;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin-top: 80px;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
    display: block;
    padding: 10px;
}

.mobile-nav ul li a:hover {
    color: #FFD700;
}

/* Global Image Styles */
img {
    max-width: 100%;
    height: auto;
}

/* Media Queries for Responsive Design - About Page */

@media (max-width: 992px) {
    .section-content, .director-content {
        max-width: 90%;
    }
    
    .quality-pillars {
        flex-wrap: wrap;
    }
    
    .quality-pillar {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 20px;
    }
    
    .hse-cards {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hse-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .about-hero h1 {
        font-size: 42px;
    }
    
    .contact-content h1 {
        font-size: 42px;
    }
    
    .info-box {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
        color: black;
    }
    
    .about-hero {
        height: 50vh;
    }
    
    .about-hero h1 {
        font-size: 36px;
    }
    
    .about-hero p {
        font-size: 18px;
    }
    
    .quality-pillar {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .hse-cards {
        flex-direction: column;
    }
    
    .hse-card {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    
    .section {
        padding: 60px 5%;
    }
    
    .section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .info-box-icon {
        margin: 0 auto 15px;
    }
    
    .info-box-content {
        padding-left: 0;
    }
    
    .contact {
        height: auto;
        min-height: 45vh;
        padding: 40px 5%;
    }
    
    .contact-content h1 {
        font-size: 32px;
    }
    
    .contact-content p {
        font-size: 18px;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-logo, .footer-links, .footer-resources, .footer-social {
        flex: 1 1 calc(50% - 20px);
        min-width: 150px;
    }
    
    .director-signature {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-logo, .footer-links, .footer-resources, .footer-social {
        flex: 1 1 100%;
    }
    
    .about-hero h1 {
        font-size: 30px;
    }
    
    .about-hero p {
        font-size: 16px;
    }
    
    .section {
        padding: 50px 4%;
    }
    
    .section h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .contact-content h1 {
        font-size: 28px;
    }
    
    .contact-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quote-box {
        padding: 15px;
    }
    
    .large-quote {
        padding: 20px;
        margin: 20px 0;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .cnk-logo {
        max-width: 150px;
        height: 55px;
    }
    
    .about-hero {
        height: 45vh;
    }
    
    .about-hero h1 {
        font-size: 24px;
    }
    
    .about-hero p {
        font-size: 14px;
    }
    
    .section {
        padding: 40px 4%;
    }
    
    .section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .section h2::after {
        width: 60px;
    }
    
    .section-icon {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .hse-card {
        padding: 20px 15px;
    }
    
    .hse-card-icon {
        font-size: 32px;
    }
    
    .hse-card h3 {
        font-size: 20px;
    }
    
    .contact-content h1 {
        font-size: 24px;
    }
    
    .contact-content p {
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .signature {
        font-size: 24px;
    }
    
    .title {
        font-size: 14px;
    }
    
    .quote-box::before {
        font-size: 30px;
    }
    
    .director-message p {
        font-size: 15px;
        line-height: 1.6;
    }
}