
:root {
    --primary-orange: #ff7b29;
    --primary-blue: #005f73;
    --light-orange: #ffd8bc;
    --light-blue: #e0f3f8;
    --dark-text: #2b2b2b;
    --bg-color-1: #ffffff;
    --bg-color-2: #f8f9fa;
    --header-gradient-1: #003844;
    --header-gradient-2: #002731;
}

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

body {
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--bg-color-1);
    margin-top: var(--header-height, 100px); /* Default 100px for older browsers */
}

header {
    background: linear-gradient(135deg, var(--header-gradient-1), var(--header-gradient-2));
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0; /* Ensures it stays at the very top of the viewport */
    width: 100%; /* Ensures the header spans the full width */
    z-index: 1000; /* Keeps it above other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: adds a subtle shadow */
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-orange);
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    font-family: 'Georgia', serif;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.tagline {
    color: white;
    font-size: 1.2rem;
    max-width: 600px;
}

section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section:nth-child(even) {
    background-color: var(--bg-color-2);
}

h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

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

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.5); /* Add a semi-transparent black border */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.carousel-dot.active {
    background: white;
    border-color: var(--primary-blue); /* Highlight active dot with your primary blue */
    transform: scale(1.2); /* Slightly enlarge the active dot for better visibility */
}

.coming-soon {
    height: 200px;
    background: linear-gradient(45deg, var(--header-gradient-1), var(--header-gradient-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.about {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 2rem;
    align-items: start;
}

.profile-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.capability-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.capability-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

footer {
    background: linear-gradient(135deg, var(--header-gradient-1), var(--header-gradient-2));
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-orange);
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: var(--light-orange);
}

.carousel {
position: relative;
overflow: hidden;
touch-action: pan-x;
}

.carousel-images {
display: flex;
transition: transform 0.3s ease-out;
width: 100%;
}

.carousel-images img {
width: 100%;
flex-shrink: 0;
object-fit: cover;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tagline {
        text-align: center;
    }

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

@media (max-width: 768px) {
    .projects {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .carousel {
        height: 200px;
    }
    .carousel img {
        height: 200px;
    }
}