/* General Styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffffaa;
    color: #222;
    padding-top: 80px;
    background-image: url(../images/bg/bg2.jpg);
    background-size: cover;
    background-attachment: fixed;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}
header {
    background: grey;
    color: black;
    opacity: 1.0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
nav ul li {
    margin: 0 1rem;
}
nav ul li a {
    color: silver;
    opacity: 0.8;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    position: relative;
}
nav ul li a.active,
nav ul li a:hover {
    border-bottom: 2px solid black;
    transition: 0.2s;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.menu-toggle .icon {
    font-size: 2rem;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.hero {
    background: grey;
    opacity: 0.8;
    color: #fff;
    padding: 3rem 0 2rem 0;
    text-align: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.profile-img {
    opacity: 1.0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid black;
    margin-bottom: 1rem;
    object-fit: cover;
    float: right;
}

.hero p{
    color: black;
}

.cta-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    margin-top: 1rem;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.6s;
}
.cta-btn:hover {
    background: grey;
    color: black;
}
.about-section,
.services-section,
.portfolio-section,
.testimonials-section,
.contact-section {
    background: #fff;
    padding: 3rem 0 2rem 0;
}
h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about-section {
    width: auto;
    background-color: #ffffffaa;
}
.about-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.about-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: auto;
    border: 4px solid black;
}

.about-flex p{
    padding: auto;
    text-align: center;
    color: black;
}

.about-flex h4{
    margin: auto;
    text-align: center;
}

.about-readmore{
    color: black;
    background-color: #ccc;
    border: 2px solid black;
    border-radius: 10px;
    text-decoration: none;
    padding: 5px 5px;
}

.about-readmore:hover{
    color: black;
    background-color: grey;
    transition: 0.6s;
}

.about-flex ul {
    margin-top: 1rem;
    padding-left: 1rem;
}

.services-section {
    width: auto;
    background-color: #ffffffaa;
}

.services-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.service-card {
    flex: 1 1 180px;
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
    min-width: 220px;
}

.portfolio-section {
    width: auto;
    background-color: #ffffffaa;
}

.portfolio-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.portfolio-card {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
    flex: 1 1 180px;
}

.portfolio-card a{
    width: 100px;
    color: black;
    background-color: #ccc;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 10px 50px;
    padding: 5px 5px;
    border: 2px solid black;
    border-radius: 15px;
}

.portfolio-card a:hover{
    color: black;
    background-color: grey;
}

.testimonials-section {
    width: auto;
    background-color: #ffffffaa;
}

.testimonials-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.testimonial-card {
    background: #e7f3fe;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    min-width: 220px;
    margin-bottom: 1rem;
    flex: 1 1 180px;
}
.testimonial-card span {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: black;
}

.contact-section {
    width: auto;
    background-color: #ffffffaa;
}

.contact-form {
    max-width: 400px;
    margin: 0 auto 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid black;
    border-color: black;
}
.contact-info {
    text-align: center;
    margin-top: 2rem;
}
.contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}
.contact-info .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}
.contact-info .icon:hover {
    color: black;
    transform: scale(1.2);
}
@media (max-width: 500px) {
    .contact-info .icon {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive Styles */
@media (max-width: 900px) {
    .about-flex,
    .services-flex,
    .portfolio-flex,
    .testimonials-flex {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}
@media (max-width: 700px) {
    .nav-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        background: #222;
        position: absolute;
        left: 0;
        top: 60px;
        z-index: 10;
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        margin: 1rem 0;
        text-align: left;
    }
    .menu-toggle {
        display: block;
        margin-left: auto;
    }
}
@media (max-width: 500px) {
    .container {
        padding: 0 0.5rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    .profile-img,
    .about-img {
        width: 100px;
        height: 100px;
    }
    .service-card,
    .portfolio-card,
    .testimonial-card {
        min-width: unset;
        padding: 1rem;
    }
}

.map-container {
    margin: 2rem 0 0 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.map-container iframe {
    width: 100%;
    height: 300px;
    display: block;
    border: 0;
}
@media (max-width: 500px) {
    .map-container iframe {
        height: 200px;
    }
}

/* base colors */
:root {
  --footer-bg: grey;
  --footer-text: black;
  --footer-accent: black;
  --footer-muted: black;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  margin-top: 2rem;
  border-radius: 8px 8px 0 0;
}

.footer-inner.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  align-items: start;
}

/* Column titles */
.footer-title {
  font-size: 1.15rem;
  color: black;
  margin: 0 0 1rem 0;
  position: relative;
  padding-bottom: .6rem;
  font-weight: 600;
}

/* accent underline */
.footer-title::after {
  content: "";
  width: 40px;
  height: 4px;
  background: var(--footer-accent);
  display: block;
  border-radius: 4px;
  margin-top: .5rem;
}

/* Lists */
.footer-list {
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0;
}
.footer-list li {
  margin: .9rem 0;
}
.footer-list a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: color .15s, transform .12s;
}
.footer-list a:hover,
.footer-list a:focus {
  color: #fff;
  transform: translateX(3px);
  outline: none;
}

/* Social row */
.social-row {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background .15s, transform .12s;
  font-size: 1rem;
}
.social-btn i { color: black; font-size: 16px; }
.social-btn:hover,
.social-btn:focus {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  outline: none;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 1rem;
  text-align: center;
  color: var(--footer-muted);
  font-size: 0.95rem;
}

/* Quick links snippet styling (optional) */
.quick-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: .6rem 0;
}
.quick-links a {
  color: var(--footer-muted);
  font-weight: 600;
  text-decoration: none;
  padding: .25rem .5rem;
  border-radius: 4px;
}
.quick-links a:hover { color: #fff; background: rgba(255,255,255,0.02); }

/* Responsive rules */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}

@media (max-width: 600px) {
  .site-footer { padding: 2rem 0 1.5rem; }
  .footer-inner.container { padding: 0 .6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-title::after { width: 36px; height: 3px; }
  .social-btn { width: 40px; height: 40px; }
  .footer-list a { font-size: 0.98rem; }
}

/* optional: smooth scrolling for quick links */
html {
  scroll-behavior: smooth;
}