/* Basic Reset & Body Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    transition: background-color 0.5s, color 0.5s;
}

/* Color Variables for Dark & Light Themes */
:root {
    /* Dark Theme */
    --dark-bg: #000;
    --dark-section-bg: #111;
    --dark-text-color: #fff;
    --dark-text-muted: #aaa;
    --dark-cta-text: #000;
    --dark-cta-hover: #00DDE1;

    /* Light Theme */
    --light-bg: #fff;
    --light-section-bg: #f5f5f5;
    --light-text-color: #000;
    --light-text-muted: #555;
    --light-cta-text: #fff;
    --light-cta-hover: #008C99;

    /* Accent Color */
    --accent-color: #00B8D4;
}

/* Theme Switching Logic */
body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text-color);
}
body.dark-theme .services-section {
    background-color: var(--dark-section-bg);
}
body.dark-theme .service-item {
    background-color: var(--dark-bg);
    border: 1px solid #333;
}
body.dark-theme .cta-button {
    background-color: var(--accent-color);
    color: var(--dark-cta-text);
}
body.dark-theme .cta-button:hover {
    background-color: var(--dark-cta-hover);
}
body.dark-theme .top-bar {
    background-color: transparent;
}
body.dark-theme .top-bar button {
    background-color: #222;
    color: #fff;
}
body.dark-theme .dark-icon {
    display: none;
}
body.dark-theme .light-icon {
    display: inline;
}
body.dark-theme footer {
    border-top: 1px solid #333;
    color: var(--dark-text-muted);
}
body.dark-theme h2 {
    color: var(--accent-color);
}

body.light-theme {
    background-color: var(--light-bg);
    color: var(--light-text-color);
}
body.light-theme .services-section {
    background-color: var(--light-section-bg);
}
body.light-theme .service-item {
    background-color: var(--light-bg);
    border: 1px solid #ddd;
}
body.light-theme .cta-button {
    background-color: var(--accent-color);
    color: var(--light-cta-text);
}
body.light-theme .cta-button:hover {
    background-color: var(--light-cta-hover);
}
body.light-theme .top-bar {
    background-color: transparent;
}
body.light-theme .top-bar button {
    background-color: #eee;
    color: #000;
}
body.light-theme .dark-icon {
    display: inline;
}
body.light-theme .light-icon {
    display: none;
}
body.light-theme footer {
    border-top: 1px solid #ddd;
    color: var(--light-text-muted);
}
body.light-theme h2 {
    color: var(--accent-color);
}

/* General Layout and Components (Same for both themes) */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
    margin-top: 0;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

p {
    font-size: 1.1em;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Separates the two buttons */
}

.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-logo-icon {
    min-width: 150px; 
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    padding: 40px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 4em;
    display: block;
    margin-bottom: 10px;
}

.contact-section {
    text-align: center;
}

.contact-section p {
    margin-bottom: 30px;
}

footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

.top-bar {
    position: fixed;
    top: 0;
    right: 0;
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    z-index: 1000;}

.top-bar button {
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, color 0.3s;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dark-icon,
.light-icon {
    font-size: 1.5em;
    line-height: 1;
    display: none;
}

.linkedin-link {
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    display: flex;
    align-items: center;
}