
/* THE CEILING OF THE WEBSITE, 
SPINE OF THE WHOLE PAGE,
STYLE OF NAVIGATION BAR */



/* rest of your css below... */
header {
    background: #ffdef5;
    background-position: center;
    background-size: 100%;
    text-align: center;
}

/* Homepage header uses a background image.
   Other pages keep the simpler header styling (they set height inline). */
.home-header {
    background-image: url("images/header.png");
    background-repeat: no-repeat;
    height: 500px;
}
body { 
    background: #fff5fc;
    margin: 0; 
    padding: 0;
}
nav {
    color: #c65b71;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    padding-top: 0px;
    text-decoration: none;
}
ul {
    margin: 0; 
    padding: 0;
    list-style-type: none;
} 
li {
    display: inline-block;
    padding: 30px;
}
a {
    text-decoration: none;
    color:#c65b71;
}
nav a:hover {
    color: #f57f9c;
}

/* FOOTER KEPT CONSTANT IN ALL PAGES */
footer {
    display: flex;
    flex-direction: column;          /* stack top and bottom */
    background-color: #c65b71;
    color: #fff5fc;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 60px 100px 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;  /* logo left, socials right */
    align-items: flex-start;         /* both anchored to top */
    width: 100%;
}

footer .logo_footer {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 70px;
    font-weight: 700;
    opacity: 50%;
    max-width: 50%;                  /* stop it from crowding socials */
}

footer .social {
    text-align: right;
}

footer .social .contact-title {
    font-weight: bold;
    padding-right: 20px;
    margin-bottom: 10px;
}

footer .social ul li a img {
    width: 36px;        /* adjust size as needed */
    height: 36px;
    filter: brightness(0) invert(1);
    display: block;
}

/* Remove all hover changes */
footer .social ul li a:hover {
    text-decoration: none;
}

footer .social ul li a img:hover {
    opacity: 1;         /* stays fully visible, no change */
    filter: none;       /* no color shift */
}


.footer-bottom {
    text-align: center;
    letter-spacing: 10px;
    margin-top: 40px;
    opacity: 70%;
    font-size: 14px;
}



/* TITLE STYLES */
h1 {
    color: #f57f9c;
    text-align: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 100px;
}
h2 {
    color: #f57f9c;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* INDEX.HTML STYLE */
.index_images {
    background: #fff5fc;
    padding: 0;
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    margin-bottom: 100px;
}
.index_images figure {
    border-right:  6px solid #fff5fc;
    border-top:  6px solid #fff5fc;
    border-bottom:  6px solid #fff5fc;
    margin: auto;
    height: 700px;
    width: 500px;
    overflow: hidden;
    position: relative;
}
.index_images figure img {
    border-radius: 5%;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.index_images figcaption{
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    text-align: center;

}
.index_button {
    background: none;
    border: none;
    color: #f57f9c;
    cursor: pointer;
    font-size: 40px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 800;
    opacity: 0.7;
    text-decoration: none;
}
.index_button:hover {
    opacity: 1;
}

/* ABOUTUS.HTML STYLE,
DIVIDED INTO 2 SECTIONS,
FIRST IS THE OVERALL AND 2ND IS TEAM */
.aboutus_section1 {
    display: grid;
    grid-template-columns: 7fr 3fr;
    margin-top: 50px;
}
.aboutus_section1 .text_block{
    color: #f57f9c;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    margin: 20px 100px 20px 100px;
    text-align: justify;
    font-weight: 600;
    line-height: 40px;
}
.aboutus_section1 .text_block h1 {
    text-align: left; 
}
.aboutus_section1 img {
    border: 8px solid;
    border-radius: 200px;
    border-color: #f57f9c;
    width: 400px;
    margin: 50px 10px 50px 10px;
}

.aboutus_section2 {
    background-color: #f57f9c;
    height: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.aboutus_section2 .text_block h1 {
    color: #fff5fc;
    padding: 10px;
}
.aboutus_section2 .figures  {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 100%;
}
.aboutus_section2 .figures figure{
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 700px;
    padding: 20px 80px;
}
.aboutus_section2 .figures figure img {   
    border-radius: 50%;
    height: 500px;
    width: 500px; 
    display: flex;
    flex-direction: row;
    object-fit: cover;
    overflow: hidden;
    position: relative;
}     
.aboutus_section2 .figures figcaption {
    color: #fff5fc;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    padding:20px;
    text-align: center;
    
}


/* SERVICES.HTML STYLE */
.services {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    flex: 1;
}
.services figure {
    border: 6px solid #fff5fc;
    margin: 0;
    width: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
}
.services figure img {
    border-radius: 5%;
    height: 700px;
    width: 100%;
    display: flex;
    flex-direction: row;
    object-fit: cover;
    overflow: hidden;
    position: relative;
}
.services figcaption{
    position: static;
    color: #f57f9c;
    display: flex;
    flex-direction: column;
    flex: 1; 
}
.services figcaption h2{
    font-size: 40px ;
    height: 110px;   
    width: 100%;
    margin: 10;
    padding: 0;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.services figcaption p{
    background-color: #ffdef5;
    border-radius: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 25px ;
    line-height: 40px;
    padding: 20px 20px 100px 20px;
    text-align: justify;
    flex: 1;
}
.enquire-wrap {
    text-align: center;
    
}

.enquire-btn {
    display: inline-block;
    size: 200px;
    padding: 20px 20px 20px 20px;
    background: #f57f9c; /* WhatsApp green */
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 100px;
}

.enquire-btn:hover {
    filter: brightness(0.95);
}

/* PORTFOLIO STYLE */
.portfolio  {
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 80px;
}
.carousel-outer {
  width: 100%;
  height: 100%;           /* Full screen height */
  overflow: hidden;        /* Clips everything outside this box */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-bottom: 100px;
}

.carousel-track-wrap {
  position: relative;
  height: 560px;
  width: 100%;
  overflow: hidden;
}



.track {

  display: flex;
  align-items: center;
  gap: 20px;

  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}


.slide {
  flex-shrink: 0;          /* Prevent slides from squishing together */
  width: 300px;            /* ✏️ Must match JS: const SLIDE_WIDTH = 300 */
  height: 534px;           /* 9:16 ratio — (300 / 9) * 16 = 533 */
  border-radius: 16px;
  overflow: hidden;        /* Clips the video to the rounded corners */
  cursor: pointer;
 
  /* Animate size and brightness when switching slides */
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.45s ease;
}
.slide.side {
  transform: scale(0.87);
  filter: brightness(0.35);
  z-index: 1;
}
.slide.active {
  transform: scale(1.04);
  filter: brightness(1);   /* Full brightness */
  z-index: 2;
}

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;          /* Removes the small gap browsers add under inline elements */
}

.left_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Perfect vertical centering */
 
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #f57f9c;
  color: #f57f9c;
  font-size: 22px;
 
  width: 50px;
  height: 50px;
  border-radius: 50%;      /* Makes it a circle */
 
  cursor: pointer;
  z-index: 30;             /* Must be above both .active (z:2) and .side (z:1) */
 
  /* Smooth hover effect */
  transition: background 0.2s ease;
 
  /* Center the arrow character inside the button */
  display: flex;
  align-items: center;
  justify-content: center;

  left: 16px;
}
.right_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Perfect vertical centering */
 
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #f57f9c;
  color: #f57f9c;
  font-size: 22px;
 
  width: 50px;
  height: 50px;
  border-radius: 50%;      /* Makes it a circle */
 
  cursor: pointer;
  z-index: 30;             /* Must be above both .active (z:2) and .side (z:1) */
 
  /* Smooth hover effect */
  transition: background 0.2s ease;
 
  /* Center the arrow character inside the button */
  display: flex;
  align-items: center;
  justify-content: center;

  right: 16px;
}
.left_arrow:hover{
    color: #c65b71;
}
.right_arrow:hover{
    color: #c65b71;
}

.review {
    display: grid;
    justify-items: center;
    justify-content: center;
    gap: 20px;
    grid-template-columns: 200px 400px;
    grid-template-rows: 50px 100px 50px;
    grid-template-areas:
        "boximg boxright"
        "boximg boxright"
        "box1   boxright";
}

.testimonial_container{
    /* Desktop / larger screens: two reviews per row */
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px; /* space between each .review */
    padding-bottom: 180px;
}

/* Right column: coloured box + inner layout */
.review-right {
    grid-area: boxright;
    box-sizing: border-box;
    width: 100%;
    padding: 16px 20px;
    background: #fb97b0;   /* change to any colour */
    border-radius: 12px;
    border-style: solid;
    border-width: thick; /* why no changes */
    border-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between; /* optional: spreads block; or use gap only */
}

.box1 {
    grid-area: box1;
    align-self: end; /* aligns the h2 in its cell; use align-content on grid only affects multi-line grid */
}

.box2 {
    color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    justify-self: start;   /* only this item: start of its grid cell */
    align-self: flex-start; /* inside flex parent: stick to the left/top */
    width: 100%;
    text-align: left;
    margin: 0;
}

.box3 {
    color:#ffffff;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    margin: 0;
}

.boximg {
    grid-area: boximg;
    align-self: center;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.boxstars {
    color: gold;
    font-size: 30px;
    text-align: center;
}



/*RESPONSIVE*/
@media screen and (max-width: 880px){
    .home-header {
        height: 200px;
    }
    li {
        padding: 10px;
        padding-top: 30px;
    }
    h1 {
        font-size: 70px;
    }
    h2 {
        font-size: 20px;
    }
    .index_images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 60px;
        margin-bottom: 60px;
    
    }
    .index_images figure  {
        margin: auto;
        width: 95%;
        height: 500px;
    }

    footer{
        padding: 20px;
    }

    footer .logo_footer {
        font-size: 45px;
    }
    
    footer .social ul{
        display: flex;
        flex-direction: column;  /* add this */
        gap: 10px;               /* spacing between icons */
        align-items: center;   /* keeps them right-aligned since your social is text-align: right */

    }

    footer .social ul li a img {
    width: 26px;        /* adjust size as needed */
    height: 26px;
    }

    .footer-bottom{
        font-size: 12px;
    }


}

/* ABOUT US responsiveness */
@media screen and (max-width: 1214px){
        .aboutus_section2 .figures figure {
        width: min(92vw, 520px);
        padding: 0 20px;
    }

    .aboutus_section2 .figures figure img {
        width: min(92vw, 440px);
        height: min(92vw, 440px);
    }

    .aboutus_section2 {
        height: auto;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 993px){
    /* Section 1: reorder to h1 -> image -> paragraph */
    .aboutus_section1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 30px 0;
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Let h1 and p participate as direct flex items for reordering */
    .aboutus_section1 .text_block {
        display: contents;
    }

    .aboutus_section1 .text_block h1 {
        order: 1;
        font-size: clamp(40px, 9vw, 56px);
        text-align: center;
        margin: 0;
    }

    .aboutus_section1 img {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: block;
        border-radius: 20px;
        object-fit: cover;
        aspect-ratio: 4 / 3;
        max-height: min(70vw, 420px);
    }

    .aboutus_section1 .text_block p {
        order: 3;
        color: #f57f9c;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: clamp(17px, 4vw, 20px);
        line-height: 1.65;
        text-align: justify;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 4px;
    }

    /* Section 2: team cards change from row to vertical list */
    .aboutus_section2 {
        height: auto;
        padding-bottom: 40px;
    }

    .aboutus_section2 .text_block h1 {
        font-size: 56px;
        text-align: center;
    }

    .aboutus_section2 .figures {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .aboutus_section2 .figures figure {
        width: min(92vw, 520px);
        padding: 0 20px;
    }

    .aboutus_section2 .figures figure img {
        width: min(92vw, 440px);
        height: min(92vw, 440px);
    }

    .aboutus_section2 .figures figcaption {
        font-size: clamp(16px, 3.8vw, 18px);
    }

    .aboutus_section2 .figures figcaption h3 {
        font-size: 32px !important;
        margin: 10px 0;
    }
}

/* SERVICES responsiveness:
   switch 3-column row into a single column stack (wider breakpoint so tablets/phones get one column) */
@media screen and (max-width: 1200px){
    .services {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        box-sizing: border-box;
        padding: 0 12px;
    }

    .services figure {
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        box-sizing: border-box;
    }

    .services figure img {
        height: min(80vw, 800px);
        width: 75%;
        max-width: 100%;
        display: block;
        margin: 0 auto;
        object-fit: cover;
    }

    .services figcaption h2 {
        height: auto;
        min-height: 72px;
        padding: 12px 8px;
    }

    .enquire-wrap {
        margin: 40px 12px 0;
    }
    .enquire-wrap .enquire-btn {
        font-size: clamp(18px, 4.5vw, 30px);
        padding: 14px 18px;
    }
}
@media screen and (max-width: 710px){
    header {
        height: 280px;
    }
    li {
        padding: 10px;
    }
    nav {
        font-size: 12px;
    }
    h1 {
        font-size: 50px;
    }
        h2 {
        font-size: 15px;
    }
    .services{
        font-size: 20px;
    }
    .services .index_images figure  {
        margin: auto;
        width: 75%;
    }

    .services figcaption h2{font-size: 30px;}
    .services figcaption p{font-size: 20px;}

    /* At this size, switch from 2 columns (defined at <=880px)
       to a single column so the images fit comfortably. */
    .services .index_images {
        display: grid;
        grid-template-columns: 1fr;

    }
    .enquire-wrap .enquire-btn {font-size: 20px;
}
}

/* TESTIMONIALS responsiveness */
@media screen and (max-width: 1290px){
    .testimonial_container {
        grid-template-columns: 1fr;
    }
}

/* Stack each review card (title / avatar / quote) for tablet and phone */
@media screen and (max-width: 1024px){
    .testimonial_container {
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .review {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "box1"
            "boximg"
            "boxright";
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .review-right {
        max-width: 100%;
    }

    .boximg {
        width: min(132px, 30vw);
        height: min(132px, 30vw);
        margin: 0 auto;
    }

    .box1 {
        align-self: center;
        justify-self: center;
        text-align: center;
    }

    .box3 {
        font-size: clamp(16px, 3.8vw, 19px);
    }
}

/* Portfolio: keep footer at bottom of viewport; larger active slide on small screens */
body:has(#track) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body:has(#track) .carousel-outer {
    flex: 1 1 auto;
    justify-content: center;
    min-height: min(calc(100dvh - 260px), 800px);
    padding-bottom: 32px;
}

@media screen and (max-width: 768px){
    body:has(#track) .carousel-outer {
        min-height: min(calc(100dvh - 220px), 860px);
    }

    .slide {
        width: min(88vw, 400px);
        height: calc(min(88vw, 400px) * 534 / 300);
    }

    .carousel-track-wrap {
        height: auto;
        min-height: calc(min(88vw, 400px) * 534 / 300 + 20px);
    }

    .portfolio {
        font-size: clamp(28px, 8vw, 52px);
        padding-left: 10px;
        padding-right: 10px;
    }
}