@import 'variables.css';
.about {
  text-align: center;
  width: 100%;
}
.about1 {
  background-color: var(--background3-color);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: var(--space-md);
  

}
.about1 h5 {
  font-size: var(--font-xl);
  margin-bottom:  var(--space-xl);
  padding-top: var(--space-xl);
  text-align: center;
}

.cursive {
  font-family: /* 1. macOS/iOS (Highest Quality Script) */
              'Snell Roundhand', 
              'Apple Chancery', 
              /* 2. Windows (Popular Scripts) */
              'Segoe Script', 
              'Monotype Corsiva', 
              /* 3. Android/Cross-Platform/Older Systems (Common Handwriting) */
              'Bradley Hand', 
              'Brush Script MT', 
              /* 4. Generic Fallback (Last resort) */
              cursive;
              font-size: var(--font-2xl);
}
.about1 p{
  text-align: justify;
  margin: var(--space-xl) var(--space-xl);
  max-width: 600px;

 
}

.about1-decoration {
  display: none;
}

.about1-image-container {
  width: 280px; /* Adjust this width as needed */
  height: 300px; 
  overflow: hidden;
  border-radius: 
        50% 50% 
        5px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}


.about1-image-container .about1-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;

}

@media (min-width: 986px) {
  /* --- .about1 Container --- */
  .about1 {
  
    width: 100%; 
    margin: 0 auto; /* NEW: Center the entire section on the desktop */
    
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: space-between; /* Pushes items to the start (left) and end (right) */
    
    justify-content: space-around;
  }

  /* --- 1. Image on the LEFT --- */
  .about1-image-container {
    
    order: -1; /* Ensure it is the first item visually, just in case HTML order is wrong */
    
    
    height: auto;
    margin: 0 var(--space-sm); /* REMOVE auto centering margin */
    
    /* Set a fixed size for the image to be placed on the left */
    flex-basis: 400px; 
    flex-shrink: 0;
  }
  
  /* --- 2. Text Content (The center column) --- */
 
  .about1 > div:not(.about1-image-container) { 
    flex-basis: 45%; 
    flex-grow: 1; 
    padding: 0 var(--space-xl); 
    
    text-align: left;
  }
  
  /* Resetting mobile styles for desktop text alignment */
  .about1 h5 {
    text-align: left; 
    margin-top: 0;
  }
  .about1 p {
    text-align: left; 
    margin: var(--space-md) 0;
    text-align: justify;
    font-size: var(--font-md);
  }
  
  /* --- 3. Flower Decoration on the RIGHT --- */
  .about1-decoration {
   
    position: absolute;
    right: -100px; 
    top: 10%; 
    transform: translateY(-50%); 

    display: block;
    width: 500px; 
    height: 500px;
    z-index: 0;
  
  }
}
/* about2 section style------------------------------------------------*/
.about2 {
  background-color: var(--background2-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.about2 img{
  padding-top: var(--space-xl);
  width: 60px;
  height: auto;
}
.about2 p{
  padding: 0 var(--space-md);
  text-align: justify;
  margin: 0 var(--space-xl) var(--space-xl) var(--space-xl);
  max-width: 1200px;
}

/*about3 seciton style--------------------------------*/
.about3{
  background-color: var(--title-color);
  color: var(--white-color);
  padding: var(--space-xl);
  
}
.about3 div{
  border: solid 2px var(--white-color);
  max-width: 1200px ;
  margin: 0 auto;
}
.about3 p {
  padding: var(--space-lg) var(--space-sm);
  line-height: 2em;
  font-size: var(--font-xl);
}

/*about4 section style--------------------------------------------------------*/
.about4{
  width: 100%;
  height: 20vh;
  min-height: 200px;
  background-image: url(/assets/images/background/about-background.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items:flex-end;
  position:relative;
}
.about4 span {
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
  bottom: -50px;
}
.about4 img{
  height: 20vw;
  max-height: 120px;
  width: auto;
  transform: rotate(45deg);
  
}
/*about5 section style-----------------------------------------*/
.about5 {
  padding: var(--space-2xl) var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--background1-color);
}

.about5 img{
  height: 200px;
  width: auto;
  margin-bottom: var(--space-xl);
}
.about5 p{
  margin: 0 var(--space-xl) var(--space-xl) var(--space-2xl);
  text-align: justify;
  line-height: 1.6;
  font-size: var(--font-md);
}
.about5 .about5-p-extra{
  margin-top: var(--space-2xl);
  font-size: var(--font-lg);
  text-align: center;
  font-family: var(--font-family-titles);
  max-width: 700px;
}
/* about6 ection style---------------------------------------*/

.about6 {
  background-color: var(--background1-color);
  margin-bottom: var(--space-2xl);
}

.about6-img-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  
  
}
.about6-image {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.about6-image-container, .about6-image-container1{
    background: white;                 /* Polaroid frame color */
    padding: 20px 20px 45px;           /* Extra bottom padding → Polaroid style */
    border-radius: 4px;                /* Very subtle rounding */
    max-width: 450px;                  /* Optional: controls size */
    box-shadow: 
        -10px 10px 15px rgba(0, 0, 0, 0.15);  /* Left + bottom shadow */
    margin: 0 auto;                    /* Center on mobile */
    transform: rotate(-15deg);          /* Slight tilt */
    }
.about6 .about6-image-container1{
  transform: rotate(15deg)
}


    
