/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5490;
    --secondary-color: #2c7bc2;
    --accent-color: #4a9fd8;
    --dark-color: #0d2d4a;
    --light-color: #f5f7fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 210px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 40px;
    width: auto;
    margin-left: 10px;
    transition: var(--transition);
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border-radius: 5px;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
}

.dropdown-menu a:hover {
    background: var(--light-color);
}

.arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideInLeft 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    animation: slideInRight 1s ease-out 0.7s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: scaleIn 0.8s ease-out 0.9s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--light-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.section-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    stroke: currentColor;
    fill: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.feature-line {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 0.5rem;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.feature-card:hover .feature-line {
    background-color: var(--secondary-color);
    width: 80px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Services Section */
.services-section {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0;
    text-align: center;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.9;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
    opacity: 1;
}

.service-icon {
    font-size: 4rem;
    color: var(--white);
    transition: var(--transition);
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link::after {
    content: '→';
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 1rem;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* Gateway Section */
.gateway-section {
    background: var(--white);
}

/* Safety Section */
.safety-section {
    background: var(--light-color);
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.safety-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.safety-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.safety-image {
    text-align: center;
    position: relative;
}

.safety-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    transition: var(--transition);
    animation: float 4s ease-in-out infinite;
}

.safety-content:hover .safety-image img {
    transform: scale(1.05);
    animation: float 2s ease-in-out infinite, pulse 3s ease-in-out infinite;
}

.safety-icon {
    font-size: 8rem;
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
    transition: var(--transition);
}

.safety-content:hover .safety-icon {
    transform: scale(1.1);
    animation: float 2s ease-in-out infinite, pulse 3s ease-in-out infinite;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 150px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-color);
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .safety-content {
        grid-template-columns: 1fr;
    }

    .safety-icon {
        font-size: 5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    section {
        padding: 3rem 0;
    }

    .service-content,
    .feature-card {
        padding: 1.5rem;
    }
}

/* Additional Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    animation: float 6s ease-in-out infinite;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    animation: slideInRight 1s ease-out 0.5s both;
}

.content-section {
    padding: 4rem 0;
}

.content-section.bg-light {
    background: var(--light-color);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.about-image-wrapper,
.terminal-image-wrapper {
    margin-bottom: 3rem;
    text-align: center;
}

.about-image-wrapper img,
.terminal-image-wrapper img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image-wrapper:hover img,
.terminal-image-wrapper:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-text p {
    margin-bottom: 1.5rem;
}

.section-title-left {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 700;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.value-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
    animation: pulse 2s ease-in-out infinite;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Experience Stats */
.experience-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.experience-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Service Detail */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.service-detail.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-detail.reverse {
    grid-template-columns: 2fr 1fr;
}

.service-detail.reverse .service-detail-image {
    order: 2;
}

.service-detail.reverse .service-detail-content {
    order: 1;
}

.service-detail-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0;
    border-radius: 10px;
    text-align: center;
    position: sticky;
    top: 100px;
    overflow: hidden;
    height: 400px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.9;
}

.service-detail:hover .service-detail-image img {
    transform: scale(1.05);
    opacity: 1;
}

.service-icon-large {
    font-size: 6rem;
    color: var(--white);
    transition: var(--transition);
    display: inline-block;
}

.service-detail:hover .service-icon-large {
    transform: scale(1.1) rotate(5deg);
    animation: float 3s ease-in-out infinite;
}

.service-detail-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.standards-list {
    list-style: none;
    margin: 1.5rem 0;
}

.standards-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.standards-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

/* HSEQ Grid */
.hseq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hseq-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.hseq-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.hseq-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.hseq-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
}

.hseq-card:hover .hseq-icon {
    transform: scale(1.2) rotate(5deg);
    animation: pulse 2s ease-in-out infinite;
}

.hseq-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hseq-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.standards-content,
.training-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.contact-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Terminal Features */
.terminal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.terminal-feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.terminal-feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.terminal-feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.terminal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
}

.terminal-feature-card:hover .terminal-icon {
    transform: scale(1.2) rotate(5deg);
    animation: pulse 2s ease-in-out infinite;
}

.terminal-feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.terminal-feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.location-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Map Container */
.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Responsive for additional pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .section-title-left {
        font-size: 1.75rem;
        text-align: center;
    }

    .experience-content {
        grid-template-columns: 1fr;
    }

    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
    }

    .service-detail-image {
        position: static;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .hseq-grid,
    .terminal-features {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 200px;
    }

    .service-detail-image {
        height: 300px;
        position: static;
    }

    .about-image-wrapper img,
    .terminal-image-wrapper img {
        max-width: 100%;
    }

    .safety-image img {
        max-width: 100%;
    }
}

