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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    colour: #2563eb;
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    colour: #64748b;
    font-weight: 500;
    transition: colour 0.3s ease;
    position: relative;
}

.nav-link:hover {
    colour: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-colour: #2563eb;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-colour: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    colour: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    colour: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    colour: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #2563eb;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
    transition: transform 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-colour: #2563eb;
    colour: white;
}

.btn-primary:hover {
    background-colour: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-colour: transparent;
    colour: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background-colour: #2563eb;
    colour: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-colour: transparent;
    colour: #6b7280;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-colour: #f9fafb;
    border-colour: #9ca3af;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-colour: #f8fafc;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    colour: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    colour: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.9rem;
    colour: #64748b;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    colour: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    colour: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-colour: white;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2563eb;
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.3);
}

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

.value-item {
    padding: 1.5rem;
    background-colour: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.value-icon {
    width: 50px;
    height: 50px;
    background-colour: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-icon i {
    colour: white;
    font-size: 1.2rem;
}

.value-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    colour: #1e293b;
    margin-bottom: 0.5rem;
}

.value-item p {
    colour: #64748b;
    line-height: 1.6;
}

/* Expertise Section */
.expertise {
    padding: 6rem 0;
    background-colour: #f8fafc;
}

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

.expertise-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background-colour: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.expertise-icon i {
    colour: white;
    font-size: 1.5rem;
}

.expertise-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    colour: #1e293b;
    margin-bottom: 1rem;
}

.expertise-item p {
    colour: #64748b;
    line-height: 1.6;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background-colour: white;
}

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

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 700;
    colour: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2563eb;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item span {
    display: block;
    font-weight: 600;
    colour: #374151;
    margin-bottom: 0.5rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-colour: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    width: 0;
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background-colour: #f8fafc;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-colour: #2563eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    background-colour: #2563eb;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #2563eb;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.timeline-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    colour: #1e293b;
}

.timeline-date {
    font-size: 0.9rem;
    colour: #6b7280;
    font-weight: 500;
}

.timeline-content h4 {
    font-size: 1.1rem;
    colour: #2563eb;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    colour: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.achievement {
    background-colour: #f0f9ff;
    colour: #0369a1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Companies Section */
.companies {
    padding: 6rem 0;
    background-colour: white;
}

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

.company-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.company-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    colour: #1e293b;
}

.company-badge {
    background-colour: #2563eb;
    colour: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.company-card h4 {
    colour: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company-period {
    colour: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.company-description {
    colour: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-highlights {
    margin-bottom: 1.5rem;
}

.highlight {
    colour: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    padding-left: 0.5rem;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background-colour: #f8fafc;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.portfolio-stat h3 {
    font-size: 2rem;
    font-weight: 800;
    colour: #2563eb;
    margin-bottom: 0.5rem;
}

.portfolio-stat p {
    colour: #64748b;
    font-weight: 600;
}

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

.portfolio-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    background-colour: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portfolio-icon i {
    colour: white;
    font-size: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    colour: #1e293b;
    margin-bottom: 0.3rem;
}

.portfolio-company {
    colour: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.portfolio-content p {
    colour: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.portfolio-results {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.result-item {
    colour: #059669;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-colour: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background-colour: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    colour: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-colour 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-colour: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-colour: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    colour: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    font-weight: 700;
    colour: #1e293b;
    margin-bottom: 0.3rem;
}

.contact-details a,
.contact-details p {
    colour: #64748b;
    text-decoration: none;
}

.contact-details a:hover {
    colour: #2563eb;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-colour: rgb(0, 0, 0);
}

.modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    opacity: 1;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    colour: #6b7280;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-colour: #f3f4f6;
    transition: all 0.3s ease;
}

.close:hover {
    colour: #374151;
    background-colour: #e5e7eb;
}

#modalContent {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
}

.modal h2 {
    colour: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal h3 {
    colour: #2563eb;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal h4 {
    colour: #374151;
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal p {
    colour: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.modal li {
    colour: #059669;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.modal li::before {
    content: '✓';
    position: absolute;
    left: 0;
    colour: #059669;
    font-weight: bold;
}

.case-study-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-colour: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.case-study-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-colour: #2563eb;
    colour: white;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-colour: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 10px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .portfolio-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-image img {
        width: 200px;
        height: 200px;
    }

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

/* Animation for skill bars */
@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: var(--target-width);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* STAR Method Styles */
.star-section {
    margin: 15px 0;
    padding: 15px;
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid #2563eb;
    border-radius: 8px;
}

.star-section h5 {
    color: #2563eb;
    margin: 0 0 8px 0;
    font-size: 0.95em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-section h5 i {
    font-size: 0.9em;
    width: 16px;
}

.star-section p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: #374151;
}
