/* Reset and Base Styles */
@font-face {
    font-family: 'Futura Medium';
    src: url('../fonts/futura medium bt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Heavy';
    src: url('../fonts/Futura Heavy font.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Book';
    src: url('../fonts/FuturaCyrillicBook.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Bold';
    src: url('../fonts/FuturaCyrillicBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: 'Futura Book', sans-serif;
    background-color: #F9F9F9;
    margin: 0;
    padding: 0;
    text-align: left;
    max-width: 1200px;
    margin: auto;
}

/* Navigation */
.nav-container {
    text-align: center;
    padding: 40px 0 20px 0;
}

.logo {
    max-width: 90vw;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}

.tagline {
    font-family: 'Futura Book', sans-serif;
    font-style: italic;
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
}

.logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.nav-menu a {
    text-decoration: none;
    color: black;
    font-family: 'Futura Book', sans-serif;
    font-size: 14px;
    padding: 5px 10px;
    transition: 0.3s;
}

.nav-menu a.active {
    /* highlight active page */
    color: #C5519C;
    font-weight: bold;
    border-bottom: 3px solid #8CCD61;
    padding-bottom: 2px;
}

.nav-menu a:hover {
    color: #8CCD61;
}

/* Hero Section */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 40px; /* tightened gap between image and text */
    max-width: 80%;
    margin: 0 auto;
}

.hero-container.hero-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.hero-container.hero-vertical .hero-text {
    width: 100%;
    text-align: left;
}

.hero-container.hero-vertical .hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-container.hero-vertical .hero-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero-text {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Futura Book', sans-serif;
    line-height: 1.2;
}

.hero-text p {
    margin-bottom: 4px;
    padding-bottom: 0px;
}

h3 {
    font-family: 'Futura Bold', sans-serif;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

h2 {
    font-family: 'Futura Book', sans-serif;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-services .hero-text p {
    margin-bottom: 4px;
    padding-bottom: 0px;
}

.hero-services .hero-image img {
    max-height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
    max-width: 100%;
}

.hero-services .hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 60px;
    max-width: 80%;
    margin: 0 auto;
}
.services-section {
    text-align: center;
    padding: 60px 20px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-card img {
    width: 100%;
    height: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    object-fit: cover;
}

.service-card h3 {
    font-family: 'Futura Bold', 'Arial', sans-serif !important;
    margin-top: 12px;
}

.service-card p {
    font-family: 'Futura Book', 'Arial', sans-serif !important;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.service-button {
    display: inline-block;
    margin-top: 10px;
    background-color: #C5519C;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.service-button:hover {
    background-color: #8CCD61;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero-image img {
        width: 100%;
        max-height: 300px;
    }
    .hero-text {
        max-width: 100%;
        text-align: left;
    }
    .services-container {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 30px 10px 10px 10px;
    }

    .logo {
        margin-bottom: 10px;
    }

    .tagline {
        font-size: 14px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 4px 6px;
    }

    /* Services hero mobile overrides */
    .hero-services .hero-text,
    .hero-services .hero-image { margin-left: 0; }
    .hero-services .hero-image img { max-width: 100%; }
}
/* Contact Section Styling */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-color: #F9F9F9;
}

.contact-container {
    background: #FFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 600px;
    width: 100%;
}

.contact-container h2 {
    color: #C5519C;
    font-size: 22px;
    font-family: 'Futura Bold', sans-serif;
    margin-bottom: 10px;
}

.contact-container p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Futura Book', sans-serif;
    font-size: 16px; 
    color: #333; 
    font-size: 16px;
}

textarea {
    height: 120px;
    resize: vertical;
}

.form-button {
    font-family: 'Futura Bold', sans-serif;
    font-size: 16px; 
    background: #C5519C; 
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    font-weight: bold;
}

.form-button:hover {
    background: #8CCD61;
}

.footer-logo {
    height: 20px; /* Reduce size */
    width: auto;
}
.cta-button {
    display: inline-block;
    margin-top: 15px;
    background-color: #C5519C; /* Match branding */
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    font-family: 'Futura Bold', sans-serif;
    text-align: center;
}

.cta-button:hover {
    background-color: #8CCD61; /* Match hover state */
}

/* Only affects the services page hero section */
.hero-services .hero-container.hero-vertical {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left;
    gap: 2rem;
}

.hero-services .hero-text {
    margin-left: 8vw;
    max-width: 600px;
}

.hero-services .hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-left: 8vw; /* align image container with hero text */
}

.hero-services .hero-image img {
    max-width: 420px; /* 30% smaller than 600px */
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Newly added block for about section hero image */
.about-section .hero-image img {
    max-width: 393px; /* exact size requested */
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* About page hero: match homepage spacing but make image slightly smaller */
 .about-section .hero-container {
   display: flex;
   align-items: flex-start;   /* top align like homepage */
   justify-content: flex-start;
   padding: 20px;
   gap: 40px;                 /* this creates the gap */
   max-width: 80%;
   margin: 0 auto;
 }

 .about-section .hero-image {
   flex: 0 0 340px;           /* lock the image column */
 }


 .about-section .hero-image img[src*="sarah.png"] {
   width: 100%;
   height: auto;
   border-radius: 12px;
   display: block;
 }

.about-section .hero-text {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Futura Book', sans-serif;
    line-height: 1.2;
    margin-top: -30px; /* nudge text upward to align slightly above the image */
}

@media (max-width: 768px) {
    .about-section .hero-container { flex-direction: column; text-align: center; gap: 20px; }
    .about-section .hero-image img[src*="sarah.png"] { max-width: 100%; }
    .about-section .hero-text { max-width: 100%; text-align: left; }
}

/* Testimonials */
.testimonial{ text-align:center; max-width:700px; margin:40px auto; background:#fff;
              padding:30px; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,.05); }
.testimonial-image{ width:120px; height:120px; border-radius:50%; object-fit:cover;
                    margin:0 auto 20px; display:block; }
.testimonial blockquote{ font-style:italic; color:#333; line-height:1.6; margin:0 0 15px; }
.testimonial cite{ display:block; margin-top:10px; font-weight:bold; color:#555; }

/* --- Page container alignment tweaks (match homepage) --- */
/* Services page: align intro text and cards to the same 80% width + side padding */
.hero-services, 
.services-section, 
.testimonials-section .testimonials-container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 20px; /* match homepage side padding */
}

/* Mobile refinement */
@media (max-width: 768px) {
  .hero-services, 
  .services-section, 
  .testimonials-section .testimonials-container { 
    max-width: 100%; 
    padding: 0 16px; 
  }
}

/* --- Contact form spacing on mobile --- */
@media (max-width: 768px) {
  .contact-container { 
    margin: 0 16px;           /* add breathing room from viewport edges */
    padding: 28px;            /* slightly tighter internal padding for small screens */
    border-radius: 16px;      /* a bit softer on mobile */
  }
}
/* --- Services intro alignment (match homepage) --- */
.hero-services .hero-container { align-items: flex-start; }
.hero-services .hero-text { max-width: 560px; }
.hero-services .hero-text h2 { margin: 0 0 16px; }

@media (max-width: 768px) {
  /* Limit line-length and scale heading so it doesn’t look oversized on mobile */
  .hero-services .hero-text { max-width: 36ch; }
  .hero-services .hero-text h2 { font-size: 30px; line-height: 1.15; }
}

/* --- Mobile polish: Services hero heading & logo centering --- */
@media (max-width: 768px) {
  /* Make the Services top heading less shouty and keep a readable line length */
  .hero-services .hero-text h2 {
    font-size: clamp(22px, 6.2vw, 28px); /* scales with viewport */
    line-height: 1.2;
    max-width: 26ch;                 /* match homepage feel */
    margin: 0 auto 14px auto;        /* center within container visually */
    text-align: left;                 /* keep left-aligned like homepage */
  }

  /* Nudge the intro block into the same rhythm as home */
  .hero-services .hero-text {
    max-width: 36ch;                  /* keep paragraph measure comfortable */
    margin-left: auto;
    margin-right: auto;
  }

  /* Belt-and-braces centering for logo + tagline */
  .nav-container { text-align: center; }
  .logo { justify-content: center !important; }
  .logo img { margin-left: auto; margin-right: auto; display: block; }
  .tagline { text-align: center; }
}

/* Services hero heading is an h3 on this page — mirror h2 styles */
.hero-services .hero-text h3 { margin: 0 0 16px; }
@media (max-width: 768px) {
  .hero-services .hero-text h3 { font-size: 30px; line-height: 1.15; }
}

/* Ensure logo + tagline are centered on mobile */
@media (max-width: 768px) {
  .nav-container { text-align: center; }
  .logo { display: flex; justify-content: center; }
  .logo img { margin: 0 auto; display: block; }
  .tagline { text-align: center; }
}

@media (max-width: 768px) {
  .hero-services .hero-text { max-width: 34ch; margin-left: auto; margin-right: auto; }
  .hero-services .hero-text h3 { font-size: clamp(22px, 5.8vw, 28px); line-height: 1.18; }
}