.card {
    background: #fff;
    border-radius: 20px;
    padding: 0px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 50px; 
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-image img {
    width: 90px; 
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.card:hover .card-image img {
    transform: scale(1.1);
}

.name-profession .name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.date {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 15px;
    gap: 5px;
}

.button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 50px; 
}
.button button {
    background: #72af22;
    border: none;
    color: #fff;
    padding: 7px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
}
.button button:hover {
    background: #2882C5;
}



.swiper-pagination {
    margin-top: 90px; 
    display: flex;
    justify-content: center;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d0da33;
    opacity: 0.7;
    margin: 0 6px !important;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}


@media (max-width: 768px) {
    .card-image img { width: 80px; height: 80px; }
    .name-profession .name { font-size: 16px; }
    .date { font-size: 12px; }
    .button button { font-size: 12px; padding: 6px 18px; }
}
/* Container */
.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Layout */
.features-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.col-left {
    flex: 1;
}

.col-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.featureImage {
    max-width: 125%;
    height: auto;
    border-radius: 15px;
}

/* Features Row */
.featuresRow {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.featureItem {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ebfbed;
}

.featureItem:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.featureIcon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.featureTitle {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
}

.featureDescription {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Section Title */
.sectionTitle {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
}

.sectionText {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .features-main {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .featuresRow {
        flex-direction: column;
        gap: 20px;
    }

    .featureItem {
        width: 100%;
    }

    .sectionTitle {
        font-size: 24px;
        text-align: center;
    }

    .sectionText {
        text-align: center;
        font-size: 15px;
    }

    .col-right {
        justify-content: center;
    }
}
/* Call to Action */
.cta-section {
    background: linear-gradient(266deg, rgb(26 114 123), #fafbeb); 
    padding: 40px 20px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.cta-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.5;
    color: #fff;
}

.cta-link {
    display: inline-block;
    background: #fff;
    color: #005461;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background: #e0f7f7;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 30px 15px;
    }
    .cta-section h3 {
        font-size: 18px;
    }
    .cta-link {
        padding: 8px 20px;
        font-size: 14px;
    }
}
/* Container */
.statistics-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Counter layout */
.counter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.counter-cell {
    flex: 1 1 180px; 
    max-width: 220px;
    background: #ffffff;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Counter Image */
.counter-img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

/* Counter Value */
.counter-value {
    font-size: 28px;
    font-weight: bold;
    color: #27AFBA;
    margin-bottom: 10px;
}

/* Counter Info */
.counter-info {
    font-size: 14px;
    color: #555;
}

/* Mark styling */
.counter-info mark {
    background: #fafbeb;
    padding: 2px 8px;
    border-radius: 5px;
    color: #005461;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .counter {
        flex-direction: column;
        align-items: center;
    }
    .counter-cell {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }
}
.trainers-section {
  padding: 80px 0;
  background: #f8fafa;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #005461;
}

/* Card */
.trainer-card {
  background: #fcfdf3;
  border-radius: 20px;
  padding: 20px 0px 35px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.trainer-card:hover {
  transform: translateY(-8px);
}

.trainer-img {
  width: 140px;
  height: 140px;
  background: #27AFBA;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trainer-img img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
}

.trainer-card h3 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.trainer-card span {
  font-size: 14px;
  color: #666;
}

/* Contact */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.contact-info a {
  width: 40px;
  height: 40px;
  background: #72af22;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.contact-info a:hover {
  background: #005461;
}

/* Pagination spacing */
.trainers-swiper .swiper-pagination {
  position: relative;
  margin-top: 30px;
}

.trainers-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d0da33;
  opacity: 0.4;
}

.trainers-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #005461;
}
@media (max-width: 768px) {
  .trainer-card h3,
  .trainer-name {
    text-align: center !important;
  }
}


.Reviews_section {
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9ff;
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.Reviews_section h2 {
    text-align: center;
    color: #005461;
    font-size: 2.2rem;
    margin-bottom: 40px;
}


.Reviews_box {
    position: relative;
    width: 100%;
    max-width: 950px;
    height: 219px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    padding: 20px;
}


.slidebar {
    width: 50px;
    height: 100%;
    background-color: #358388171;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-radius: 0 15px 15px 0;
}

.slidebar svg {
    cursor: pointer;
    width: 20px;
    height: 20px;
    fill: #fff;
    transition: transform 0.3s, scale 0.3s;
}

.slidebar svg:hover {
    transform: scale(1.2);
}


#slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: top 0.5s ease;
}

.card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    margin-bottom: 0px; 
    padding: 10px 20px 20px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 219px; 
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.profile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.profile img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
    border: 3px solid #005461;
}

.profile h3 {
    color: #005461;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.profile p {
    color: #777;
    font-size: 0.95rem;
    margin: 0;
}

.card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 0 10px;
}

::selection {
    color: #fff;
    background-color: #005461;
}

.hero-image {
    max-width: 533px;  
    width: 100%;        
    height: auto;
    display: block;
    margin: 20px auto;
}


.center {
    text-align: center;
}
body { font-family: 'Cairo', sans-serif; direction: rtl; background: #f7fafc; }

/* =====================
   HERO
===================== */
/* HERO IMAGE */
.hero img {
    max-width: 300px; 
    width: 80%;        
    height: auto;
    display: block;
    margin: 20px auto 0 auto;
}


.hero {
  background: linear-gradient(135deg,#014f54,#27AFBA);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 { font-size: 36px; margin-bottom: 10px; }
.hero p { font-size: 16px; opacity: 0.9; }

/* =====================
   BREADCRUMB
===================== */
.breadcrumbs {
  background: #fff;
  padding: 14px 20px;
  font-size: 14px;
  margin-bottom: 30px;
}
.breadcrumbs a { color: #2882C5; text-decoration: none; }
.breadcrumbs span { margin: 0 6px; color: #aaa; }

/* =====================
   MAIN CONTENT
===================== */
.section { max-width: 1100px; margin: auto; padding: 0 20px; }
.section img.center {
  display: block;
  margin: 20px auto;
  width: 35%;
  max-width: 200px;
}

/* =====================
   TABS
===================== */
.tab {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tab button {
  background-color: #e0f0f3;
  border: none;
  outline: none;
  cursor: pointer;
  margin: 5px;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  transition: 0.3s;
}
.tab button:hover { background-color: #0054611e; }
.tab button.active { background-color: #005461; color: #fff; }

.tabcontent {
  display: none;
  background-color: #fff;
  padding: 20px 30px;
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.tabcontent img { display: block; margin: 0 auto 15px;  }
.tabcontent p { font-size: 16px; color: #005461; line-height: 1.8; }

/* =====================
   MOBILE
===================== */
@media (max-width:768px){ .hero h1{ font-size:28px;} .tab button{font-size:14px; padding:10px 14px;} }
/* =====================
   GLOBAL
===================== */
* {
  box-sizing: border-box;
}
body {
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  background: #f8fafc;
}

/* =====================
   HERO
===================== */
.blog-hero {
  color: #fff;
background: linear-gradient(38deg,#ffffff, #a1cac8);  padding: 90px 20px;
  text-align: center;
}
.blog-hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
}
.blog-hero p {
  font-size: 16px;
  opacity: .9;
}

/* =====================
   FILTERS
===================== */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 50px 0 30px;
  flex-wrap: wrap;
}
.blog-filters button {
  padding: 10px 26px;
  border-radius: 30px;
  border: none;
  background: #e5e7eb;
  cursor: pointer;
  font-size: 14px;
  transition: .3s;
}
.blog-filters button.active,
.blog-filters button:hover {
  background: #27AFBA;
  color: #fff;
}

/* =====================
   GRID
===================== */
.blog-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* =====================
   CARD
===================== */
.blog-card {
  background: #fcfdf3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  transition: .3s;
}
.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.blog-content {
  padding: 22px;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 12px;
  margin-bottom: 12px;
}
.badge.article {
  background: #e0f2fe;
  color: #0277bd;
}
.badge.news {
  background: #dcfce7;
  color: #166534;
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #014f54;
}
.blog-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}
.blog-content a {
  color: #27AFBA;
  font-weight: bold;
  text-decoration: none;
}
.blog-content a:hover {
  text-decoration: underline;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
  .blog-hero h1 { font-size: 30px; }
}
.container form {
            padding: 30px 0 0 0;
        }

        .container form .form-row {
            display: flex;
        }

        form .form-row .input-data {
            width: 100%;
            height: 40px;
            margin: 32px 0;
            position: relative;
        }

        form .form-row .textarea {
            height: 70px;
        }

        .input-data input,
        .textarea textarea {
            display: block;
            width: 100%;
            height: 100%;
            border: none;
            outline: none;
            font-size: 17px;
            border-bottom: 2px solid rgba(0, 0, 0, 0.12);
        }

        .input-data input:focus~label,
        .textarea textarea:focus~label,
        .input-data input:valid~label,
        .textarea textarea:valid~label {
            transform: translateY(-20px);
            font-size: 14px;
            color: #74B02E;
        }

        .textarea textarea {
            resize: none;
            padding-top: 10px;
        }

        .input-data label {
            position: absolute;
            pointer-events: none;
            bottom: 10px;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .textarea label {
            width: 100%;
            bottom: 40px;
        }

        .input-data .underline {
            position: absolute;
            bottom: 0;
            height: 2px;
            width: 100%;
        }

        .input-data .underline:before {
            position: absolute;
            content: "";
            height: 2px;
            width: 100%;
            background: #74B02E;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.3s ease;
        }

        .input-data input:focus~.underline:before,
        .input-data input:valid~.underline:before,
        .textarea textarea:focus~.underline:before,
        .textarea textarea:valid~.underline:before {
            transform: scale(1);
        }

        .submit-btn .input-data {
            overflow: hidden;
            height: 45px !important;
            width: 25% !important;
        }

        .submit-btn .input-data .inner {
            border-radius: 32px;
            width: 100px;
            position: absolute;

            display: inline-block;
            padding: 1.375rem 2.25rem 1.375rem 2.25rem;
            border: 1px solid #005461;

            background-color: #005461;
            color: #ffffff;
            font-weight: 600;
            font-size: 0.875rem;
            line-height: 0;
            text-decoration: none;
            transition: all 0.2s;
        }

        .submit-btn .input-data:hover .inner {
            left: 0;
        }

        .submit-btn .input-data input {
            background: none;
            border: none;
            color: #fff;
            font-size: 17px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            position: relative;
            z-index: 2;
        }

        @media (max-width: 700px) {
            .container .text {
                font-size: 18px;
            }

            .container form {
                padding: 10px 0 0 0;
            }

            .container form .form-row {
                display: block;
            }

            form .form-row .input-data {
                margin: 35px 0 !important;
            }

            .submit-btn .input-data {
                width: 40% !important;
            }
        }
        

/* ====== Container ====== */
.goals-container {
    margin: 0 auto;
    padding: 50px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* ====== Section Title ====== */
.section-title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: #005461;
    margin-bottom: 40px;
}

.tab {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab button {
    background-color: #f0f0f0;
    border: none;
    outline: none;
    padding: 10px 25px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    color: #333;
}

.tab button:hover, .tab button.active {
    background-color: #27afba;
    color: #fff;
}

.tabcontent {
    display: none;
    text-align: right;
    line-height: 1.8;
}

.tabcontent h4 {
    font-weight: bold;
    color: #27afba;
    margin-bottom: 15px;
}

.tabcontent p {
    margin-bottom: 15px;
}

.tabcontent ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.tabcontent img.tab-icon {
    display: block;
    margin: 20px auto;
    
}

@media (max-width: 768px) {
    .tab {
        flex-direction: column;
        align-items: center;
    }
    .tab button {
        width: 80%;
    }
}
.goals-container {
    margin-top: 80px;
    margin-bottom: 80px;
    text-align: center;
}

.goals-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.goals-tabs button {
    padding: 10px 28px;
    border-radius: 30px;
    border: none;
    background: #f2f2f2;
    cursor: pointer;
    font-weight: 600;
    transition: all .3s ease;
}

.goals-tabs button.active {
    background: linear-gradient(90deg,#27afba,#a0c376);
    color: #fff;
}

.tabcontent {
    display: none;
}

.tabcontent.active {
    display: block;
}

.section-subtitle {
    color: #1f6f8b;
    margin-bottom: 30px;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1200px) {
  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .goals-grid {
    grid-template-columns: 1fr;
  }
}


.goal-card,
.single-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: transform .3s ease;
}

.goal-card:hover,
.single-card:hover {
    transform: translateY(-6px);
}

.goal-card img,
.single-card img {
    margin: 0 auto 15px;
}

.goal-card h5 {
    margin-bottom: 10px;
    color: #0b7285;
}

.single-card {
    max-width: 700px;
    margin: auto;
}

.goal-card.full-width {
  grid-column: 1 / -1; 
  text-align: center;
  padding: 40px;
}

.goal-card.full-width p {
  max-width: 900px;
  margin: auto;
  line-height: 2.1;
}
.lamp-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px; 
}

.main-img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
}

.lamp-glow {
    position: absolute;
    width: 25%;  
    height: 22%; 
    background: linear-gradient(to bottom, 
                rgba(208, 218, 51, 0.9) 0%, 
                rgba(208, 218, 51, 0.3) 60%, 
                transparent 100%);
    clip-path: polygon(42% 0%, 58% 0%, 100% 100%, 0% 100%);
    filter: blur(12px);
    z-index: 11;
    pointer-events: none;
    transform-origin: top center;
    animation: realisticLamp 5s infinite;
}

.lamp-right {
    top: 42.9%;
    right: 1.2%; 
}

.lamp-left {
    top: 42.9%;
    left: 1.3%;
}

.cloud {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

@keyframes cloudFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-15px) translateX(15px); }
}

@media (min-width: 992px) {
    .cloud-1 { width: 220px; top: 15%; left: 5%; animation: cloudFloat 10s infinite; }
    .cloud-2 { width: 180px; top: 35%; left: 2%; opacity: 0.5; animation: cloudFloat 15s infinite reverse; }
    .cloud-front { width: 35%; top: 10%; left: 15%; z-index: 12; animation: cloudFloat 12s infinite; }
}

@media (max-width: 767px) {
    .lamp-glow { filter: blur(8px); }
    .cloud-1 { width: 100px; top: 5%; left: 5%; }
    .cloud-2 { width: 80px; top: 15%; right: 5%; left: auto; opacity: 0.4; }
    .cloud-front { width: 45%; top: 5%; left: 10%; }
}

@keyframes realisticLamp {
    0%, 20%, 40%, 60%, 80%, 100% { opacity: 0.6; transform: scaleY(1); filter: blur(12px) brightness(1); }
    21%, 23% { opacity: 0.3; filter: blur(12px) brightness(0.5); }
    22% { opacity: 0.8; filter: blur(10px) brightness(1.4); }
    50% { opacity: 0.7; transform: scaleY(1.05); filter: blur(14px) brightness(1.1); }
}

.desk-light {
    position: absolute;
    width: 60%;
    height: 15%;
    background: rgba(208, 218, 51, 0.2);
    filter: blur(25px);
    border-radius: 50%;
    z-index: 9;
    bottom: 12%;
    left: 20%;
}
.cloud {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

@media (min-width: 992px) {
    .cloud-1 {
        width: 180px;
        top: 20%;
        left: 5%;
        animation: cloudFloat 8s ease-in-out infinite;
    }
    .cloud-2 {
        width: 160px;
        top: 40%;
        left: 2%;
        opacity: 0.6;
        animation: cloudFloat 12s ease-in-out infinite reverse;
    }
    .cloud-front {
        width: 200px;
        top: 15%;
        left: 20%;
        z-index: 12;
        animation: cloudFloat 11s ease-in-out infinite;
    }
}

@media (max-width: 767px) {
    .clouds-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    .cloud-1 {
        width: 100px; 
        top: 5%;     
        left: 5%;
        animation: cloudFloat 10s ease-in-out infinite;
    }

    .cloud-2 {
        width: 80px;
        top: 15%;
        right: 5%;    
        left: auto;
        opacity: 0.5;
        animation: cloudFloat 14s ease-in-out infinite reverse;
    }

    .cloud-front {
        width: 120px;
        top: 55%;    
        left: 10%;
        z-index: 12;
        animation: cloudFloat 9s ease-in-out infinite;
    }
}

@keyframes cloudFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(10px); }
}
.lamp-container {
    position: relative;
    display: inline-block;
     top: -52px;
}

.main-img {
    position: relative;
    z-index: 1;
    display: block;
}

.analog-clock {
    position: absolute;
    top: 26.8%;
    right: 61.3%;
    width: 12%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #9ac1cd00;
    z-index: 40; 
    border: 1px solid #87a8bf00;
    opacity: 0;
    animation: fadeInComponent 1s forwards 2s;
}

.c-hand { position: absolute; bottom: 50%; left: 50%; transform-origin: bottom center; background: #333; }
.c-hour { width: 2px; height: 25%; animation: clockSpin 3600s linear infinite 2s; }
.c-min  { width: 1.5px; height: 35%; animation: clockSpin 60s linear infinite 2s; }
.c-sec  { width: 1px; height: 40%; background: #e74c3c; animation: clockSpin 10s linear infinite 2s; }
.c-dot  { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; background: #333; border-radius: 50%; }

.main-colored-bars {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 30;
}

.m-bar {
    position: absolute;
    bottom: 51%;
    width: 2.1%;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: barContinuousCycle 6s infinite ease-in-out;
}

.mb1 { animation-delay: 0.0s; }
.mb2 { animation-delay: 1.0s; }
.mb3 { animation-delay: 2.0s; }
.mb4 { animation-delay: 3.0s; }
.mb5 { animation-delay: 4.0s; }
.mb6 { animation-delay: 5.0s; }

@keyframes barContinuousCycle {
    0%, 100% { transform: scaleY(0); filter: brightness(1); }
    10% { transform: scaleY(1); filter: brightness(1); }
    30%, 70% { transform: scaleY(1); filter: brightness(1.3); }
    90% { transform: scaleY(0); filter: brightness(1); }
}

.independent-thin-bars {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 35;
}

.t-glow {
    position: absolute;
    opacity: 0;
    animation: barGlimmerEffect 2.s infinite ease-in-out;
}

.tg1 { animation-delay: 4.0s; } .tg2 { animation-delay: 4.2s; }
.tg3 { animation-delay: 4.4s; } .tg4 { animation-delay: 4.6s; }
.tg5 { animation-delay: 4.8s; } .tg6 { animation-delay: 5.0s; }
.tg7 { animation-delay: 5.2s; } .tg8 { animation-delay: 5.4s; }

@keyframes barGlimmerEffect { 
    0%, 100% { opacity: 0; filter: brightness(1); } 
    50% { opacity: 1; filter: brightness(1.4); } 
}

.tea-steam {
    position: absolute;
    top: 51%; left: 66%; width: 40px; height: 60px;
    z-index: 50;
}

.steam-leaf {
    position: absolute;
    bottom: 0; width: 4px; height: 18px; 
    background: #ffffff;
    border-radius: 42%;
    opacity: 0;
    filter: blur(2.5px);
    animation: clearSteam 2.5s infinite;
}

.s1 { left: 5px; animation-delay: 4.0s; }
.s2 { left: 14px; animation-delay: 3.8s; }
.s3 { left: 0px; animation-delay: 5.6s; }

@keyframes clearSteam {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    40% { opacity: 0.85; }
    100% { transform: translateY(-50px) scale(3); opacity: 0; }
}

.lamp-glow {
    position: absolute;
    width: 25%;
    height: 22%;
    background: linear-gradient(to bottom, 
                rgba(208, 218, 51, 0.9) 0%, 
                rgba(208, 218, 51, 0.3) 60%, 
                transparent 100%);
    clip-path: polygon(42% 0%, 58% 0%, 100% 100%, 0% 100%);
    filter: blur(12px);
    z-index: 11; 
    pointer-events: none;
    transform-origin: top center;
    opacity: 0;
    animation: realisticLamp 4s infinite ease-in-out 3s; 
}

.lamp-right { top: 43.4%; right: 1.2%; }
.lamp-left { top: 43.4%; left: 1.3%; }

@keyframes realisticLamp {
    0% { opacity: 0; transform: scale(0.95); }
    10% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); filter: blur(10px); }
    100% { opacity: 0.8; transform: scale(1); }
}

@keyframes fadeInComponent { to { opacity: 1; } }
@keyframes clockSpin { to { transform: rotate(360deg); } }

.desk-light {
    position: absolute;
    bottom: 15%; right: 20%; width: 60%; height: 20px;
    opacity: 0.2; background: rgba(208, 218, 51, 0.4);
    filter: blur(20px); z-index: 5;
}