/* ============================================
   IMPORTS & RESET
   ============================================ */

   @import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@300;400;700&display=swap");

   * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
   }
   
   html {
     scroll-behavior: smooth;
   }
   
   body {
     font-family: "Lato", sans-serif;
     background-color: var(--background-light);
     color: var(--text-color);
     line-height: 1.6;
   }
   
   /* ============================================
      COLOR VARIABLES
      ============================================ */
   
   :root {
     --primary-color: #616e5f;      /* Darkest, for text, primary buttons, main accents */
     --secondary-color: #92a07f;    /* Secondary accent, links, hover states */
     --light-accent: #d9d3bf;       /* Light accent, borders, subtle highlights */
     --background-light: #f7f4f0;   /* Lightest background */
     --background-medium: #f1e7d5;  /* Medium background, sections */
     --text-color: #1a1a1a;         /* Near black for contrast */
     --border-color: #d9d3bf;
   }
   
   /* ============================================
      TOP HEADER BAR
      ============================================ */
   
   .top-header {
     background-color: var(--primary-color);
     color: white;
     padding: 12px 30px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-size: 0.9rem;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   }
   
   .top-header-left {
     display: flex;
     align-items: center;
     gap: 15px;
   }
   
   .top-header-right {
     display: flex;
     align-items: center;
     gap: 15px;
   }
   
   .header-link {
     color: white;
     text-decoration: none;
     transition: opacity 0.3s ease;
   }
   
   .header-link:hover {
     opacity: 0.8;
   }
   
   .separator {
     color: rgba(255, 255, 255, 0.5);
   }
   
   .language-selector {
     background-color: transparent;
     color: white;
     border: 1px solid rgba(255, 255, 255, 0.3);
     padding: 5px 10px;
     border-radius: 4px;
     cursor: pointer;
     font-size: 0.9rem;
     transition: all 0.3s ease;
   }
   
   .language-selector:hover {
     border-color: white;
   }
   
   .language-selector option {
     background-color: var(--primary-color);
     color: white;
   }
   
   .social-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 35px;
     height: 35px;
     background-color: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.3);
     border-radius: 50%;
     color: white;
     text-decoration: none;
     font-size: 1rem;
     transition: all 0.3s ease;
   }
   
   .social-btn:hover {
     background-color: var(--secondary-color);
     border-color: var(--secondary-color);
     color: var(--primary-color);
   }
   
   .fb-btn {
     background-color: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.3);
   }
   
   .instagram-btn {
     background-color: transparent;
     border: 2px solid rgba(255, 255, 255, 0.5);
   }
   
   .instagram-btn:hover {
     background-color: transparent;
     border-color: var(--secondary-color);
     color: var(--secondary-color);
   }
   
   .login-btn,
   .signup-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 8px 16px;
     background-color: transparent;
     border: 1px solid rgba(255, 255, 255, 0.3);
     border-radius: 5px;
     color: white;
     text-decoration: none;
     font-size: 0.9rem;
     font-weight: 500;
     transition: all 0.3s ease;
     margin-left: 10px;
   }
   
   .login-btn:hover,
   .signup-btn:hover {
     background-color: var(--secondary-color);
     border-color: var(--secondary-color);
     color: var(--primary-color);
   }
   
   .signup-btn {
     background-color: var(--secondary-color);
     border-color: var(--secondary-color);
     color: var(--primary-color);
   }
   
   .signup-btn:hover {
     background-color: transparent;
     border-color: var(--secondary-color);
     color: var(--secondary-color);
   }
   
   /* ============================================
      NAVIGATION BAR
      ============================================ */
   
   .navbar {
     background-color: white;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     position: sticky;
     top: 0;
     z-index: 100;
   }
   
   .navbar-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 12px 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
   }
   
   .navbar-logo {
     display: flex;
     align-items: center;
     text-decoration: none;
     transition: opacity 0.3s ease;
   }
   
   .navbar-logo img {
     width: 120px;
     height: 60px;
     border-radius: 8px;
     object-fit: cover;
     transition: transform 0.3s ease;
   }
   
   .navbar-logo:hover img {
     transform: scale(1.05);
   }
   
   .navbar-menu {
     display: flex;
     gap: 30px;
     list-style: none;
   }
   
   .nav-link {
     color: var(--primary-color);
     text-decoration: none;
     font-weight: 500;
     font-size: 0.95rem;
     transition: all 0.3s ease;
     position: relative;
   }
   
   .nav-link:hover {
     color: var(--secondary-color);
   }
   
   .nav-link::after {
     content: "";
     position: absolute;
     bottom: -5px;
     left: 0;
     width: 0;
     height: 2px;
     background-color: var(--secondary-color);
     transition: width 0.3s ease;
   }
   
   .nav-link:hover::after {
     width: 100%;
   }
   
   .menu-toggle {
     display: none;
     background: none;
     border: none;
     font-size: 1.5rem;
     cursor: pointer;
     color: var(--primary-color);
   }
   
   /* ============================================
      HERO SECTION - NEW DESIGN
      ============================================ */
   
   .hero-section {
     position: relative;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: flex-start;
     min-height: 100vh;
     padding-top: 100px;
     overflow: hidden;
  background-color: #f7f4f0;
   }
   
   .hero-content-wrapper {
     position: relative;
     width: 100%;
     min-height: 600px;
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 1;
   }
   
   .hero-title {
     position: absolute;
     left: 10%;
     top: 50%;
     transform: translateY(-50%);
     font-family: "Playfair Display", serif;
     font-size: 3.5rem;
     color: var(--primary-color);
     max-width: 40%;
     z-index: 10;
     opacity: 0;
     animation: slideInFromLeft 1.2s ease-out 0.3s forwards;
   }
   
   @keyframes slideInFromLeft {
     0% {
       opacity: 0;
       transform: translateY(-50%) translateX(-100px);
     }
     100% {
       opacity: 1;
       transform: translateY(-50%) translateX(0);
     }
   }
   
   .hero-image {
     position: absolute;
     right: 0;
     bottom: 0;
     height: 100%;
     width: 55%;
     object-fit: cover;
     z-index: 5;
     opacity: 0;
     animation: fadeIn 1s ease-out 0.5s forwards;
     border: 3px solid var(--secondary-color);
     border-radius: 5px;
     box-shadow: 0 8px 30px rgba(74, 95, 74, 0.2);
   }
   
   @keyframes fadeIn {
     0% {
       opacity: 0;
     }
     100% {
       opacity: 1;
     }
   }
   
   /* OLD tile container - hidden */
   .tile-container {
     display: none !important;
   }
   
   .tile {
     width: 160px;
     height: 280px;
     cursor: pointer;
     display: inline-block;
   }
   
   .tile-1 {
     background: var(--background-medium);
     border: 2px solid var(--light-accent);
   }
   
   .tile-2 {
     background: var(--background-medium);
     border: 2px solid var(--secondary-color);
   }
   
   .tile-3 {
     background: var(--background-medium);
     border: 2px solid var(--primary-color);
   }
   
   .tile-4 {
     background: var(--background-medium);
     border: 2px solid var(--light-accent);
   }
   
   .tile-5 {
     background: var(--background-medium);
     border: 2px solid var(--secondary-color);
   }
   
   /* Hero responsiveness */
   
   @media (max-width: 1024px) {
     .hero-title {
       font-size: 2.5rem;
       max-width: 50%;
       left: 5%;
     }
     .hero-image {
       height: 80%;
       width: 50%;
     }
   }
   
   @media (max-width: 768px) {
     .hero-section {
       min-height: auto;
       padding-top: 80px;
     }
     .hero-content-wrapper {
       min-height: 450px;
       flex-direction: column;
       justify-content: flex-start;
       align-items: center;
     }
     .hero-title {
       position: relative;
       top: auto;
       left: auto;
       transform: none;
       font-size: 2rem;
       text-align: center;
       max-width: 90%;
       margin-top: 20px;
       margin-bottom: 20px;
       opacity: 1;
       animation: none;
     }
     .hero-image {
       position: relative;
       height: auto;
       width: 90%;
       max-width: 500px;
       margin-top: 20px;
       opacity: 1;
       animation: none;
       border-radius: 15px;
     }
     .tile-container {
       margin-top: 20px;
     }
   }
   
   /* ============================================
      PALETTES SECTION
      ============================================ */
   
   .palettes-section {
     background-color: var(--background-medium);
     padding: 80px 30px;
     position: relative;
     display: none;
   }
   
   .palettes-overlay {
     position: absolute;
     bottom: -100px;
     left: 50%;
     transform: translateX(-50%);
     width: 95%;
     max-width: 1400px;
     z-index: 50;
   }
   
   .palettes-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 30px;
     max-width: 1200px;
     margin: 0 auto;
   }
   
   .palette-card {
     background: transparent;
     backdrop-filter: blur(10px);
     border-radius: 15px;
     padding: 20px 15px;
     text-align: center;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: flex-start;
     gap: 12px;
     position: relative;
     animation: slideUp 0.6s ease-out forwards;
   }
   
   /* Tile-specific borders */
   
   .tile-1.palette-card {
     border: 2px solid var(--light-accent);
   }
   
   .tile-2.palette-card {
     border: 2px solid var(--secondary-color);
   }
   
   .tile-3.palette-card {
     border: 2px solid var(--primary-color);
   }
   
   .tile-4.palette-card {
     border: 2px solid var(--light-accent);
   }
   
   .tile-5.palette-card {
     border: 2px solid var(--secondary-color);
   }
   
   @keyframes slideUp {
     from {
       opacity: 0;
       transform: translateY(30px);
     }
     to {
       opacity: 1;
       transform: translateY(0);
     }
   }
   
   .palette-card:hover {
     transform: translateY(-10px) scale(1.05);
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
   }
   
   .palette-card:active,
   .palette-card:focus {
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
   }
   
   .palette-icon {
     width: 50px;
     height: 50px;
     margin-bottom: 10px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--secondary-color);
     stroke: var(--secondary-color);
     flex-shrink: 0;
   }
   
   .palette-icon svg {
     width: 100%;
     height: 100%;
     stroke-linecap: round;
     stroke-linejoin: round;
   }
   
   .tile-1 .palette-icon svg {
     stroke: #f4db33;
   }
   
   .tile-2 .palette-icon svg {
     stroke: #972ff8;
   }
   
   .tile-3 .palette-icon svg {
     stroke: #7dd6fe;
   }
   
   .tile-4 .palette-icon svg {
     stroke: #dc3c84;
   }
   
   .tile-5 .palette-icon svg {
     stroke: #f4db33;
   }
   
   .palette-title {
     font-family: "Playfair Display", serif;
     font-size: 1.3rem;
     color: var(--primary-color);
     margin-bottom: 8px;
     font-weight: 700;
     line-height: 1.2;
   }
   
   .palette-description {
     font-size: 0.85rem;
     color: #666;
     margin-bottom: 0;
     line-height: 1.4;
     flex-grow: 1;
   }
   
   .palette-btn {
     background-color: var(--secondary-color);
     color: white;
     border: none;
     padding: 10px 20px;
     border-radius: 8px;
     font-size: 0.8rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     margin-top: auto;
     width: 100%;
     max-width: 130px;
   }
   
   .palette-btn:hover {
     background-color: var(--primary-color);
     transform: scale(1.05);
   }
   
   /* ============================================
      ANIMATION HELPERS
      ============================================ */
   
   .animate-fade-in,
   .animate-slide-in-up {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
       transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   .animate-slide-in-left {
     opacity: 0;
     transform: translateX(-50px);
     transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
       transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   .animate-slide-in-right {
     opacity: 0;
     transform: translateX(50px);
     transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
       transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   .animate-float-up {
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
       transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   .animate-fade-in.visible,
   .animate-slide-in-up.visible,
   .animate-slide-in-left.visible,
   .animate-slide-in-right.visible,
   .animate-float-up.visible {
     opacity: 1;
     transform: translate(0, 0);
   }
   
   /* ============================================
      GENERAL SECTIONS
      ============================================ */
   
   .section {
     padding: 80px 30px;
     position: relative;
   }
   
   .container {
     max-width: 1200px;
     margin: 0 auto;
   }
   
   .section-title {
     font-family: "Playfair Display", serif;
     font-size: 2.5rem;
     color: var(--primary-color);
     margin-bottom: 10px;
     text-align: center;
   }
   
   .section-subtitle {
     font-size: 1.3rem;
     color: var(--secondary-color);
     text-align: center;
     margin-bottom: 40px;
     font-weight: 300;
   }
   
   .gold-bg {
     background-color: var(--secondary-color);
     color: white;
   }
   
   .gold-bg .section-title {
     color: white;
   }
   
   .gold-bg .section-subtitle {
     color: rgba(255, 255, 255, 0.9);
   }
   
   /* ============================================
      ABOUT SECTION
      ============================================ */
   
   .about-section {
     background-color: white;
   }
   
   .about-content {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 60px;
     align-items: center;
   }
   
   .about-text {
     font-size: 1.1rem;
     line-height: 1.8;
     color: #555;
   }
   
   .about-text p {
     margin-bottom: 20px;
   }
   
   .about-image {
     text-align: center;
   }
   
   .about-image img {
     width: 100%;
     max-width: 400px;
     border-radius: 15px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   }
   
   /* ============================================
      BUTTONS
      ============================================ */
   
   .btn {
     display: inline-block;
     padding: 12px 30px;
     border-radius: 8px;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
     cursor: pointer;
     border: none;
     font-size: 1rem;
   }
   
   .btn-primary {
     background-color: var(--secondary-color);
     color: white;
   }
   
   .btn-primary:hover {
     background-color: var(--primary-color);
     transform: translateY(-2px);
   }
   
   .btn-secondary {
     background-color: var(--primary-color);
     color: white;
   }
   
   .btn-secondary:hover {
     background-color: var(--secondary-green);
   }
   
   .btn-outline {
     border: 2px solid var(--primary-color);
     color: var(--primary-color);
     background-color: transparent;
   }
   
   .btn-outline:hover {
     background-color: var(--primary-color);
     color: white;
   }
   
   .btn-small {
     padding: 10px 20px;
     font-size: 0.9rem;
   }
   
   /* ============================================
      SERVICES SECTION (TABBED)
      ============================================ */
   
   .service-tabs {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 20px;
     margin-bottom: 50px;
   }
   
   .tab-btn {
     background: none;
     border: none;
     font-size: 1.2rem;
     color: white;
     cursor: pointer;
     padding: 10px 20px;
     transition: all 0.3s ease;
     font-weight: 600;
   }
   
   .tab-btn.active {
     border-bottom: 3px solid white;
   }
   
   .tab-separator {
     color: rgba(255, 255, 255, 0.5);
     font-size: 1.5rem;
   }
   
   .tab-content {
     display: none;
   }
   
   .tab-content.active {
     display: block;
   }
   
   .services-grid {
     display: flex;
     justify-content: center;
     gap: 30px;
   }
   
   .service-card-link {
     text-decoration: none;
     color: inherit;
     display: block;
     max-width: 350px;
     width: 100%;
   }
   
   .service-card {
     background: rgba(255, 255, 255, 0.1);
     border: 2px solid rgba(255, 255, 255, 0.3);
     border-radius: 15px;
     padding: 40px 30px;
     text-align: center;
     cursor: pointer;
     transition: all 0.3s ease;
     color: white;
     height: 100%;
   }
   
   .service-card:hover {
     background: rgba(255, 255, 255, 0.2);
     transform: translateY(-5px);
   }
   
   .service-icon {
     font-size: 2.5rem;
     margin-bottom: 20px;
     display: inline-block;
   }
   
   .service-icon svg {
     width: 40px;
     height: 40px;
     stroke: white;
   }
   
   .service-card h4 {
     font-size: 1.3rem;
     margin-bottom: 12px;
     font-weight: 600;
   }
   
   .service-card p {
     font-size: 0.95rem;
     line-height: 1.6;
   }
   
   /* ============================================
      EVENTS SECTION
      ============================================ */
   
   .events-section {
     background-color: white;
     padding: 80px 30px;
   }
   
   .events-section h2 {
     text-align: center;
     margin-bottom: 50px;
   }
   
   /* Slider */
   
   .slider {
     height: 400px;
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-direction: column;
     width: 100%;
     max-width: 1000px;
     margin: 0 auto;
     background: none;
     border-radius: 15px;
     overflow: hidden;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
   }
   
   .slider-container {
     position: absolute;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: hidden;
     z-index: 1;
   }
   
   .slides-left {
     position: absolute;
     right: 0;
     width: 300%;
     top: 0;
     height: 100%;
     display: flex;
     flex-direction: row;
     animation: kv_horizontal 20s linear infinite;
   }
   
   .slides-right {
     position: absolute;
     left: 0;
     width: 300%;
     bottom: 0;
     height: 100%;
     display: flex;
     flex-direction: row;
     animation: kv_horizontal 20s linear infinite;
   }
   
   .slides-right > div,
   .slides-left > div {
     width: calc(100% / 3);
     height: 100%;
     background-size: cover;
     position: relative;
     background-repeat: no-repeat;
     background-position: center;
   }
   
   .slide1 {
     background-image: url("../assets/images/event1.jpg");
   }
   
   .slide2 {
     background-image: url("../assets/images/event2.jpg");
   }
   
   .slides-right .slide1 {
     background-image: url("../assets/images/event1.jpg");
   }
   
   .slides-right .slide2 {
     background-image: url("../assets/images/event2.jpg");
   }
   
   @keyframes kv_horizontal {
     0% {
       transform: translateX(0);
     }
     100% {
       transform: translateX(-66.6666%);
     }
   }
   
   @media (max-width: 768px) {
     .slider {
       height: 350px;
       max-width: 100%;
     }
   }
   
   /* ============================================
      COURSES SECTION
      ============================================ */
   
   .courses-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
     margin-bottom: 50px;
   }
   
   .course-card-link {
     text-decoration: none;
     color: inherit;
     display: block;
   }
   
   .course-card {
     background-color: transparent;
     border: none;
     border-radius: 15px;
     padding: 30px;
     box-shadow: none;
     transition: all 0.3s ease;
     text-align: center;
     color: var(--primary-color);
     cursor: pointer;
   }
   
   .course-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
   }
   
   .course-icon {
     margin-bottom: 15px;
   }
   
   .course-icon svg {
     stroke: var(--secondary-color);
     transition: stroke 0.3s ease;
   }
   
   .course-card:hover .course-icon svg {
     stroke: var(--primary-color);
   }
   
   .course-card h4 {
     color: var(--primary-color);
     font-size: 1.3rem;
     margin-bottom: 10px;
     font-weight: 600;
   }
   
   .course-hours {
     font-size: 1.5rem;
     color: var(--secondary-color);
     font-weight: 700;
     margin-bottom: 15px;
   }
   
   .course-card p {
     font-size: 0.95rem;
     line-height: 1.6;
     color: #555;
   }
   
   .signin-section {
     text-align: center;
     color: white;
     font-size: 1.1rem;
     margin-top: 30px;
   }
   
   .clickable {
     cursor: pointer;
     text-decoration: underline;
     transition: opacity 0.3s ease;
   }
   
   .clickable:hover {
     opacity: 0.8;
   }
   
   /* ============================================
      OLD BLOG GRID (kept but overridden later)
      ============================================ */
   
   .blog-section {
     background-color: white;
   }
   
   .blog-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     margin-bottom: 50px;
   }
   
   .blog-card {
     background: white;
     border: 2px dashed var(--secondary-color);
     border-radius: 15px;
     overflow: hidden;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
   }
   
   .blog-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 40px rgba(201, 169, 97, 0.2);
   }
   
   .blog-image {
     width: 100%;
     height: 200px;
     overflow: hidden;
   }
   
   .blog-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s ease;
     filter: blur(3px);
   }
   
   .blog-card:hover .blog-image img {
     transform: scale(1.05);
     filter: blur(0);
   }
   
   .blog-content {
     padding: 30px;
   }
   
   .blog-card h4 {
     font-family: "Playfair Display", serif;
     font-size: 1.3rem;
     color: var(--primary-color);
     margin-bottom: 12px;
   }
   
   .blog-card p {
     font-size: 0.95rem;
     color: #666;
     line-height: 1.6;
     margin-bottom: 10px;
   }
   
   .read-more {
     color: var(--secondary-color);
     font-weight: 600;
     margin-top: 15px;
   }
   
   .blog-cta {
     text-align: center;
     font-size: 1.1rem;
     color: #666;
     margin-top: 30px;
   }
   
   /* ============================================
      OLD CONTACT GRID (kept but replaced later)
      ============================================ */
   
   .contact-grid {
     display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     gap: 40px;
     align-items: center;
     margin-bottom: 50px;
   }
   
   .contact-left,
   .contact-right {
     color: white;
   }
   
   .contact-left h4,
   .contact-right h4 {
     font-size: 1.3rem;
     margin-bottom: 20px;
     font-weight: 600;
   }
   
   .contact-left ul,
   .contact-right ul {
     list-style: none;
   }
   
   .contact-left li,
   .contact-right li {
     font-size: 1rem;
     margin-bottom: 12px;
     cursor: pointer;
     transition: opacity 0.3s ease;
   }
   
   .contact-left li:hover,
   .contact-right li:hover {
     opacity: 0.8;
   }
   
   .contact-center {
     text-align: center;
   }
   
   .contact-center img {
     width: 100%;
     max-width: 250px;
     border-radius: 15px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
   }
   
   .contact-whatsapp {
     text-align: center;
     margin-top: 30px;
   }
   
   .contact-whatsapp .btn {
     background-color: white;
     color: var(--secondary-color);
     font-size: 1.1rem;
     padding: 15px 40px;
   }
   
   .contact-whatsapp .btn:hover {
     background-color: rgba(255, 255, 255, 0.9);
   }
   
   /* ============================================
      FOOTER - SIMPLE
      ============================================ */
   
   .footer-simple {
     background-color: var(--primary-color);
     color: white;
     padding: 30px 30px;
     text-align: center;
   }
   
   .footer-container-simple {
     max-width: 1200px;
     margin: 0 auto;
   }
   
   .footer-links-simple {
     margin-bottom: 15px;
   }
   
   .footer-links-simple a {
     color: var(--secondary-color);
     text-decoration: none;
     margin: 0 15px;
     font-weight: 500;
     transition: color 0.3s ease;
   }
   
   .footer-links-simple a:hover {
     color: white;
   }
   
   .footer-simple p {
     font-size: 0.9rem;
     color: rgba(255, 255, 255, 0.7);
     margin: 0;
   }
   
   /* Fixed stray block: now a footer style */
   
   .footer {
     background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-green) 100%);
     color: white;
     padding: 60px 30px 30px;
   }
   
   .footer-container {
     max-width: 1200px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 40px;
     margin-bottom: 40px;
   }
   
   .footer-section h4 {
     font-family: "Playfair Display", serif;
     font-size: 1.3rem;
     margin-bottom: 15px;
     color: var(--secondary-color);
   }
   
   .footer-section p {
     font-size: 0.95rem;
     line-height: 1.8;
     margin-bottom: 10px;
   }
   
   .footer-section a {
     color: rgba(255, 255, 255, 0.8);
     text-decoration: none;
     transition: color 0.3s ease;
   }
   
   .footer-section a:hover {
     color: var(--secondary-color);
   }
   
   .footer-section ul {
     list-style: none;
   }
   
   .footer-section li {
     margin-bottom: 10px;
   }
   
   .footer-section li a {
     font-size: 0.95rem;
   }
   
   .tagline {
     color: var(--secondary-color);
     font-style: italic;
   }
   
   .social-links {
     display: flex;
     gap: 15px;
   }
   
   .social-links a {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     background-color: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     transition: all 0.3s ease;
     font-size: 1.1rem;
   }
   
   .social-links a:hover {
     background-color: var(--secondary-color);
     color: var(--primary-color);
   }
   
   .footer-bottom {
     max-width: 1200px;
     margin: 0 auto;
     padding-top: 30px;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 20px;
     font-size: 0.9rem;
   }
   
   .footer-links {
     display: flex;
     gap: 30px;
   }
   
   .footer-links a {
     color: rgba(255, 255, 255, 0.8);
     text-decoration: none;
     transition: color 0.3s ease;
   }
   
   .footer-links a:hover {
     color: var(--secondary-color);
   }
   
   /* ============================================
      GENERIC RESPONSIVE
      ============================================ */
   
   @media (max-width: 768px) {
     .hero-content {
       flex-direction: column;
       gap: 30px;
     }
   
     .hero-title {
       font-size: 2.5rem;
     }
   
     .hero-subtitle {
       font-size: 1.2rem;
     }
   
     .hero-image img {
       width: 250px;
       height: 350px;
     }
   
     .navbar-logo img {
       width: 110px;
       height: 55px;
     }
   
     .navbar-menu {
       gap: 15px;
     }
   
     .nav-link {
       font-size: 0.85rem;
     }
   
     .section-title {
       font-size: 2rem;
     }
   
     .about-content {
       grid-template-columns: 1fr;
     }
   
     .contact-grid {
       grid-template-columns: 1fr;
     }
   
     .menu-toggle {
       display: block;
     }
   
     .navbar-menu {
       position: absolute;
       top: 75px;
       left: 0;
       right: 0;
       background-color: white;
       flex-direction: column;
       gap: 0;
       display: none;
       padding: 20px;
       box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
       z-index: 200;
     }
   
     .navbar-menu.active {
       display: flex;
     }
   
     .palettes-grid {
       grid-template-columns: 1fr;
     }
   
     .top-header {
       flex-direction: column;
       gap: 10px;
       padding: 12px 15px;
     }
   
     .top-header-left,
     .top-header-right {
       width: 100%;
       justify-content: center;
       flex-wrap: wrap;
     }
   
     .top-header-left {
       gap: 8px;
     }
   
     .top-header-right {
       gap: 10px;
     }
   
     .tile-container {
       flex-direction: column;
       align-items: center;
       padding: 0 20px 60px 20px;
     }
   
     .tile {
       width: 100%;
       max-width: 300px;
       height: 220px;
     }
   
     .services-grid {
       grid-template-columns: 1fr;
       gap: 20px;
     }
   
     .slider {
       height: 350px;
       max-width: 100%;
       margin: 0 10px;
     }
   
     .courses-grid {
       grid-template-columns: 1fr;
       gap: 20px;
     }
   
     .blog-grid {
       grid-template-columns: 1fr;
       gap: 20px;
     }
   
     .contact-content {
       flex-direction: column;
       gap: 30px;
     }
   
     .footer-content {
       grid-template-columns: 1fr;
       gap: 30px;
       text-align: center;
     }
   
     .footer-bottom {
       flex-direction: column;
       gap: 15px;
       text-align: center;
     }
   
     .footer-links {
       justify-content: center;
     }
   
     .expanded-card-modal {
       width: 95%;
       padding: 40px 25px;
       max-height: 90vh;
     }
   
     .expanded-card-modal h2 {
       font-size: 1.5rem;
     }
   
     .container {
       padding: 60px 20px;
     }
   
     .services-section,
     .events-section,
     .courses-section,
     .blog-section,
     .contact-section {
       padding: 60px 20px;
     }
   }
   
   @media (max-width: 480px) {
     .hero-title {
       font-size: 2rem;
     }
   
     .hero-subtitle {
       font-size: 1rem;
     }
   
     .section-title {
       font-size: 1.5rem;
     }
   
     .navbar-container {
       padding: 10px 15px;
     }
   
     .navbar-logo img {
       width: 100px;
       height: 50px;
     }
   
     .palettes-grid {
       grid-template-columns: 1fr;
     }
   
     .tile {
       max-width: 280px;
       height: 200px;
     }
   
     .palette-title {
       font-size: 1.3rem;
     }
   
     .palette-description {
       font-size: 0.85rem;
     }
   
     .slider {
       height: 300px;
     }
   
     .top-header {
       font-size: 0.8rem;
     }
   
     .header-link {
       font-size: 0.8rem;
     }
   
     .social-btn {
       width: 30px;
       height: 30px;
       font-size: 0.9rem;
     }
   
     .container {
       padding: 40px 15px;
     }
   
     .services-section,
     .events-section,
     .courses-section,
     .blog-section,
     .contact-section {
       padding: 40px 15px;
     }
   
     .expanded-card-modal {
       padding: 30px 20px;
     }
   
     .expanded-card-modal h2 {
       font-size: 1.3rem;
     }
   
     .footer-section h4 {
       font-size: 1rem;
     }
   
     .footer-section ul li {
       font-size: 0.85rem;
     }
   }
   
   /* ============================================
      PALETTE CARD ENHANCEMENTS
      ============================================ */
   
   .palette-card {
     background: rgba(255, 255, 255, 0.1) !important;
     border: 2px solid var(--secondary-color) !important;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08),
       0 0 20px rgba(201, 169, 97, 0) !important;
     backdrop-filter: blur(10px);
     transition: all 0.4s ease !important;
     position: relative;
   }
   
   .palette-card:hover {
     transform: translateY(-10px) scale(1.02) !important;
     box-shadow: 0 15px 40px rgba(201, 169, 97, 0.3),
       0 0 30px rgba(201, 169, 97, 0.6) !important;
     border-color: var(--secondary-color) !important;
     background: rgba(255, 255, 255, 0.15) !important;
   }
   
   .palette-card::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     border-radius: 15px;
     background: radial-gradient(
       circle at center,
       rgba(201, 169, 97, 0.1) 0%,
       transparent 70%
     );
     opacity: 0;
     transition: opacity 0.4s ease;
     pointer-events: none;
   }
   
   .palette-card:hover::before {
     opacity: 1;
   }
   
   /* ============================================
      EXPANDED CARD MODAL
      ============================================ */
   
   .card-overlay {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(0, 0, 0, 0.6);
     z-index: 998;
     animation: fadeIn 0.3s ease;
   }
   
   .card-overlay.active {
     display: block;
   }
   
   .expanded-card-modal {
     display: none;
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%) scale(0.8);
     background: linear-gradient(
       135deg,
       rgba(45, 90, 79, 0.95) 0%,
       rgba(26, 107, 107, 0.95) 100%
     );
     border: 2px solid var(--secondary-color);
     border-radius: 20px;
     padding: 50px 40px;
     max-width: 500px;
     width: 90%;
     z-index: 999;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
       0 0 40px rgba(201, 169, 97, 0.6);
     animation: expandCard 0.4s ease;
     backdrop-filter: blur(10px);
     color: white;
     text-align: center;
     max-height: 80vh;
     overflow-y: auto;
   }
   
   .expanded-card-modal.active {
     display: block;
   }
   
   @keyframes expandCard {
     from {
       transform: translate(-50%, -50%) scale(0.6);
       opacity: 0;
     }
     to {
       transform: translate(-50%, -50%) scale(1);
       opacity: 1;
     }
   }
   
   .expanded-card-modal h2 {
     font-family: "Playfair Display", serif;
     font-size: 2rem;
     color: var(--secondary-color);
     margin-bottom: 15px;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
   }
   
   .expanded-card-modal p {
     font-size: 1rem;
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 30px;
     line-height: 1.6;
   }
   
   .modal-description {
     background: rgba(255, 255, 255, 0.1);
     border-left: 3px solid var(--secondary-color);
     padding: 20px;
     border-radius: 8px;
     margin-bottom: 30px;
     text-align: left;
   }
   
   .modal-description h4 {
     color: var(--secondary-color);
     font-size: 1.1rem;
     margin-bottom: 15px;
     font-weight: 700;
   }
   
   .modal-points {
     list-style: none;
     padding: 0;
     margin: 0;
   }
   
   .modal-points li {
     padding: 10px 0;
     border-bottom: 1px solid rgba(201, 169, 97, 0.3);
     text-align: left;
   }
   
   .modal-points li:last-child {
     border-bottom: none;
   }
   
   .modal-points a {
     color: var(--secondary-color);
     text-decoration: none;
     transition: all 0.3s ease;
     font-weight: 500;
     display: block;
     padding: 8px 0;
   }
   
   .modal-points a:hover {
     color: white;
     text-shadow: 0 0 15px rgba(201, 169, 97, 0.8);
     transform: translateX(10px);
   }
   
   .modal-links {
     display: flex;
     flex-direction: column;
     gap: 15px;
   }
   
   .modal-link {
     display: inline-block;
     padding: 12px 30px;
     background-color: var(--secondary-color);
     color: var(--primary-color);
     text-decoration: none;
     border-radius: 8px;
     font-weight: 600;
     transition: all 0.3s ease;
     border: 2px solid var(--secondary-color);
     cursor: pointer;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     font-size: 0.9rem;
     box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
   }
   
   .modal-link:hover {
     background-color: transparent;
     color: var(--secondary-color);
     box-shadow: 0 0 20px rgba(201, 169, 97, 0.8);
     transform: translateY(-3px);
   }
   
   .close-btn {
     position: absolute;
     top: 20px;
     right: 20px;
     background: transparent;
     border: 2px solid var(--secondary-color);
     color: var(--secondary-color);
     font-size: 28px;
     width: 45px;
     height: 45px;
     border-radius: 50%;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: bold;
   }
   
   .close-btn:hover {
     background-color: var(--secondary-color);
     color: var(--primary-color);
     transform: rotate(90deg);
     box-shadow: 0 0 20px rgba(201, 169, 97, 0.8);
   }
   
   /* ============================================
      NEW BLOG SECTION – ANIMATED DESIGN
      ============================================ */
   
   .blog-section {
     background-color: var(--cream);
     padding: 80px 30px;
   }
   
   .blog-container {
     max-width: 1000px;
   }
   
   .blog-content {
     display: flex;
     align-items: center;
     gap: 50px;
     background-color: white;
     border-radius: 15px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     overflow: hidden;
   }
   
   .blog-image-wrapper {
     flex: 1;
     max-width: 50%;
     overflow: hidden;
   }
   
   .blog-image {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
   }
   
   .blog-text-wrapper {
     flex: 1;
     max-width: 50%;
     padding: 40px;
   }
   
   .blog-title {
     font-family: "Playfair Display", serif;
     font-size: 2rem;
     color: var(--primary-color);
     margin-bottom: 20px;
   }
   
   .blog-excerpt {
     color: #555;
     line-height: 1.7;
     margin-bottom: 30px;
   }
   
   @media (max-width: 768px) {
     .blog-content {
       flex-direction: column;
     }
     .blog-image-wrapper,
     .blog-text-wrapper {
       max-width: 100%;
     }
     .blog-text-wrapper {
       padding: 30px;
     }
   }
   
   /* ============================================
      NEW CONTACT SECTION – ANIMATED DESIGN
      ============================================ */
   
   .contact-section {
     background-color: white;
     padding: 80px 30px;
   }
   
   .contact-container {
     max-width: 1200px;
   }
   
   .contact-wrapper {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     gap: 40px;
     margin-top: 40px;
   }
   
   .contact-info-left,
   .contact-info-right {
     flex: 1;
     max-width: 35%;
     padding: 20px;
     border-radius: 10px;
     background-color: var(--cream);
   }
   
   .contact-image-center {
     flex: 0 0 250px;
     text-align: center;
     position: relative;
     top: 50px;
   }
   
   .contact-floating-image {
     width: 100%;
     height: auto;
     border-radius: 50%;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
     transition: all 0.5s ease;
   }
   
   .contact-title {
     font-family: "Playfair Display", serif;
     font-size: 1.8rem;
     color: var(--primary-color);
     margin-bottom: 15px;
   }
   
   .contact-description {
     color: #555;
     margin-bottom: 25px;
   }
   
   .contact-list {
     list-style: none;
     padding: 0;
   }
   
   .contact-list li {
     margin-bottom: 15px;
   }
   
   .contact-list a {
     display: flex;
     align-items: center;
     gap: 10px;
     text-decoration: none;
     color: var(--primary-color);
     font-weight: 500;
     transition: color 0.3s ease;
   }
   
   .contact-list a:hover {
     color: var(--secondary-color);
   }
   
   .contact-list svg {
     stroke: var(--secondary-color);
     transition: stroke 0.3s ease;
   }
   
   .contact-list a:hover svg {
     stroke: var(--primary-color);
   }
   
   /* Floating animation */
   
   @keyframes floatUp {
     0% {
       transform: translateY(0);
     }
     50% {
       transform: translateY(-20px);
     }
     100% {
       transform: translateY(0);
     }
   }
   
   .animate-float-up {
     animation: floatUp 4s ease-in-out infinite;
   }
   
   @media (max-width: 1024px) {
     .contact-wrapper {
       flex-direction: column;
       align-items: center;
     }
     .contact-info-left,
     .contact-info-right {
       max-width: 100%;
       width: 100%;
     }
     .contact-image-center {
       order: -1;
       top: 0;
       margin-bottom: 30px;
     }
   }
   
   /* ============================================
      USER REQUESTED CHANGES
      ============================================ */
   
   .services-section {
     background-color: var(--secondary-color);
   }
   
   .footer-container-simple p {
     color: white !important;
     opacity: 1 !important;
   }
   
   .services-section h2,
   .services-section h3 {
     color: var(--background-light);
   }
   
   .services-section .tab-btn {
     color: var(--background-light);
   }
   
   .services-section .tab-btn.active {
     border-bottom: 3px solid var(--primary-color);
   }
   
   .services-section .service-card {
     background-color: var(--background-light);
     border: 1px solid var(--light-accent);
   }
   
   .services-section .service-card:hover {
     background-color: var(--light-accent);
   }
   
   .services-section .service-card h4,
   .services-section .service-card p {
     color: var(--primary-color);
   }
   
   .services-section .service-icon svg {
     stroke: var(--primary-color);
   }
   
   /* ============================================
      SERVICES CARDS SECTION – Professional 3-2 Grid Layout
      (5 CARDS – ALL IDENTICAL SIZE, 3–2 DESKTOP, 1–1 MOBILE)
      ============================================ */
   
   .services-cards-section {
     background: linear-gradient(135deg, #f5f1e8 0%, #faf8f3 100%);
     padding: 80px 30px;
     position: relative;
   }
   
   .services-cards-section .section-title {
     font-family: "Playfair Display", serif;
     font-size: 2.8rem;
     color: var(--primary-color);
     margin-bottom: 50px;
     text-align: center;
   }
   
   /* Use 6 tracks to control the 3–2 layout cleanly */
   .services-cards-grid {
     display: grid;
     grid-template-columns: repeat(6, minmax(0, 1fr));
     gap: 30px;
     max-width: 1100px;
     margin: 0 auto;
     align-items: stretch;
   }
   
   /* === ALL CARDS: SAME WIDTH, SAME HEIGHT === */
   .service-tile {
     background: transparent;
     border: 2px solid #e8dcc4;
     border-radius: 15px;
     padding: 35px 25px;
     text-align: center;
     cursor: pointer;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     box-shadow: 0 4px 15px rgba(74, 95, 74, 0.08);
     position: relative;
     overflow: hidden;
     opacity: 1 !important;
     visibility: visible !important;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: space-between;
   
     /* 🔹 SAME SIZE FOR EVERY CARD */
     height: 320px;  /* Adjust here if you want taller/shorter */
     width: 100%;
     box-sizing: border-box;
   }
   
   /* === 3–2 LAYOUT ON DESKTOP (ALL STILL SAME WIDTH) === */
   /* Top row: 3 cards */
   .services-cards-grid .service-tile:nth-child(1) {
     grid-column: 1 / 3;  /* spans 2 tracks */
   }
   .services-cards-grid .service-tile:nth-child(2) {
     grid-column: 3 / 5;
   }
   .services-cards-grid .service-tile:nth-child(3) {
     grid-column: 5 / 7;
   }
   
   /* Second row: 2 cards centered */
   .services-cards-grid .service-tile:nth-child(4) {
     grid-column: 2 / 4;  /* centered left */
   }
   .services-cards-grid .service-tile:nth-child(5) {
     grid-column: 4 / 6;  /* centered right */
   }
   
   /* Decorative frame effect */
   .service-tile::before {
     content: '';
     position: absolute;
     top: 10px;
     left: 10px;
     right: 10px;
     bottom: 10px;
     border: 1px solid rgba(201, 169, 97, 0.2);
     border-radius: 10px;
     pointer-events: none;
     transition: all 0.4s ease;
   }
   
   .service-tile:hover {
     transform: translateY(-8px);
     border-color: var(--secondary-color);
     box-shadow: 0 12px 35px rgba(74, 95, 74, 0.15);
   }
   
   .service-tile:hover::before {
     border-color: rgba(201, 169, 97, 0.5);
     top: 8px;
     left: 8px;
     right: 8px;
     bottom: 8px;
   }
   
   .service-tile-icon {
     width: 70px;
     height: 70px;
     margin: 0 auto 20px;
     display: flex;
     align-items: center;
     justify-content: center;
     background: linear-gradient(135deg, var(--primary-color), #5a7a5a);
     border-radius: 50%;
     color: white;
     transition: all 0.4s ease;
   }
   
   .service-tile-icon svg {
     width: 35px;
     height: 35px;
   }
   
   .service-tile:hover .service-tile-icon {
     background: linear-gradient(135deg, var(--secondary-color), #d4b56f);
     transform: scale(1.1) rotate(5deg);
   }
   
   .service-tile-title {
     font-family: "Playfair Display", serif;
     font-size: 1.5rem;
     color: var(--primary-color);
     margin-bottom: 12px;
     font-weight: 600;
   }
   
   .service-tile-description {
     font-size: 1rem;
     color: #666;
     margin-bottom: 20px;
     line-height: 1.5;
   }
   
   .service-tile-btn {
     background: var(--primary-color);
     color: white;
     border: none;
     padding: 12px 28px;
     border-radius: 25px;
     font-size: 0.9rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     text-transform: uppercase;
     letter-spacing: 0.5px;
   }
   
   .service-tile-btn:hover {
     background: var(--secondary-color);
     transform: scale(1.05);
     box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
   }
   
   /* Tablet – 2 columns */
   @media (max-width: 900px) {
     .services-cards-grid {
       grid-template-columns: repeat(2, minmax(0, 1fr));
       gap: 25px;
     }
   
     .services-cards-grid .service-tile {
       grid-column: auto;  /* reset manual placement so they just flow 2–2–1 */
     }
   }
   
   /* Mobile – 1 column */
   @media (max-width: 600px) {
     .services-cards-section {
       padding: 60px 20px;
     }
   
     .services-cards-section .section-title {
       font-size: 2rem;
       margin-bottom: 35px;
     }
   
     .services-cards-grid {
       grid-template-columns: 1fr;
       gap: 20px;
     }
   
     .service-tile {
       padding: 30px 20px;
       height: 320px; /* same height on mobile */
     }
   
     .service-tile-icon {
       width: 60px;
       height: 60px;
     }
   
     .service-tile-icon svg {
       width: 30px;
       height: 30px;
     }
   
     .service-tile-title {
       font-size: 1.3rem;
     }
   
     .service-tile-description {
       font-size: 0.95rem;
     }
   }
   
   /* ============================================
      TOP HEADER MOBILE RESPONSIVENESS
      ============================================ */
   
   @media (max-width: 1024px) {
     .top-header {
       padding: 10px 20px;
       font-size: 0.85rem;
     }
   
     .top-header-right {
       gap: 10px;
     }
   
     .login-btn,
     .signup-btn {
       padding: 6px 12px;
       font-size: 0.85rem;
       margin-left: 5px;
     }
   }
   
   @media (max-width: 768px) {
     .top-header {
       flex-direction: column;
       padding: 10px 15px;
       gap: 10px;
     }
   
     .top-header-left {
       width: 100%;
       justify-content: center;
       gap: 10px;
       font-size: 0.8rem;
     }
   
     .top-header-right {
       width: 100%;
       justify-content: center;
       flex-wrap: wrap;
       gap: 8px;
     }
   
     .separator {
       display: none;
     }
   
     .header-link {
       font-size: 0.8rem;
     }
   
     .social-btn {
       width: 30px;
       height: 30px;
     }
   
     .login-btn,
     .signup-btn {
       padding: 5px 10px;
       font-size: 0.8rem;
       margin-left: 0;
     }
   
     .language-selector {
       padding: 4px 8px;
       font-size: 0.8rem;
     }
   }
   
   @media (max-width: 480px) {
     .top-header {
       padding: 8px 10px;
     }
   
     .top-header-left {
       flex-direction: column;
       gap: 5px;
       align-items: center;
     }
   
     .top-header-right {
       gap: 5px;
     }
   
     .header-link {
       font-size: 0.75rem;
     }
   
     .login-btn,
     .signup-btn {
       padding: 4px 8px;
       font-size: 0.75rem;
     }
   
     .social-btn {
       width: 28px;
       height: 28px;
     }
   
     .language-selector {
       font-size: 0.75rem;
     }
   }
   /* ============================================
   FORCE ALL CARD / TILE SECTIONS TO STACK ON MOBILE
   ============================================ */
@media (max-width: 768px) {

  /* Service tiles 1 per row */
  .services-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .service-tile {
    width: 100% !important;
    margin: 0 auto !important;
  }

  /* Palette cards 1 per row */
  .palettes-grid {
    grid-template-columns: 1fr !important;
  }

  .palette-card {
    width: 100% !important;
    margin: 0 auto !important;
  }

  /* Any tile container fallback */
  .tile-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .tile {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}
/* Force 1-column layout for services cards on mobile */
@media (max-width: 768px) {
  .services-cards-grid {
    grid-template-columns: 1fr !important;  /* one card per row */
  }

  .services-cards-grid .service-tile {
    grid-column: auto !important;          /* cancel the 3–2 positioning */
  }
}
