/* shared-styles.css */

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #0d1b1e;
    color: #fff;
}

header {
    background: linear-gradient(135deg, #16262b, #0d1b1e);
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    top: 0;
    z-index: 1000;
}

header img {
    max-width: 150px;
    margin-bottom: 10px;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #4caf50;
    font-weight: bold;
    letter-spacing: 1.5px;
}

header p {
    margin-top: 5px;
    font-size: 1rem;
    color: #ddd;
}

nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: #4caf50;
    padding: 0.5rem 1rem;
    border: 2px solid #4caf50;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #4caf50;
    color: #fff;
}

nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #16262b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 0.5rem;
    min-width: 200px;
}

nav li:hover > ul {
    display: block;
}

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

h2 {
    color: #4caf50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

footer {
    background: linear-gradient(135deg, #16262b, #0d1b1e);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

footer a {
    color: #4caf50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.cta-button {
    background-color: #4caf50;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #3a8d41;
}

.testimonials-section {
    background: linear-gradient(135deg, #16262b, #1c2e32);
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 2rem;
}

.testimonial {
    margin-bottom: 2rem;
    font-style: italic;
    color: #ccc;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: bold;
    color: #4caf50;
}
.about-section {
    background: linear-gradient(135deg, #16262b, #1c2e32);
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: #ffffff;
}
.about-section h2 {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 1.5rem;
    text-align: center;
}
.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ddd;
}
.social-media {
    margin: 2rem 0;
    text-align: center;
}
.social-media a {
    margin: 0 1rem;
    text-decoration: none;
    color: #4caf50;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-media a:hover {
    color: #fff;
}
.cta-button {
    display: inline-block;
    margin-top: 1rem;
}
.about-section {
    text-align: center;
}
@media (max-width: 768px) {
  header h1 {
    font-size: 1.75rem;
  }
  header p {
    font-size: 0.9rem;
  }
  section {
    padding: 2rem 1rem;
  }
  .card {
    margin-bottom: 2rem;
  }
}
.about-content p, .card-text, .service p {
  font-size: 1rem;
  text-align: left;
}

@media (max-width: 576px) {
  .about-content p, .card-text, .service p {
    font-size: 0.95rem;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .about-section {
    padding: 2rem 1rem;
  }
  .about-content p {
    font-size: 1rem;
    text-align: center;
  }
}
/* --- Service Card Styles --- */

.card {
    background-color: #1c2e32;
    border: 1px solid #2a3b3e;
    border-radius: 10px;
    padding: 1.5rem;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.card-body {
    padding-top: 1rem;
}

.card-title {
    font-size: 1.25rem;
    color: #4caf50;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.95rem;
    color: #ccc;
}
/* --- Why Choose Us Styles --- */
#why-choose-us {
    background: linear-gradient(135deg, #16262b, #1c2e32);
    padding: 3rem 2rem;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
}

#why-choose-us h2 {
    color: #4caf50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

#why-choose-us .row .col {
    display: flex;
    align-items: stretch;
}

#why-choose-us .row .col > div {
    background-color: #1c2e32;
    border: 1px solid #2a3b3e;
    border-radius: 10px;
    padding: 1.5rem;
    color: #ddd;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#why-choose-us .row .col > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
/* --- WebDev Section Styling to Match Service Cards --- */
.webdev-section.card {
    background-color: #1c2e32;
    border: 1px solid #2a3b3e;
    border-radius: 10px;
    padding: 1.5rem;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.webdev-section.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.webdev-section.card h2 {
    font-size: 1.75rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.webdev-section.card p {
    font-size: 1rem;
    color: #ccc;
}

.webdev-section.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}