.elementor-element-346a6bee{position:relative}
.elementor-element-346a6bee img{opacity:0!important}
.elementor-element-346a6bee::before{content:"";position:absolute;inset:0;border-radius:20px;box-shadow:0 24px 50px rgba(60,40,10,.22);background:#f3e7d3 url(https://germanstudio.in/wp-content/uploads/gs-hero/s01.jpg) center/cover no-repeat;animation:gsHeroBg 60s infinite;z-index:1}
.elementor-element-346a6bee::after{content:"Graduate in Germany";position:absolute;left:18px;right:18px;bottom:18px;z-index:2;background:rgba(255,255,255,.95) linear-gradient(#000 0 33.3%,#dd0000 33.3% 66.6%,#ffce00 66.6%) 14px 50%/22px 15px no-repeat;border-radius:12px;padding:11px 14px 11px 46px;font-weight:600;font-size:15px;line-height:1.3;color:#1d1f24;box-shadow:0 8px 20px rgba(0,0,0,.12);animation:gsHeroCap 60s infinite}
@keyframes gsHeroBg{
  0.00%,6.83%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s01.jpg)}
  8.33%,15.17%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s02.jpg)}
  16.67%,23.50%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s03.jpg)}
  25.00%,31.83%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s11.jpg)}
  33.33%,40.17%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s05.jpg)}
  41.67%,48.50%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s06.jpg)}
  50.00%,56.83%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s07.jpg)}
  58.33%,65.17%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s04.jpg)}
  66.67%,73.50%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s08.jpg)}
  75.00%,81.83%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s12.jpg)}
  83.33%,90.17%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s09.jpg)}
  91.67%,98.50%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s10.jpg)}
  100%{background-image:url(https://germanstudio.in/wp-content/uploads/gs-hero/s01.jpg)}
}
@keyframes gsHeroCap{
  0.00%,8.32%{content:"Graduate in Germany"}
  8.33%,16.66%{content:"Study in historic Heidelberg"}
  16.67%,24.99%{content:"Study at top German universities"}
  25.00%,33.32%{content:"Student life on campus"}
  33.33%,41.66%{content:"Build your career in Germany"}
  41.67%,49.99%{content:"Live in Munich"}
  50.00%,58.32%{content:"Explore your new German city"}
  58.33%,66.66%{content:"World-class university libraries"}
  66.67%,74.99%{content:"Work in Hamburg"}
  75.00%,83.32%{content:"Evening walk in Munich"}
  83.33%,91.66%{content:"Berlin is waiting for you"}
  91.67%,99.99%{content:"Brandenburg Gate, Berlin"}
}
@media (prefers-reduced-motion:reduce){.elementor-element-346a6bee::before,.elementor-element-346a6bee::after{animation:none}}

/* Services section photo: rotate German Studio photos */
.sv-img{position:relative}
.sv-img::after{content:"";position:absolute;inset:0;background:#eee url(https://germanstudio.in/wp-content/uploads/2026/06/20240221_162721-scaled.jpg) center/cover no-repeat;animation:gsSv 18s infinite;pointer-events:none}
@keyframes gsSv{
  0%,28%{background-image:url(https://germanstudio.in/wp-content/uploads/2026/06/20240221_162721-scaled.jpg)}
  33%,61%{background-image:url(https://germanstudio.in/wp-content/uploads/2026/06/20240215_141526-scaled.jpg)}
  66%,94%{background-image:url(https://germanstudio.in/wp-content/uploads/2026/06/20240215_145121-scaled.jpg)}
  100%{background-image:url(https://germanstudio.in/wp-content/uploads/2026/06/20240221_162721-scaled.jpg)}
}
@media (prefers-reduced-motion:reduce){.sv-img::after{animation:none}}
/* 2 Dec 2026: services photo rotator (168 photos) */
.sv-img.gs-js::after{display:none}
.sv-img .gs-rot{position:absolute;inset:0;background:#eee center/cover no-repeat;opacity:0;transition:opacity 1.2s ease;pointer-events:none;z-index:1}
.sv-img .gs-rot.on{opacity:1}
