/* ===============================================
   Global Styles & CSS Variables
   =============================================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

.highlight {
    color: var(--primary-color);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===============================================
   Navigation
   =============================================== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===============================================
   Home Section
   =============================================== */
.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #4b6ae6 0%, #6986f8 100%);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.home-section::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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.home-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
}

.home-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.home-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================================
   About Section
   =============================================== */
.about-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.expertise-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.expertise-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    margin-top: 60px;
}

.services-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

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

.service-card {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===============================================
   Vision, Mission & Goal Section
   =============================================== */
.vision-mission-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    position: relative;
}

.vision-mission-section::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 1440 320"><path fill="rgba(37,99,235,0.03)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

.vmg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.vmg-card {
    background: white;
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vmg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.vmg-card:hover::before {
    transform: scaleX(1);
}

.vmg-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.vmg-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.vmg-card:hover .vmg-icon {
    transform: scale(1.1) rotate(5deg);
}

.vmg-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.vmg-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Individual card accent colors */
.mission-card .vmg-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vision-card .vmg-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.goal-card .vmg-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ===============================================
   Portfolio Section
   =============================================== */
.portfolio-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-5 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.gradient-6 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.gradient-7 {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.gradient-8 {
    background: linear-gradient(135deg, #21d4fd 0%, #b721ff 100%);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===============================================
   Careers Section
   =============================================== */
.careers-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.careers-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.careers-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.open-positions {
    max-width: 900px;
    margin: 0 auto;
}

.positions-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.job-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.job-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.job-title-section h4 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

.job-type {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-2);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 1rem;
}

.job-location i {
    color: var(--primary-color);
}

.job-content {
    margin-bottom: 30px;
}

.job-description,
.job-requirements,
.job-benefits {
    margin-bottom: 25px;
}

.job-content h5 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.job-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.job-content ul {
    list-style: none;
    padding-left: 0;
}

.job-content ul li {
    color: var(--text-light);
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.6;
}

.job-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.job-footer {
    display: flex;
    justify-content: flex-end;
}

.apply-btn {
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.apply-btn:hover {
    transform: translateY(-2px);
}

/* ===============================================
   Contact Section
   =============================================== */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    background: var(--gradient-2);
    color: white;
    border: none;
    font-size: 1.1rem;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    text-align: center;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ===============================================
   Footer
   =============================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
    color: #9ca3af;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* ===============================================
   Responsive Design
   =============================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .home-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .home-stats {
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card {
        padding: 25px;
    }

    .job-footer {
        justify-content: stretch;
    }

    .apply-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .expertise-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .vmg-grid {
        grid-template-columns: 1fr;
    }

    .vmg-card {
        padding: 40px 25px;
    }

    .vmg-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}
