:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
                url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    min-height: 200px;
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    margin: 0;
    flex-grow: 1;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-card .section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    width: 100%;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

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

.contact .cta-button {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact .cta-button:focus {
    outline: none;
}

.contact .cta-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Tech Stack Section */
.tech-stack {
    padding: 5rem 0;
    background-color: white;
}

.tech-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
}

.tech-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    padding: 10px;
    margin: 5px;
}

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

.tech-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
    max-width: 100%;
    max-height: 100%;
}

.tech-item img.databricks-logo {
    width: 120px;
    height: 80px;
}

.tech-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.tech-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Responsive Design for Tech Stack */
@media (max-width: 1024px) {
    .tech-grid {
        gap: 2.5rem;
    }
    
    .tech-item img {
        width: 70px;
        height: 70px;
    }
    
    .tech-item img.databricks-logo {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        gap: 2rem;
        justify-content: flex-start;
        padding-bottom: 1rem;
    }
    
    .tech-item img {
        width: 60px;
        height: 60px;
    }
    
    .tech-item img.databricks-logo {
        width: 90px;
        height: 60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .nav-links {
        display: none;
    }

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

    .hero h1 {
        font-size: 2rem;
    }
}

/* Case Studies Section */
.case-studies {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.case-studies-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.case-study {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.case-study-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.case-study-header:hover {
    background-color: #f8f9fa;
}

.case-study-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #3498db;
    transition: transform 0.3s ease;
}

.case-study.active .toggle-icon {
    transform: rotate(45deg);
}

.case-study-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.case-study.active .case-study-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.case-study-content p {
    margin-bottom: 1rem;
    color: #666;
}

.case-study-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.case-study-content li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.case-study-content li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .case-study-header {
        padding: 1rem;
    }
    
    .case-study-header h3 {
        font-size: 1.1rem;
    }
    
    .case-study.active .case-study-content {
        padding: 0 1rem 1rem;
    }
}

/* Case Study Highlights */
.case-study-highlights {
    background-color: #f0f7ff;
    border-left: 4px solid #3498db;
    padding: 1rem 1.5rem 1rem 2.5rem;
    margin-bottom: 3rem;
    border-radius: 4px;
}

.case-study-highlights li {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.case-study-highlights li:before {
    content: "✓";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
}

.case-study-highlights li:last-child {
    margin-bottom: 0;
}

/* Add spacing after highlights */
.case-study-content p:first-of-type {
    margin-top: 2rem;
} 