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

:root {
    --coderbot-black: #1a1a1a;
    --coderbot-gray: #f8f9fa;
    --coderbot-dark-gray: #333333;
    --coderbot-primary: #1a1a1a;
    --text-gray-500: #6b7280;
    --text-gray-600: #4b5563;
    --text-gray-700: #374151;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Bitter', serif;
    background-color: #fff;
    color: var(--coderbot-dark-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 640px) {
    .container { max-width: 640px; }
}
@media (min-width: 768px) {
    .container { max-width: 768px; }
}
@media (min-width: 1024px) {
    .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}

/* Header */
#header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow 0.3s ease-in-out;
}

.header-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo-img {
    height: 2.5rem;
}

.main-nav {
    display: none;
}

.main-nav a {
    color: var(--text-gray-600);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--coderbot-black);
}

.hire-us-btn {
    background-color: var(--coderbot-black);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.hire-us-btn:hover {
    background-color: #4a5568; /* gray-800 */
}

.mobile-menu-container {
    display: block;
}

#mobile-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray-600);
}

.hamburger-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-nav {
    display: block;
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.mobile-nav.hidden {
    display: none;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-gray-600);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.mobile-nav a:hover {
    background-color: #f3f4f6; /* gray-100 */
    color: var(--coderbot-black);
}


/* Home Section */
.home-section {
    background-color: #fff;
    padding: 4rem 0;
}

.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.home-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--coderbot-black);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.explore-more-link {
    color: var(--coderbot-black);
    font-weight: 600;
    border-bottom: 2px solid var(--coderbot-black);
    text-decoration: none;
    padding-bottom: 0.25rem;
    transition: color 0.3s, border-color 0.3s;
}

.explore-more-link:hover {
    color: var(--text-gray-700);
    border-color: var(--text-gray-700);
}

.home-image {
    display: flex;
    justify-content: center;
}

.banner-img {
    border-radius: 0.5rem;
    max-width: 100%;
    height: auto;
}


/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--coderbot-gray);
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-image {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.about-img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 18rem; /* xs */
    height: auto;
}

.about-text {
    text-align: center;
}

.about-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.about-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--coderbot-black);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    margin-bottom: 1.5rem;
    color: var(--text-gray-700);
    font-size: 1.25rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.about-list i {
    vertical-align: text-bottom;
}

.about-description {
    color: var(--text-gray-600);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.625;
}

.learn-more-btn {
    background-color: var(--coderbot-black);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 1.125rem;
}

.learn-more-btn:hover {
    background-color: #2d3748; /* gray-800 */
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: #fff;
}

.services-container {
    text-align: center;
}

.services-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.services-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--coderbot-black);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: var(--coderbot-gray);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 3rem;
    color: var(--coderbot-primary);
    margin-bottom: 1.5rem;
}

.service-icon .material-symbols-rounded {
    font-size: 48px;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--coderbot-black);
    margin-bottom: 0.75rem;
}

.service-card-text {
    color: var(--text-gray-600);
    font-size: 0.875rem;
}


/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background-color: var(--coderbot-gray);
}

.projects-container {
    text-align: center;
}

.projects-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.projects-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--coderbot-black);
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.project-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.project-img {
    width: 100%;
    object-fit: cover;
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--coderbot-black);
    margin-bottom: 0.5rem;
}

.project-card-subtitle {
    color: var(--text-gray-600);
    font-size: 1rem;
}

.project-card-text {
    color: var(--text-gray-600);
    font-size: 0.875rem;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
}

.project-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.project-links a:hover {
    color: var(--coderbot-black);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--coderbot-black);
}

.map-container {
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 24rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--coderbot-gray);
    color: var(--text-gray-700);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo {
    height: 2rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.footer-about p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}
.footer-about i {
    vertical-align: bottom;
    font-size: 20px;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--coderbot-black);
    margin-bottom: 0.75rem;
}

.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--coderbot-black);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-icons a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--coderbot-black);
}

.footer-copyright {
    border-top: 1px solid #e5e7eb; /* gray-200 */
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .logo-img { height: 3rem; }
    .main-nav { display: flex; gap: 2rem; align-items: center;}
    .mobile-menu-container { display: none; }

    .home-section { padding: 6rem 0; }
    .home-container { flex-direction: row; }
    .home-text { width: 50%; text-align: left; margin-bottom: 0; }
    .home-image { width: 50%; justify-content: flex-end; }
    .home-title { font-size: 3rem; }

    .about-section { padding: 5rem 0; }
    .about-container { flex-direction: row; }
    .about-image { width: 50%; margin-bottom: 0; }
    .about-img { max-width: 24rem; }
    .about-text { width: 50%; padding-left: 3rem; text-align: left; }
    .about-title { font-size: 2.25rem; }

    .services-section { padding: 5rem 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .projects-section { padding: 5rem 0; }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }

    .contact-section { padding: 5rem 0; }

    .footer-grid { grid-template-columns: repeat(3, 1fr); text-align: left; }
    .footer-about, .footer-links, .footer-social { text-align: left; }
    .footer-links, .footer-social { text-align: center; }
    .social-icons { justify-content: center; }
}

@media (min-width: 1024px) {
    .home-section { padding: 8rem 0; }
    .home-text { width: 50%; }
    .home-image { width: 50%; }
    .home-title { font-size: 3.75rem; }

    .about-text { padding-left: 4rem; width: 60%; }
    .about-image { width: 40%; }
    .about-title { font-size: 2.25rem; }

    .services-title { font-size: 2.25rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .service-card:nth-child(4) { grid-column-start: auto; } /* Reset column start for larger screens */
    .service-card:nth-child(5) { grid-column-start: auto; }

    .projects-title { font-size: 2.25rem; }

    .contact-title { font-size: 2.25rem; }
}