/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,600;0,800;1,600&display=swap');

/* CSS Variables for standard colors */
:root {
  --primary-dark: #192954;
  --accent-blue: #A3D3F2;
  --text-white: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Mulish', sans-serif;
  background-color: #f4f4f4;
  /* Just for contrast outside the section */
}

/* --- Building More Than Structures Section --- */
.structures-section {
  /* Tumhara standard background ya slight off-white */
  background-color: #f4f4f4;
  position: relative;
  overflow: hidden;
  /* Hexagon ko bahar nikalne se rokega */
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* The Decorative Hexagon PNG */
.bg-hexagon-left {
  position: absolute;
  top: 50%;
  left: -50px;
  /* Adjust this value to crop the hexagon as per your PNG */
  transform: translateY(-50%);
  height: 80%;
  /* Scales dynamically with section height */
  max-height: 400px;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  /* Text selection me disturb nahi karega */
}

/* Main Content Layout */
.structures-content {
  position: relative;
  z-index: 2;
  /* Content upar rahega, hexagon neeche */
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Mobile stack */
  align-items: center;
  gap: 40px;
}

/* Desktop View Layout */
@media (min-width: 992px) {
  .structures-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }
}

/* Left: Text Column */
.structures-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.structures-heading {
  color: #000000;
  font-weight: 800;
  /* Responsive font sizing */
  font-size: clamp(26px, 3vw, 35px);
  text-transform: uppercase;
  line-height: 1.2;
}

.structures-desc {
  color: #000000;
  font-weight: 500;
  /* Adjusting sizes from Figma to look good on web */
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.5;
}

/* Add some spacing below paragraphs if br tags aren't enough */
.structures-desc br {
  display: block;
  content: "";
  margin-top: 10px;
}

/* Right: Image Column */
.structures-image-col {
  flex: 0 0 auto;
  width: 100%;
  max-width: 501px;
  /* Exact Figma width constraint */
}

.structures-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 25px;
  /* Rounded corners from Figma */
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  /* Subtle premium shadow */
  object-fit: cover;
}

/* --- Section Container (Full Width Background) --- */
.visionary-section {
  background-color: var(--primary-dark);
  position: relative;
  overflow: hidden;
  /* Contains the watermark */
  padding-bottom: 0px;
  width: 100%;
  /* Ensures dark blue spans full width */
}

/* --- Shaping What's Next Section --- */

.shaping-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Banner Area */
.shaping-banner {
  width: 100%;
  /* 📌 Banner image ka path yahan daalna */
  background-image: url('../images/minds/buildings-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  /* Min-height for desktop */
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Text ko right me push karne ke liye */
  padding: 20px 5%;
}

.banner-title {
  color: var(--text-white);
  font-weight: 800;
  /* Responsive large font */
  font-size: clamp(32px, 5vw, 54px);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.2;
  /* Halka sa text shadow taaki image pe clear dikhe */
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

/* Bottom Area (Black Background) */
.shaping-bottom-area {
  padding: 20px 20px;
  display: flex;
  justify-content: center;
}

/* The Dark Blue Card */
.shaping-card {
  background-color: var(--primary-dark);
  max-width: 1280px;
  width: 100%;
  border-radius: 25px;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  /* Stack on mobile */
  align-items: center;
  gap: 40px;
  padding: 40px 25px;
}

/* Desktop layout for Card */
@media (min-width: 992px) {
  .shaping-card {
    flex-direction: row;
    justify-content: space-between;
    padding: 50px 60px;
    gap: 78px;
    /* Exact Figma gap */
  }
}

/* Card Text */
.shaping-card-text {
  flex: 1;
  /* Takes up available space */
}

.shaping-card-text p {
  color: var(--text-white);
  font-weight: 500;
  /* Responsive font size matching Figma scale */
  font-size: clamp(12px, 2.5vw, 22px);
  line-height: 1.4;
  text-align: justify;
}

/* Mobile text alignment tweak */
@media (max-width: 768px) {
  .shaping-card-text p {
    text-align: left;
  }
}

/* Card Logo */
.shaping-card-logo {
  flex: 0 0 auto;
  width: 100%;
  max-width: 250px;
  /* Adjust based on logo export */
  display: flex;
  justify-content: center;
}

.shaping-card-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Watermark Logo (Using PNG Image) */
.visionary-section::after {
  content: "";
  position: absolute;
  /* Image ki position apne hisaab se adjust kar lena */
  right: -5%;
  top: 10%;
  /* Image ka size */
  width: 350px;
  height: 350px;
  /* 👇 Yahan apni PNG ka path daal de */
  background-image: url('../images/minds/ls-symbol.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  opacity: 0.12;
  /* Figma wali exact opacity */
  pointer-events: none;
  z-index: 1;
}

/* --- What It Means To Us Section --- */
.meaning-section {
  background-color: #f4f4f4;
  /* Light background for contrast */
  padding: 20px 50px 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.meaning-title {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 39px);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 25px;
}

.meaning-divider {
  width: 100%;
  max-width: 1280px;
  /* Figma line width */
  height: 3px;
  background-color: var(--accent-blue);
  margin-bottom: 40px;
}

/* Cards Layout */
.meaning-cards-container {
  display: flex;
  flex-direction: column;
  /* Mobile First: Stacked */
  gap: 30px;
  max-width: 1280px;
  width: 100%;
}

/* Desktop View: Side by Side */
@media (min-width: 992px) {
  .meaning-cards-container {
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    /* Space between the two cards */
  }
}

/* Individual Card Styling */
.meaning-card {
  background: #FFFFFF;
  border-radius: 25px;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  flex: 1;
  /* Dono cards barabar width lenge */
  /* Added a very subtle shadow for a premium UI feel */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.04);
}

/* Icon Image */
.card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* Card Headings */
.card-headings {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-headings h3 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 26px);
  text-transform: uppercase;
}

.card-headings h4 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 23px);
  text-transform: uppercase;
}

/* Card Paragraph */
.card-text {
  color: #000000;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 19px);
  /* Slightly scaled for readability */
  line-height: 1.5;
  text-align: center;
  flex-grow: 1;
  /* Keeps the bottom line pushed down uniformly */
}

/* Mobile text adjustment */
@media (max-width: 768px) {
  .card-text {
    text-align: center;
  }
}

/* Bottom Blue Line in Card */
.card-line {
  width: 100%;
  border: none;
  border-top: 2px solid var(--accent-blue);
  /* 2px for better visibility */
  margin-top: auto;
}

/* --- Our Commitment Section --- */
.commitment-section {
  background-color: #f4f4f4;
  /* Tumhari website ka standard background */
  padding: 20px 20px 40px 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* The Light Blue Card */
.commitment-card {
  background-color: #E4EDF3;
  border: 1px solid var(--accent-blue);
  border-radius: 25px;
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Mobile first: stacked */
  align-items: center;
  overflow: hidden;
  /* Border-radius se image bahar na jaye */
  gap: 30px;
}

/* Desktop View Layout */
@media (min-width: 992px) {
  .commitment-card {
    flex-direction: row;
    align-items: stretch;
    /* Image column card ki height tak stretch karega */
    padding-right: 48px;
    /* Figma padding */
    gap: 50px;
  }
}

/* Left: Image Column */
.commitment-image-col {
  flex: 0 0 auto;
  width: 100%;
  max-width: 380px;
  /* Figma image width */
  display: flex;
  align-items: flex-end;
  /* Image hamesha bottom touch karegi */
  justify-content: center;
}

.building-sketch {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom;
}

/* On mobile, add some padding to image so it doesn't look squished */
@media (max-width: 991px) {
  .commitment-image-col {
    padding-top: 40px;
    max-width: 250px;
    /* Scale down sketch on mobile */
  }
}

/* Right: Text Column */
.commitment-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  /* Spacing between heading, para, and footer */
  padding: 40px 20px;
}

/* On desktop, remove top/bottom padding if you want it exactly centered vertically */
@media (min-width: 992px) {
  .commitment-text-col {
    padding: 40px 0;
    justify-content: center;
    /* Vertically center the text */
  }
}

/* Typography */
.commitment-heading {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 35px);
  text-transform: uppercase;
  line-height: 1.2;
}

.commitment-desc {
  color: #000000;
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 24px);
  /* Slightly scaled down from 26px for better web reading */
  line-height: 1.5;
  text-align: justify;
}

/* Mobile text adjustment */
@media (max-width: 768px) {
  .commitment-desc {
    text-align: left;
  }
}

.commitment-footer {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 24px);
  text-transform: uppercase;
  line-height: 1.3;
}






/* --- Top Header --- */
.visionary-header {
  padding: 10px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-title {
  color: var(--text-white);
  font-weight: 800;
  /* Reduced font size */
  font-size: clamp(22px, 3.5vw, 30px);
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(20px);
}

/* --- Section Divider --- */
.section-divider {
  width: 100%;
  height: 3px;
  /* Slightly thinner */
  background-color: var(--accent-blue);
}

/* --- Main Content Layout --- */
.visionary-content {
  max-width: 1050px;
  /* Reduced from 1300px to match smaller image/text */
  margin: 0 auto;
  padding: 20px 20px 50px 20px;
  display: flex;
  flex-direction: column;
  /* Mobile first */
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
  /* Keeps content above watermark */
}

/* Desktop Layout */
@media (min-width: 992px) {
  .visionary-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    /* Reduced gap proportionally */
    padding: 25px 40px 60px 40px;
  }
}

/* --- Image Column --- */
.image-column {
  flex: 0 0 auto;
  width: 100%;
  max-width: 320px;
  /* Reduced from 415px */
}

.profile-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  /* Proportionally reduced border radius */
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* --- Text Details Column --- */
.text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Reduced spacing */
}

.name {
  color: var(--text-white);
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 28px);
  /* Reduced */
  line-height: 1.2;
  text-transform: uppercase;
}

.designation {
  color: var(--text-white);
  font-weight: 800;
  font-size: clamp(14px, 1.5vw, 16px);
  /* Reduced */
  text-transform: uppercase;
  letter-spacing: 0;
}

.inner-divider {
  border: none;
  border-top: 2px solid var(--text-white);
  /* Thinner line */
  width: 100%;
  margin: 5px 0 10px 0;
}

.bio {
  color: var(--text-white);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(15px, 1.8vw, 19px);
  /* Reduced */
  line-height: 1.5;
  text-align: justify;
}

/* Mobile adjustment for reading comfort */
@media (max-width: 768px) {
  .bio {
    text-align: left;
  }
}

/* --- Director Section Container --- */
.director-section {
  /* Agar website ka overall BG dark hai toh isko change kar lena. 
     Figma me heading dark blue hai, isliye light BG better lagega */
  background-color: #f4f4f4;
  padding: 20px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.director-heading {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  /* Proportionally sized */
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* --- The White Card --- */
.director-card {
  background: #FFFFFF;
  max-width: 1280px;
  width: 100%;
  border-radius: 25px;
  /* Premium soft shadow (Figma wali shadow ko refine kiya hai) */
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  /* Bahar nikalte hue hexagons ko cut karega */
}

/* --- Decorative Hexagon Images --- */
.decor-hex-left {
  position: absolute;
  bottom: -20px;
  /* Adjust according to your PNG */
  left: -50px;
  /* Push slightly outside */
  width: 250px;
  z-index: 1;
  pointer-events: none;
}

.decor-hex-right {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 120px;
  opacity: 0.42;
  /* Figma opacity */
  z-index: 1;
  pointer-events: none;
}

/* --- Card Content Wrapper --- */
.director-content {
  position: relative;
  z-index: 2;
  /* Content hamesha hexagons ke upar rahega */
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 20px;
  align-items: center;
}

/* Desktop View */
@media (min-width: 992px) {
  .director-content {
    flex-direction: row;
    align-items: center;
    padding: 50px 60px;
    gap: 60px;
  }
}

/* --- Image Column --- */
.director-image-col {
  flex: 0 0 auto;
  width: 100%;
  max-width: 350px;
  /* Proportionally resized */
}

.director-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

/* --- Text Details Column --- */
.director-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Flexbox magic for vertical line */
.director-title-wrapper {
  display: flex;
  gap: 15px;
  align-items: stretch;
  /* Bar automatically height le lega */
}

.vertical-bar {
  width: 6px;
  background-color: #122144;
  border-radius: 4px;
  /* Halka sa round acha lagta hai */
}

.title-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.director-name {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.1;
  text-transform: uppercase;
}

.director-designation {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: clamp(14px, 1.5vw, 16px);
  text-transform: uppercase;
  letter-spacing: 0;
}

.director-bio {
  color: #122144;
  font-style: italic;
  font-weight: 400;
  /* Regular weight as per Figma */
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.6;
  text-align: justify;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .director-bio {
    text-align: left;
  }
}

/* --- Sadiq Section Specifics --- */

/* Reverse the layout for desktop (Text Left, Image Right) */
@media (min-width: 992px) {
  .director-content.alt-layout {
    /* flex-direction row hi rahega pichle class se, 
       bas elements DOM me reverse order me hain HTML me */
    flex-direction: row;
  }
}

/* --- Decorative Hexagon Images (Sadiq Section) --- */
.decor-hex-top-center {
  position: absolute;
  top: 40px;
  left: 45%;
  /* Figma ke hisaab se roughly center me */
  width: 120px;
  opacity: 0.42;
  z-index: 1;
  pointer-events: none;
}

.decor-hex-bottom-right {
  position: absolute;
  bottom: -20px;
  right: -50px;
  /* Push slightly outside so it clips inside the card */
  width: 250px;
  z-index: 1;
  pointer-events: none;
}

/* =========================================
   PREMIUM DYNAMIC ANIMATIONS & HOVER EFFECTS
   ========================================= */

/* Buttery-Smooth Core Transitions */
.structures-img,
.profile-img,
.director-img,
.card-icon,
.building-sketch,
.meaning-card,
.shaping-card,
.commitment-card,
.director-card {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.4s ease;
}

/* 1. Structures Section Hover Scale & Shadow */
.structures-image-col {
  overflow: hidden;
  border-radius: 25px;
}

.structures-image-col:hover .structures-img {
  transform: scale(1.04);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.18);
}

/* 2. Shaping Section Logo Micro-Interaction */
.shaping-card-logo {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shaping-card:hover .shaping-card-logo {
  transform: scale(1.06) rotate(1deg);
}

/* 3. Meaning Section Cards Hover Rise & Accent Highlight */
.meaning-card {
  border: 1px solid transparent;
}

.meaning-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 15px 35px rgba(25, 41, 84, 0.08);
  border-color: var(--accent-blue);
}

.meaning-card:hover .card-icon {
  transform: scale(1.08) rotate(2deg);
}

/* 4. Commitment Section Card Subtle Rise & Parallax Sketch Translation */
.commitment-card:hover {
  box-shadow: 0px 15px 40px rgba(25, 41, 84, 0.12);
}

.commitment-card:hover .building-sketch {
  transform: scale(1.04) translateX(4px);
}

/* 5. Visionary Profile Image Floating Rise & Lift */
.image-column:hover .profile-img {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3);
}

/* 6. Director Card Subtle Parallax Zoom & Lift */
.director-card:hover {
  box-shadow: 0px 18px 40px rgba(25, 41, 84, 0.12);
}

.director-image-col:hover .director-img {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.15);
}

/* 7. Floating Micro-Animations for Background Hexagons (Slow & Premium) */
@keyframes floatHex {
  0% {
    margin-top: 0px;
  }

  50% {
    margin-top: -12px;
  }

  100% {
    margin-top: 0px;
  }
}

@keyframes floatHexAlt {
  0% {
    margin-top: 0px;
  }

  50% {
    margin-top: 10px;
  }

  100% {
    margin-top: 0px;
  }
}

.bg-hexagon-left {
  animation: floatHex 9s ease-in-out infinite;
}

.decor-hex-left {
  animation: floatHex 8s ease-in-out infinite;
}

.decor-hex-right {
  animation: floatHexAlt 7s ease-in-out infinite;
}

.decor-hex-top-center {
  animation: floatHexAlt 8s ease-in-out infinite;
}

.decor-hex-bottom-right {
  animation: floatHex 10s ease-in-out infinite;
}