/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Color Variables */
:root {
    --petronas-400: #66d2c7;
    --petronas-600: #009584;
    --petronas-700: #007d6f;
    --petronas-900: #005249;
    --purple-400: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7c3aed;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--petronas-600), var(--purple-600));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--petronas-700), var(--purple-700));
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gray-100);
}

.btn-hero-primary {
    background: linear-gradient(to right, var(--petronas-600), var(--purple-600));
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-hero-primary:hover {
    background: linear-gradient(to right, var(--petronas-700), var(--purple-700));
    transform: translateY(-2px);
}

.btn-hero-outline {
    border: 1px solid var(--gray-400);
    color: var(--white);
    background: transparent;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--gray-900);
}

.btn-case {
    border: 1px solid var(--gray-600);
    color: var(--gray-300);
    background: transparent;
    width: 100%;
    margin-top: 1rem;
}

.btn-case:hover {
    background: var(--gray-700);
}

.btn-contact {
    background: linear-gradient(to right, var(--petronas-600), var(--purple-600));
    color: var(--white);
    width: 100%;
    padding: 1rem;
}

.btn-contact:hover {
    background: linear-gradient(to right, var(--petronas-700), var(--purple-700));
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(to right, var(--petronas-600), var(--purple-600));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: var(--white);
    width: 1.25rem;
    height: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-accent {
    color: var(--petronas-600);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--petronas-600);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
}

.nav-mobile {
    display: none;
    border-top: 1px solid var(--gray-200);
    padding: 1rem 0;
    flex-direction: column;
    gap: 1rem;
}

.nav-link-mobile {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: var(--petronas-600);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--petronas-900) 50%, var(--gray-900) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    animation: pulse 2s infinite;
}

.floating-icon-1 {
    top: 5rem;
    left: 5rem;
    color: var(--petronas-400);
    opacity: 0.6;
}

.floating-icon-2 {
    top: 10rem;
    right: 8rem;
    color: var(--purple-400);
    opacity: 0.6;
    animation-delay: 1s;
}

.floating-icon-3 {
    bottom: 8rem;
    left: 8rem;
    color: var(--purple-400);
    opacity: 0.5;
    animation-delay: 0.5s;
}

.floating-icon i {
    width: 2rem;
    height: 2rem;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 50rem;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(to right, var(--petronas-400), var(--purple-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-300);
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  white-space: normal;
  word-break: normal;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--white), var(--gray-100));
}

.services .section-title {
    color: var(--gray-900);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.service-header {
    margin-bottom: 1rem;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, var(--petronas-600), var(--purple-600));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    color: var(--white);
    width: 1.5rem;
    height: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--petronas-600);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Case Studies Section */
.case-studies {
    padding: 5rem 0;
    background: var(--gray-900);
}

.case-studies .section-title {
    color: var(--white);
}

.case-studies .section-description {
    color: var(--gray-300);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    background: rgba(55, 65, 81, 0.8);
}

.case-header {
    margin-bottom: 1rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag {
    padding: 0.25rem 0.5rem;
    background: rgba(0, 149, 132, 0.2);
    color: var(--petronas-400);
    font-size: 0.75rem;
    border-radius: 9999px;
}

.case-title {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.case-client {
    color: var(--gray-400);
}

.case-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-section {
    margin-bottom: 1rem;
}

.case-section h4 {
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.case-section p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.case-results {
    display: grid;
    gap: 0.75rem;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(55, 65, 81, 0.5);
    border-radius: 0.5rem;
}

.result-metric {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--petronas-400);
}

.result-description {
    color: var(--gray-300);
    font-size: 0.875rem;
    text-align: right;
}

/* Technology Section */
.technology {
    padding: 5rem 0;
    background: var(--white);
}

.technology .section-title {
    color: var(--gray-900);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-category {
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-category:hover {
    transform: scale(1.05);
}

.tech-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to right, var(--petronas-600), var(--purple-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.tech-category:hover .tech-icon {
    transform: scale(1.1);
}

.tech-icon i {
    color: var(--white);
    width: 2rem;
    height: 2rem;
}

.tech-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.tech-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tool-tag {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tool-tag:hover {
    background: rgba(0, 149, 132, 0.2);
    color: var(--petronas-700);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--petronas-900) 50%, var(--gray-900) 100%);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-description {
    color: var(--gray-300);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 50rem;
    margin: 0 auto;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-form-header h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--white);
    font-size: 1rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    color: var(--white);
}

.contact-intro h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-intro p {
    color: var(--gray-300);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--petronas-600);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: var(--white);
    width: 1.5rem;
    height: 1.5rem;
}

.contact-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--gray-300);
}

.contact-features {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.contact-features h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-features ul {
    list-style: none;
}

.contact-features li {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-company {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-item i {
    color: var(--petronas-400);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.footer-logo-section {
    text-align: center;
}

.footer-logo-section h3 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo-placeholder {
    width: 16rem;
    height: 16rem;
    background: linear-gradient(135deg, var(--petronas-600), var(--purple-600));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.footer-logo-section p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-links h3 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--petronas-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--petronas-400);
}

.footer-social i {
    width: 1.25rem;
    height: 1.25rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        max-width: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-logo-section {
        grid-column: span 2;
    }
    
    .hero-content {
        max-width: none;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .nav-desktop,
    .header-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1.125rem;
    }
    
    .services-grid,
    .case-studies-grid,
    .technology-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-logo-placeholder {
        width: 12rem;
        height: 12rem;
        margin: 0 auto 1rem;
    }
}