/* PURPOSE SECTION*/
/* Geometric Purpose Section Styles */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

.geometric-purpose-section {
    width: 100%;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    font-family: 'Urbanist', sans-serif;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    
}

.geometric-purpose-section .gps-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.geometric-purpose-section .gps-geometric-shape {
    position: absolute;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    opacity: 0.1;
    z-index: 1;
    transition: all 0.8s ease;
}

.geometric-purpose-section .gps-shape-1 {
    width: 120px;
    height: 120px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 15%;
    left: 10%;
    animation: gps-float1 20s ease-in-out infinite;
}

.geometric-purpose-section .gps-shape-2 {
    width: 180px;
    height: 180px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    bottom: 20%;
    right: 10%;
    animation: gps-float2 25s ease-in-out infinite;
}

.geometric-purpose-section .gps-shape-3 {
    width: 100px;
    height: 100px;
    clip-path: circle(50% at 50% 50%);
    top: 65%;
    left: 65%;
    animation: gps-float3 15s ease-in-out infinite;
}

.geometric-purpose-section .gps-shape-4 {
    width: 150px;
    height: 150px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
    top: 20%;
    right: 20%;
    animation: gps-float4 30s ease-in-out infinite;
}

.geometric-purpose-section .gps-shape-5 {
    width: 130px;
    height: 130px;
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
    bottom: 10%;
    left: 20%;
    animation: gps-float5 22s ease-in-out infinite;
}

@keyframes gps-float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(120deg); }
    66% { transform: translate(-15px, 25px) rotate(240deg); }
}

@keyframes gps-float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-40px, 15px) rotate(120deg); }
    66% { transform: translate(25px, -30px) rotate(240deg); }
}

@keyframes gps-float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -15px) scale(1.1); }
}

@keyframes gps-float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 25px) rotate(180deg); }
}

@keyframes gps-float5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, 15px) rotate(180deg); }
}

.geometric-purpose-section .gps-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.geometric-purpose-section .gps-header {
    text-align: center;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.geometric-purpose-section .gps-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.geometric-purpose-section .gps-title-wrapper {
    display: inline-block;
    position: relative;
}

.geometric-purpose-section .gps-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.geometric-purpose-section .gps-title-underline {
    height: 4px;
    width: 120px;
    background: rgba(99, 102, 241, 0.3);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.geometric-purpose-section .gps-underline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4361ee, #7209b7);
    border-radius: 2px;
    animation: gps-progress 3s ease-in-out infinite;
}

@keyframes gps-progress {
    0% { width: 0; left: 0; }
    50% { width: 100%; left: 0; }
    100% { width: 0; left: 100%; }
}

.geometric-purpose-section .gps-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 70px;
}

.geometric-purpose-section .gps-text-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease 0.2s;
}

.geometric-purpose-section .gps-text-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.geometric-purpose-section .gps-text-card {
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid #4361ee;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-start;
}

.geometric-purpose-section .gps-text-card:hover {
    transform: translateX(10px);
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.geometric-purpose-section .gps-text-icon {
    font-size: 1.5rem;
    color: #4361ee;
    margin-right: 15px;
    flex-shrink: 0;
}

.geometric-purpose-section .gps-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0;
}

.geometric-purpose-section .gps-highlight {
    background: linear-gradient(120deg, rgba(67, 97, 238, 0.2) 0%, rgba(114, 9, 183, 0.2) 100%);
    padding: 0 8px;
    border-radius: 4px;
    font-weight: 600;
    color: #818cf8;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.geometric-purpose-section .gps-highlight::before {
    content: attr(data-text);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #818cf8;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.geometric-purpose-section .gps-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4361ee, #7209b7);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.geometric-purpose-section .gps-highlight:hover {
    background: linear-gradient(120deg, rgba(67, 97, 238, 0.3) 0%, rgba(114, 9, 183, 0.3) 100%);
    color: #e0e7ff;
}

.geometric-purpose-section .gps-highlight:hover::before {
    opacity: 1;
    visibility: visible;
    top: -45px;
}

.geometric-purpose-section .gps-highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.geometric-purpose-section .gps-visual-element {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease 0.4s;
}

.geometric-purpose-section .gps-visual-element.visible {
    opacity: 1;
    transform: translateX(0);
}

.geometric-purpose-section .gps-geometric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.geometric-purpose-section .gps-grid-item {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.geometric-purpose-section .gps-grid-item:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(67, 97, 238, 0.3);
}

.geometric-purpose-section .gps-grid-icon {
    margin-bottom: 15px;
}

.geometric-purpose-section .gps-icon-shape {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.8rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.geometric-purpose-section .gps-grid-item:hover .gps-icon-shape {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.geometric-purpose-section .gps-grid-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: #f8fafc;
    margin-bottom: 8px;
    font-weight: 600;
}

.geometric-purpose-section .gps-grid-item p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
}

.geometric-purpose-section .gps-quote-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.6s;
}

.geometric-purpose-section .gps-quote-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.geometric-purpose-section .gps-quote-card {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(114, 9, 183, 0.1) 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 97, 238, 0.2);
}

.geometric-purpose-section .gps-quote-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    color: #4361ee;
    line-height: 1;
    margin-bottom: 15px;
}

.geometric-purpose-section .gps-quote-text {
    font-size: 1.4rem;
    font-style: italic;
    font-family: 'Space Grotesk', sans-serif;
    color: #e2e8f0;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.geometric-purpose-section .gps-quote-line {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, #4361ee, #7209b7);
    margin: 0 auto;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .geometric-purpose-section .gps-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .geometric-purpose-section .gps-geometric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .geometric-purpose-section {
        padding: 60px 20px;
    }
    
    .geometric-purpose-section .gps-title {
        font-size: 2.2rem;
    }
    
    .geometric-purpose-section .gps-text {
        font-size: 1rem;
    }
    
    .geometric-purpose-section .gps-geometric-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .geometric-purpose-section .gps-quote-card {
        padding: 30px;
    }
    
    .geometric-purpose-section .gps-quote-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 500px) {
    .geometric-purpose-section {
        padding: 50px 15px;
    }
    
    .geometric-purpose-section .gps-title {
        font-size: 1.9rem;
    }
    
    .geometric-purpose-section .gps-header {
        margin-bottom: 50px;
    }
    
    .geometric-purpose-section .gps-text-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .geometric-purpose-section .gps-text-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .geometric-purpose-section .gps-grid-item {
        padding: 20px 15px;
    }
    
    .geometric-purpose-section .gps-icon-shape {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .geometric-purpose-section .gps-quote-card {
        padding: 25px;
    }
    
    .geometric-purpose-section .gps-quote-text {
        font-size: 1.1rem;
    }
    
    .geometric-purpose-section .gps-geometric-shape {
        display: none;
    }
}

@media (max-width: 300px) {
    .geometric-purpose-section .gps-title {
        font-size: 1.7rem;
    }
    
    .geometric-purpose-section .gps-text {
        font-size: 0.95rem;
    }
    
    .geometric-purpose-section .gps-grid-item h3 {
        font-size: 1.1rem;
    }
    
    .geometric-purpose-section .gps-grid-item p {
        font-size: 0.85rem;
    }
}

/* Extra large screens */
@media (min-width: 2000px) {
    .geometric-purpose-section {
        max-width: 1600px;
        margin: 0 auto;
        padding: 100px 40px;
    }
    
    .geometric-purpose-section .gps-container {
        max-width: 1400px;
    }
    
    .geometric-purpose-section .gps-title {
        font-size: 4rem;
    }
    
    .geometric-purpose-section .gps-text {
        font-size: 1.4rem;
    }
    
    .geometric-purpose-section .gps-icon-shape {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .geometric-purpose-section .gps-grid-item h3 {
        font-size: 1.6rem;
    }
    
    .geometric-purpose-section .gps-grid-item p {
        font-size: 1.1rem;
    }
    
    .geometric-purpose-section .gps-quote-text {
        font-size: 2rem;
    }
}

@media (min-width: 3000px) {
    .geometric-purpose-section {
        max-width: 2200px;
        padding: 120px 60px;
    }
    
    .geometric-purpose-section .gps-container {
        max-width: 2000px;
    }
    
    .geometric-purpose-section .gps-title {
        font-size: 5rem;
    }
    
    .geometric-purpose-section .gps-text {
        font-size: 1.8rem;
    }
    
    .geometric-purpose-section .gps-icon-shape {
        width: 130px;
        height: 130px;
        font-size: 3rem;
    }
    
    .geometric-purpose-section .gps-grid-item h3 {
        font-size: 2rem;
    }
    
    .geometric-purpose-section .gps-grid-item p {
        font-size: 1.4rem;
    }
    
    .geometric-purpose-section .gps-quote-text {
        font-size: 2.5rem;
    }
}

@media (min-width: 4000px) {
    .geometric-purpose-section {
        max-width: 3200px;
        padding: 150px 80px;
    }
    
    .geometric-purpose-section .gps-container {
        max-width: 3000px;
    }
    
    .geometric-purpose-section .gps-title {
        font-size: 6.5rem;
    }
    
    .geometric-purpose-section .gps-text {
        font-size: 2.2rem;
    }
    
    .geometric-purpose-section .gps-icon-shape {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }
    
    .geometric-purpose-section .gps-grid-item h3 {
        font-size: 2.5rem;
    }
    
    .geometric-purpose-section .gps-grid-item p {
        font-size: 1.8rem;
    }
    
    .geometric-purpose-section .gps-quote-card {
        padding: 60px;
    }
    
    .geometric-purpose-section .gps-quote-text {
        font-size: 3rem;
    }
}
/*PURPOSE SECTION END*/

/*ABOUT KSHIVANYA AUTOMATION*/
/* Kshivanya Automation Dark Theme */
.kshivanya-automation-dark {
  position: relative;
  padding: 6rem 2rem 8rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0a192f 0%, #112240 50%, #0a192f 100%);
  font-family: 'Exo 2', 'Roboto', sans-serif;
  color: #ccd6f6;
  isolation: isolate;
  margin-top: 80px; /* Space after navbar */
}

.automation-circuit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

.circuit-line {
  position: absolute;
  background: rgba(100, 255, 218, 0.5);
  border-radius: 1px;
}

.circuit-1 {
  top: 20%;
  left: 0;
  width: 100%;
  height: 1px;
  animation: circuitFlow 15s infinite linear;
}

.circuit-2 {
  top: 0;
  left: 30%;
  width: 1px;
  height: 100%;
  animation: circuitFlow 12s infinite linear reverse;
}

.circuit-3 {
  top: 0;
  left: 70%;
  width: 1px;
  height: 100%;
  animation: circuitFlow 18s infinite linear;
}

.circuit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #64ffda;
  border-radius: 50%;
  animation: nodePulse 2s infinite;
  animation-delay: calc(var(--delay) * 0.5s);
}

.circuit-node:nth-child(1) { top: 20%; left: 30%; }
.circuit-node:nth-child(2) { top: 20%; left: 70%; }
.circuit-node:nth-child(3) { top: 60%; left: 30%; }
.circuit-node:nth-child(4) { top: 60%; left: 70%; }

@keyframes circuitFlow {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 0; }
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.main-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3.5rem;
  color: #ccd6f6;
  font-weight: 700;
  
  position: relative;
}

.title-accent {
  background: linear-gradient(135deg, #0743cf 0%, #4183a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #0a192f, #64ffda, #0a192f);
  border-radius: 2px;
}

.intro-text {
  margin-bottom: 5rem;
  line-height: 1.8;
  font-size: 1.2rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.text-highlight {
  background: linear-gradient(120deg, rgba(100, 255, 218, 0.2) 0%, rgba(87, 203, 255, 0.2) 100%);
  padding: 0 8px;
  border-radius: 4px;
  font-weight: 600;
  color: #64ffda;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 5rem 0;
}

.business-card {
  background: linear-gradient(145deg, #112240 0%, #0a192f 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #64ffda, #57cbff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.business-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(100, 255, 218, 0.3);
}

.business-card:hover::before {
  opacity: 1;
}

.card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 5px rgba(100, 255, 218, 0.5));
}

.business-card h3 {
  color: #64ffda;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.business-card > p {
  color: #a8b2d1;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-hover-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.business-card:hover .card-hover-content {
  max-height: 200px;
}

.card-hover-content ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 1.5rem;
}

.card-hover-content li {
  padding: 0.5rem 0;
  color: #ccd6f6;
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
}

.card-hover-content li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #64ffda;
  font-weight: bold;
}

.card-footer {
  margin-top: auto;
}

.learn-more {
  color: #57cbff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.business-card:hover .learn-more {
  transform: translateX(5px);
}

.expertise-section {
  margin-top: 6rem;
  padding: 3rem;
  background: rgba(10, 25, 47, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(100, 255, 218, 0.1);
  position: relative;
  overflow: hidden;
}

.expertise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(100, 255, 218, 0.05) 0%, transparent 100%);
  z-index: 0;
}

.expertise-content {
  position: relative;
  z-index: 2;
}

.expertise-content h3 {
  color: #64ffda;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.expertise-content p {
  color: #ccd6f6;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.tech-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #64ffda;
  font-size: 0.9rem;
  font-weight: 600;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: #64ffda;
  border-radius: 50%;
  position: relative;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border: 1px solid #64ffda;
  border-radius: 50%;
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { width: 12px; height: 12px; opacity: 1; }
  100% { width: 30px; height: 30px; opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .kshivanya-automation-dark {
    padding: 4rem 1.5rem 6rem;
    margin-top: 70px;
  }
  
  .main-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }
  
  .intro-text {
    font-size: 1.1rem;
    margin-bottom: 4rem;
  }
  
  .business-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 4rem 0;
  }
  
  .business-card {
    padding: 2rem 1.5rem;
  }
  
  .expertise-section {
    margin-top: 4rem;
    padding: 2rem 1.5rem;
  }
  
  .tech-indicator {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .kshivanya-automation-dark {
    padding: 3rem 1rem 5rem;
    margin-top: 60px;
  }
  
  .main-title {
    font-size: 1.8rem;
  }
  
  .intro-text {
    font-size: 1rem;
  }
  
  .card-icon {
    font-size: 2.8rem;
  }
  
  .business-card h3 {
    font-size: 1.3rem;
  }
}

@media (min-width: 2000px) {
  .content-wrapper {
    max-width: 1800px;
  }
  
  .main-title {
    font-size: 4rem;
  }
  
  .intro-text {
    font-size: 1.5rem;
    max-width: 1200px;
  }
  
  .business-grid {
    gap: 3rem;
  }
  
  .business-card {
    padding: 4rem 3rem;
    border-radius: 24px;
  }
  
  .card-icon {
    font-size: 4.5rem;
  }
  
  .business-card h3 {
    font-size: 1.8rem;
  }
  
  .business-card > p {
    font-size: 1.2rem;
  }
  
  .card-hover-content li {
    font-size: 1.1rem;
  }
  
  .expertise-content p {
    font-size: 1.4rem;
    max-width: 1200px;
  }
}

/* Font import for Exo 2 */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&display=swap');
/*ABOUT KSHIVANYA AUTOMATION END*/

/* MISSION, VISION AND CORE VALUES*/

/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.kshivanya-pillars-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: #ffffff;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Floating Accents */
.floating-accent {
  position: absolute;
  width: clamp(100px, 30vw, 300px);
  height: clamp(100px, 30vw, 300px);
  border-radius: 50%;
  z-index: 0;
  filter: blur(clamp(30px, 8vw, 60px));
  opacity: 0.3;
  mix-blend-mode: screen;
  animation: floatAccent 25s ease-in-out infinite;
}

.accent-vision {
  background: radial-gradient(circle, #1a3a5f, rgba(26, 58, 95, 0.8));
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.accent-mission {
  background: radial-gradient(circle, #005a87, rgba(0, 90, 135, 0.8));
  bottom: 15%;
  right: 10%;
  animation-delay: 5s;
}

@keyframes floatAccent {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(50px, 30px) scale(0.9);
  }
  75% {
    transform: translate(30px, -50px) scale(1.05);
  }
}

/* Pillars Container */
.pillars-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 70vh;
}

@media (min-width: 768px) {
  .pillars-container {
    flex-direction: row;
    height: 100vh;
  }
}

/* Individual Pillar */
.pillar {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  z-index: 2;
  will-change: transform;
  min-height: min(70vh, 500px);
  width: 100%;
  
}

.vision-pillar {
  background: #016394;
}

.mission-pillar {
  background: #0b80a1;
}

@media (min-width: 768px) {
  .pillar {
    width: 50%;
    height: 100%;
    min-height: 100vh;
  }
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pillar:hover::before {
  opacity: 1;
}

.pillar-content {
  position: relative;
  z-index: 3;
  max-width: min(90%, 500px);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
  text-align: center;
  
}

.pillar h1 {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: clamp(0.6rem, 2vw, 1rem);
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  line-height: 1.1;
}

.tagline {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: #64ffda;
  margin-bottom: 1.2rem;
}

/* Pillar List Styles */
.pillar-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.pillar-list li {
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  line-height: 1.5;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  opacity: 0.9;
  transition: all 0.4s ease;
}

.pillar-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #64ffda;
  font-size: 1.2rem;
  line-height: 1;
}

.pillar:hover .pillar-list li {
  opacity: 1;
  transform: translateX(5px);
}

.pillar-list li:nth-child(1) { transition-delay: 0.1s; }
.pillar-list li:nth-child(2) { transition-delay: 0.2s; }
.pillar-list li:nth-child(3) { transition-delay: 0.3s; }
.pillar-list li:nth-child(4) { transition-delay: 0.4s; }

.highlight-box {
  background: rgba(100, 255, 218, 0.1);
  border-left: 3px solid #64ffda;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1.2rem;
}

.highlight-box p {
  margin: 0;
  font-size: clamp(0.8rem, 2.2vw, 0.9rem);
  font-weight: 500;
  color: #64ffda;
}

/* Hover Effects */
.pillar .image-hover {
  position: absolute;
  top: 0; 
  left: 0;
  height: 100%; 
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
  transform: scale(1.1);
}

.pillar:hover .pillar-content {
  transform: translateY(-8px);
  color: #0f172a;
}

.pillar:hover .image-hover {
  opacity: 0.8;
  transform: scale(1);
}

.pillar:hover h1,
.pillar:hover .pillar-list li {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Floating Particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  20% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Core Values Section */
.core-values-section {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, #0a192f 0%, #162b4d 50%, #0a192f 100%);
  z-index: 4;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
}

.values-title {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
  position: relative;
}

.values-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #64ffda;
  border-radius: 2px;
}

.values-subtitle {
  text-align: center;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  color: #a8b2d1;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.value-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 16px;
  background: linear-gradient(45deg, transparent, transparent, var(--hover-color, #1e90ff), transparent, transparent);
  background-size: 400% 400%;
  z-index: -1;
  opacity: 0;
  transition: all 0.6s ease;
}

.value-card:hover::before {
  opacity: 1;
  animation: shine 2s linear infinite;
}

@keyframes shine {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 135% 0%;
  }
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: var(--hover-color, #1e90ff);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.15);
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-card p {
  color: #a8b2d1;
  line-height: 1.5;
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 767px) {
  .pillar {
    min-height: 55vh;
    padding: 1.2rem 0.8rem;
  }
  
  .values-grid {
    gap: 1.2rem;
  }
  
  .value-card {
    padding: 1.2rem 0.8rem;
  }
  
  .value-icon {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .pillar {
    min-height: 50vh;
    padding: 1rem 0.6rem;
  }
  
  .pillar-list li {
    padding-left: 1.2rem;
    font-size: 0.75rem;
  }
  
  .core-values-section {
    padding: 1.2rem 0.6rem;
  }
  
  .value-card {
    padding: 1rem 0.6rem;
  }
  
  .value-icon {
    font-size: 1.6rem;
  }
  
  .value-card h4 {
    font-size: 0.9rem;
  }
  
  .value-card p {
    font-size: 0.8rem;
  }
}

@media (min-width: 2000px) {
  .pillar h1 {
    font-size: 2.5rem;
  }
  
  .pillar-list li {
    font-size: 1.1rem;
  }
  
  .values-title {
    font-size: 2.5rem;
  }
  
  .values-subtitle {
    font-size: 1.1rem;
  }
  
  .value-card h4 {
    font-size: 1.1rem;
  }
  
  .value-card p {
    font-size: 0.95rem;
  }
  
  .value-icon {
    font-size: 2.5rem;
  }
}

/* Extreme large screens */
@media (min-width: 3000px) {
  .pillar-content,
  .values-container {
    max-width: 1800px;
    margin: 0 auto;
  }
  
  .pillar h1 {
    font-size: 3.5rem;
  }
  
  .pillar-list li {
    font-size: 1.8rem;
  }
  
  .values-title {
    font-size: 3.5rem;
  }
  
  .values-subtitle {
    font-size: 1.8rem;
  }
  
  .value-card h4 {
    font-size: 1.8rem;
  }
  
  .value-card p {
    font-size: 1.4rem;
  }
  
  .value-icon {
    font-size: 4rem;
  }
}

/* Extreme small screens */
@media (max-width: 300px) {
  .pillar {
    padding: 0.8rem 0.4rem;
    min-height: 45vh;
  }
  
  .pillar h1 {
    font-size: 1.1rem;
  }
  
  .pillar-list li {
    font-size: 0.7rem;
    padding-left: 1rem;
  }
  
  .core-values-section {
    padding: 1rem 0.4rem;
  }
  
  .value-card {
    padding: 0.8rem 0.4rem;
  }
  
  .value-icon {
    font-size: 1.4rem;
  }
  
  .value-card h4 {
    font-size: 0.8rem;
  }
  
  .value-card p {
    font-size: 0.7rem;
  }
}

/* MISSION, VISION AND CORE VALUES END*/


/*EXTRA KSHIVANYA */

/* Kshivanya Advantage Section - Enhanced Professional Design */
.kshivanya-advantage-section {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2d3748;
  isolation: isolate;
  
}

.advantage-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
  padding-top: 30px;
  
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a365d;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, #3182ce, #63b3ed);
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #718096;
  max-width: 700px;
  margin: 2rem auto 0;
  font-weight: 400;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

/* Advantage Content */
.advantage-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 5rem;
  padding-left: 60px;
  padding-right: 60px;
}


@media (min-width: 768px) {
  .advantage-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .advantage-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

/* Advantage Block */
.advantage-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  
}

.advantage-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Shine Effect */
.shine-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.8s ease;
  z-index: 2;
}

.advantage-block:hover .shine-effect {
  transform: rotate(30deg) translateY(200%);
}

/* Block Icon */
.block-icon {
  width: 90px;
  height: 90px;
  background: #ebf4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: #ce3131;
  transition: all 0.4s ease;
  position: relative;
  z-index: 3;
}

.advantage-block:hover .block-icon {
  background: #ce3131;
  color: #ffffff;
  transform: scale(1.1);
}

/* Different colors for each block */
.advantage-block[data-color="#38a169"] .block-icon {
  background: #f0fff4;
  color: #38a169;
}

.advantage-block[data-color="#38a169"]:hover .block-icon {
  background: #ffffff;
  color: #f1e212;
}

.advantage-block[data-color="#d69e2e"] .block-icon {
  background: #ffffff;
  color: #411cf9;
}

.advantage-block[data-color="#d69e2e"]:hover .block-icon {
  background: #312ed6;
  color: #ffffff;
}

.advantage-block[data-color="#805ad5"] .block-icon {
  background: #ffffff;
  color: #0e7105;
}

.advantage-block[data-color="#805ad5"]:hover .block-icon {
  background: #089028;
  color: #ffffff;
}

/* Block Content */
.block-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 3;
}

.block-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
  position: relative;
  z-index: 3;
  font-family: 'Inter', sans-serif;
}

/* Colored outlines on hover */
.advantage-block:hover {
  border-color: transparent;
  position: relative;
}

.advantage-block::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--hover-color, #3182ce), transparent, var(--hover-color, #3182ce));
  border-radius: 18px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.advantage-block:hover::before {
  opacity: 1;
  animation: borderGlow 2s infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Set different colors for each block */
.advantage-block:nth-child(1) { --hover-color: #ce3131; }
.advantage-block:nth-child(2) { --hover-color: #f7ed2c; }
.advantage-block:nth-child(3) { --hover-color: #278cf7; }
.advantage-block:nth-child(4) { --hover-color: #18ed62; }

/* Advantage Summary */
.advantage-summary {
  background: linear-gradient(to right, #ebf4ff, #f0fff4);
  border-radius: 16px;
  padding: 3.5rem 3rem;
  text-align: center;
  border-left: 5px solid #3182ce;
  position: relative;
  overflow: hidden;
}

.advantage-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #ce3131, #38a169, #d69e2e, #805ad5);
}

.summary-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2d3748;
  margin: 0;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 767px) {
  .kshivanya-advantage-section {
    padding: 4rem 1.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .advantage-block {
    padding: 2.5rem 2rem;
  }
  
  .block-icon {
    width: 80px;
    height: 80px;
  }
  
  .block-content h3 {
    font-size: 1.3rem;
  }
  
  .advantage-summary {
    padding: 3rem 2.5rem;
  }
  
  .summary-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .kshivanya-advantage-section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .advantage-block {
    padding: 2rem 1.5rem;
  }
  
  .block-icon {
    width: 70px;
    height: 70px;
  }
  
  .block-icon svg {
    width: 36px;
    height: 36px;
  }
  
  .block-content h3 {
    font-size: 1.2rem;
  }
  
  .block-content p {
    font-size: 1rem;
  }
  
  .advantage-summary {
    padding: 2.5rem 2rem;
  }
  
  .summary-content p {
    font-size: 1.05rem;
  }
}

@media (min-width: 2000px) {
  .advantage-container {
    max-width: 1400px;
  }
  
  .section-title {
    font-size: 3.2rem;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
  }
  
  .advantage-content {
    gap: 3rem;
  }
  
  .advantage-block {
    padding: 3.5rem 3rem;
  }
  
  .block-icon {
    width: 100px;
    height: 100px;
  }
  
  .block-icon svg {
    width: 54px;
    height: 54px;
  }
  
  .block-content h3 {
    font-size: 1.6rem;
  }
  
  .block-content p {
    font-size: 1.2rem;
  }
  
  .advantage-summary {
    padding: 4rem 3.5rem;
  }
  
  .summary-content p {
    font-size: 1.4rem;
  }
}

/* Font import for Inter with different weights */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/*EXTRA KSHIVANYA END */

/* Life at Kshivanya Styles */
.life-at-kshivanya {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    overflow: hidden;
    position: relative;
    
}


/* Background Elements */
.bg-shape-1 {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, rgba(26, 54, 93, 0) 70%);
    z-index: 0;
}

.bg-shape-2 {
    position: absolute;
    bottom: 15%;
    left: -8%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 128, 185, 0.15) 0%, rgba(26, 54, 93, 0) 70%);
    z-index: 0;
}

/* Header Section */
.lak-section-header {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 50%, #1a365d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.lak-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,224C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1348,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.lak-section-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lak-section-header h1:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.lak-section-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 30px auto 0;
    color: #e0e0e0;
}

/* Gallery Section - Original Layout */
.lak-gallery-container {
    padding: 80px 5%;
    background: linear-gradient(to bottom, #0a192f, #1a365d);
    position: relative;
}

.lak-gallery-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.lak-gallery-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.lak-gallery-header p {
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.lak-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 120px);
    gap: 20px;
    margin-bottom: 20px;
}

.lak-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #3498db, #2c3e50) border-box;
}

.lak-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.lak-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lak-gallery-item:hover img {
    transform: scale(1.08);
}

/* Gallery Grid Layout for 13 items */
.lak-gallery-item:nth-child(1) {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.lak-gallery-item:nth-child(2) {
    grid-column: 5 / 9;
    grid-row: 1 / 4;
}

.lak-gallery-item:nth-child(3) {
    grid-column: 9 / 13;
    grid-row: 1 / 3;
}

.lak-gallery-item:nth-child(4) {
    grid-column: 1 / 5;
    grid-row: 3 / 6;
}

.lak-gallery-item:nth-child(5) {
    grid-column: 5 / 9;
    grid-row: 4 / 7;
}

.lak-gallery-item:nth-child(6) {
    grid-column: 9 / 13;
    grid-row: 3 / 5;
}

.lak-gallery-item:nth-child(7) {
    grid-column: 1 / 5;
    grid-row: 6 / 8;
}

.lak-gallery-item:nth-child(8) {
    grid-column: 9 / 13;
    grid-row: 5 / 7;
}

.lak-gallery-item:nth-child(9) {
    grid-column: 5 / 9;
    grid-row: 7 / 9;
}

.lak-gallery-item:nth-child(10) {
    grid-column: 1 / 5;
    grid-row: 8 / 9;
}

.lak-gallery-item:nth-child(11) {
    grid-column: 9 / 13;
    grid-row: 7 / 9;
}

.lak-gallery-item:nth-child(12) {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
}

.lak-gallery-item:nth-child(13) {
    grid-column: 7 / 9;
    grid-row: 1 / 2;
}

/* Founder Section */
.lak-founder-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(to right, #1a365d, #2a4a7f);
    overflow: hidden;
    position: relative;
}

.lak-founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,224C672,235,768,181,864,160C960,139,1056,149,1152,160C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1348,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.lak-founder-image {
    flex: 1;
    min-width: 300px;
    height: 759px; /* Reduced height */
    position: relative;
    border-radius: 50%;
    
}

.lak-founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lak-founder-content {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: white;
    position: relative;
}

.lak-founder-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.lak-founder-content h3 {
    font-size: 1.3rem;
    color: #3498db;
    margin-bottom: 30px;
    font-weight: 500;
}

.lak-founder-content p {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 0.9rem;
}

.lak-signature {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a365d;
    margin-top: 30px;
    font-style: italic;
}

/* Values Section */
.lak-values-section {
    padding: 80px 5%;
    background: linear-gradient(to right, #1a365d, #2a4a7f);
    position: relative;
    overflow: hidden;
}

.lak-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,160L48,176C96,192,192,224,288,218.7C384,213,480,171,576,144C672,117,768,107,864,122.7C960,139,1056,181,1152,192C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1348,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.lak-values-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
    position: relative;
}

.lak-values-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.lak-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.lak-value-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.lak-value-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.lak-value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.lak-value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.lak-value-card p {
    color: #e0e0e0;
    font-size: 1.05rem;
}

/* Culture Section */
.lak-culture-section {
    padding: 80px 5%;
    background: white; /* Changed to white background */
    position: relative;
}

.lak-culture-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.lak-culture-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #1a365d; /* Changed to dark color */
}

.lak-culture-content > p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #2c3e50; /* Changed to dark color */
}

.lak-culture-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.lak-culture-point {
    background: #f8f9fa; /* Light background */
    padding: 35px 30px;
    border-radius: 16px;
    border-left: 5px solid #3498db;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.lak-culture-point:hover {
    transform: translateY(-8px);
    background: #e9ecef; /* Slightly darker on hover */
}

.lak-culture-point h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lak-culture-point h3 i {
    margin-right: 10px;
    font-size: 1.6rem;
}

.lak-culture-point p {
    color: #2c3e50; /* Dark text color */
}

/* Timeline Section */
.lak-timeline-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 50%, #1a365d 100%);
    position: relative;
    overflow: hidden;
}

.lak-timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,224C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1348,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.lak-timeline-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
    position: relative;
}

.lak-timeline-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.lak-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.lak-timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
    border-radius: 3px;
}

.lak-timeline-item {
    width: 50%;
    padding: 20px 40px;
    position: relative;
}

.lak-timeline-item:nth-child(odd) {
    left: 0;
}

.lak-timeline-item:nth-child(even) {
    left: 50%;
}

.lak-timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.lak-timeline-content h3 {
    color: #2ecc71;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.lak-timeline-content p {
    font-size: 1.05rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .lak-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lak-gallery-grid {
        grid-template-rows: repeat(8, 100px);
    }
}

@media (max-width: 900px) {
    .lak-section-header h1 {
        font-size: 3.2rem;
    }
    
    .lak-timeline:before {
        left: 30px;
    }
    
    .lak-timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .lak-timeline-item:nth-child(even) {
        left: 0;
    }
    
    .lak-gallery-grid {
        grid-template-rows: repeat(8, 80px);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .lak-gallery-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .lak-gallery-item {
        width: calc(50% - 10px);
        height: 200px;
        margin-bottom: 10px;
    }
    
    .lak-founder-section {
        flex-direction: column;
    }
    
    .lak-founder-image {
        width: 100%;
        height: 700px;
    }
    
    .lak-section-header {
        padding: 60px 20px;
    }
    
    .lak-section-header h1 {
        font-size: 2.8rem;
    }
    
    .lak-culture-section,
    .lak-timeline-section,
    .lak-values-section,
    .lak-gallery-container {
        padding: 60px 20px;
    }
    
    .lak-values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .lak-gallery-item {
        width: 100%;
        height: 250px;
    }
    
    .lak-section-header h1 {
        font-size: 2.4rem;
    }
    
    .lak-founder-content h2 {
        font-size: 2.2rem;
    }
    
    .lak-culture-points {
        grid-template-columns: 1fr;
    }
    
    .lak-founder-content {
        padding: 30px;
    }
    
    .lak-value-card, .lak-culture-point {
        padding: 25px 20px;
    }
}

/* Ultra-wide screen adjustments */
@media (min-width: 2000px) {
    .life-at-kshivanya {
        max-width: 10000px;
        margin: 0 auto;
    }


    
    .lak-gallery-grid {
        grid-template-rows: repeat(8, 150px);
    }
}

/* Mobile-specific fixes for effects */
@media (max-width: 767px) {
  /* Enable hardware acceleration for smoother animations */
  .advantage-block,
  .pillar,
  .value-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  /* Ensure touch-friendly interactions */
  .advantage-block,
  .pillar-content,
  .value-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  /* Optimize animations for mobile */
  .shine-effect,
  .particles,
  .floating-accent {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Reduce animation intensity on mobile for better performance */
  .particles::before,
  .particles::after {
    animation-duration: 3s !important;
  }
  
  .floating-accent {
    animation-duration: 5s !important;
  }
}

/* Very small screen adjustments */
@media (max-width: 400px) {
    .lak-section-header h1 {
        font-size: 2rem;
    }
    
    .lak-gallery-item {
        height: 200px;
    }
}