:root {
    --primary-color: #6a0dad; /* Purple */
    --primary-dark: #4b0082;
    --secondary-color: #d4af37; /* Gold */
    --secondary-dark: #b8860b;
    --accent-color: #ffd700;
    --dark-color: #121212; /* Dark black */
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* Particle Background */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(128, 0, 128, 0.1);
    border-radius: 50%;
    filter: blur(1px);
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) translateX(1000px);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.typing-container {
    display: inline-block;
    min-width: 150px; /* Set to accommodate the longest word ('SE-ASIA') */
    min-height: 1.2em; /* Reserve space for text height */
    vertical-align: middle;
}

.typing {
    color: var(--primary-color);
    display: inline-block;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

@media (max-width: 992px) {
    .hero-content {
        padding-right: 0;
        min-width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-image {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .typing-container {
        min-width: 120px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .typing-container {
        min-width: 100px;
    }
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: space-around; /* Distribute items evenly in a row */
    flex-wrap: wrap; /* Allow wrapping if needed on very small screens */
}

.stat-item {
    text-align: center;
    min-width: 150px; /* Ensure each item has a minimum width to prevent squeezing */
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.experience-badge span {
    font-size: 2rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    .about-text,
    .about-image {
        min-width: 100%;
    }
    
    .stats {
        gap: 20px; /* Slightly smaller gap for smaller screens */
    }
}

@media (max-width: 576px) {
    .stats {
        gap: 15px; /* Further reduce gap for very small screens */
    }

    .stat-item {
        min-width: 120px; /* Slightly smaller minimum width for very small screens */
    }

    .counter {
        font-size: 2rem; /* Smaller counter font size for mobile */
    }

    .stat-item p {
        font-size: 0.9rem; /* Smaller text for mobile */
    }

    .experience-badge {
        width: 120px; /* Smaller badge for mobile */
        height: 120px;
        bottom: -15px;
        right: -15px;
    }

    .experience-badge span {
        font-size: 1.5rem; /* Smaller badge font size for mobile */
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(128, 0, 128, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Mobile Responsive Adjustments for Services Section */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Exactly 2 grids per row */
        gap: 15px; /* Reduced gap for mobile */
    }

    .service-card {
        padding: 10px; /* Reduced padding to shorten card height */
        min-height: auto; /* Allow card to shrink */
    }

    .service-icon {
        width: 60px; /* Reduced icon size for mobile */
        height: 60px;
        margin-bottom: 10px; /* Reduced margin */
        font-size: 1.2rem; /* Reduced icon font size */
    }

    .service-card p {
        display: none; /* Hide paragraph content on mobile */
    }

    .service-card .read-more {
        display: none; /* Hide "Get Started" link on mobile */
    }

    .service-card h3 {
        font-size: 1.1rem; /* Slightly smaller title for mobile */
        margin-bottom: 10px;
    }
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 10px 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
}

.package-desc {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1rem;
}

.features {
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--gray-color);
}

.features i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Mobile Responsive Adjustments for Pricing Section */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr; /* Changed to a single column layout */
        gap: 20px; /* Adjusted gap for vertical stacking */
    }

    .pricing-card {
        padding: 15px; /* Reduced padding to shorten card height */
        min-height: auto; /* Allow card to shrink */
        width: 100%; /* Ensure full width in column layout */
        max-width: 400px; /* Optional: Cap the width for better readability */
        margin: 0 auto; /* Center the card horizontally */
    }

    .pricing-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .pricing-header h3 {
        font-size: 1.2rem; /* Smaller title for mobile */
        margin-bottom: 5px;
    }

    .price {
        font-size: 1.8rem; /* Smaller price for mobile */
        margin: 5px 0;
    }

    .price span {
        font-size: 0.8rem;
    }

    .package-desc {
        font-size: 0.9rem; /* Smaller description for mobile */
    }

    .features {
        display: none; /* Hide features list on mobile */
    }

    .pricing-card .btn {
        padding: 10px 20px; /* Smaller button for mobile */
        font-size: 0.9rem;
    }

    .popular-badge {
        font-size: 0.6rem;
        padding: 3px 10px;
        top: -10px;
        right: 10px;
    }

    .pricing-card.featured {
        transform: scale(1); /* Disable scaling on mobile */
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(128, 0, 128, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(128, 0, 128, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(128, 0, 128, 0.2);
}

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

.form-group .error {
    color: red;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

/* Founder Section */
.founder-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.founder-image {
    flex: 1;
    min-width: 300px;
}

.founder-image img {
    border-radius: 10px;
    box-shadow: 0;
}

.founder-info {
    flex: 1;
    min-width: 300px;
}

.founder-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.founder-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(128, 0, 128, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.founder-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Career Section */
.career-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.career-text {
    flex: 1;
    min-width: 300px;
}

.career-image {
    flex: 1;
    min-width: 300px;
}

.career-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.career-text ul {
    margin: 20px 0 30px;
}

.career-text ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.career-text ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.job-openings h3 {
    text-align: center;
    margin-bottom: 30px;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.job-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.job-meta {
    display: flex;
    gap: 15px;
    margin: 10px 0 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.job-meta span {
    display: flex;
    align-items: center;
}

.job-meta i {
    margin-right: 5px;
}

/* Mobile Responsive Adjustments for Career Section */
@media (max-width: 768px) {
    .job-list {
        grid-template-columns: repeat(2, 1fr); /* Exactly 2 grids per row */
        gap: 15px; /* Reduced gap for mobile */
    }

    .job-card {
        padding: 15px; /* Reduced padding to shorten card height */
        min-height: auto; /* Allow card to shrink */
    }

    .job-card h3 {
        font-size: 1.4rem; /* Smaller title for mobile */
        margin-bottom: 10px;
    }

    .job-meta {
        font-size: 0.6rem; /* Smaller meta text for mobile */
        gap: 10px;
        margin: 5px 0 10px;
        flex-wrap: wrap; /* Allow meta items to wrap if needed */
    }

    .job-card p {
        display: none; /* Hide paragraph content on mobile */
    }

    .job-card .btn {
        padding: 10px 20px; /* Smaller button for mobile */
        font-size: 0.9rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-content,
    .founder-content,
    .career-content {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form,
    .founder-image,
    .founder-info,
    .career-text,
    .career-image {
        min-width: 100%;
    }
    
    .pricing-card.featured {
        transform: scale(1); /* Disable scaling on smaller screens */
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-card {
        padding: 24px;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2.1rem;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        padding: 20px;
    }
    
    .popular-badge {
        font-size: 0.6rem;
        padding: 5px 12px;
        right: 15px;
        top: -12px;
    }
    
    .pricing-header h3 {
        font-size: 1.4rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .package-desc {
        font-size: 0.9rem;
    }
    
    .features li {
        font-size: 0.9rem;
    }
}