/* *, ::before, ::after {
  outline:1px solid red;
} */
/* 



/* ================================================================= */
/* DEWATT WEBSITE - MAIN CSS FILE                                   */
/* Clean implementation with Option 1 Solar Section Animation       */
/* ================================================================= */

/* ================================================================= */
/* GLOBAL STYLES AND RESETS                                         */
/* ================================================================= */

/* Base body styling */
body {
  margin: 0; /* Remove default browser margin */
  font-family: 'Montserrat', sans-serif;
  background: #000;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  color: white;
  width: 100%;
}

/* Global list reset */
ul {
  list-style: none; /* Removes the dots */
  padding-left: 0;  /* Removes indentation */
  display: flex;     /* Makes items horizontal */
  gap: 15px;         /* Adds spacing between items */
}

/* Container utilities */
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-right: 15px;
    padding-left: 15px;
}

/* Mobile menu utility */
.mobile-menu-hidden {
  display: none;
}

/* ================================================================= */
/* HEADER SECTION - Navigation, Logo, Language Selector             */
/* ================================================================= */

/* Top bar styling */
.top-bar {
  display: flex;
  gap: 30px;
  padding: 8px 60px;
  background: #000000;
  font-size: 0.9rem;
  color: white;
}

/* Contact items in top bar */
.top-bar .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-item i {
  color: #FFD600;
}

.contact-item span {
  color: #ffffff;
}

.top-bar i {
  color: #FFD600;
  font-size: 1rem;
}

/* Main header styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(0, 0, 0, 0.8);
  flex-wrap: wrap; /* For better responsiveness */
}

/* Add padding to the header logo */         
.logo {
  padding-left: 16x;
  width: 173px;
  padding-bottom: 10px;
}

/* Language dropdown - Element 1/3 in header */
.lang-dropdown {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
  order: 1;
}

.lang-button {
  font-size: 14px;
  border: 1px solid #ccc;
  background-color: #ffd50000;
  border-radius: 6px;
  cursor: pointer;
  /* min-width: 80px; */
  transition: background-color 0.2s ease;
  z-index: 4;
}

.lang-button:hover {
  background-color: #ffd50000;
}

.lang-list {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-top: 4px;
  z-index: 1000;
  min-width: 100%;
}

.lang-list button {
  /* padding: 8px 12px; */
  font-size: 14px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.lang-list button:hover {
  background-color: #f2f2f2;
}

.lang-dropdown:hover .lang-list {
  display: block;
}

.lang-dropdown.open .lang-list {
  display: block;
}

#langLabel {
  color: white;
}

#arrow {
  color: #ffffff;
}

/* Navigation - Element 2/3 in header */
nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #FFD600;
}

/* Desktop navigation styling */
nav.desktop-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav.desktop-nav ul li {
  margin: 0 15px;
}

nav.desktop-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}

/* Hide desktop social icons on smaller screens */
@media (max-width: 1200px) {
  .desktop-social-icons {
    display: none;
  }
}

/* Button styling - Element 3/3 in header */
.btn-yellow {
  background-color: #FFD700;
  color: black;
  padding: 14px 28px;         /* Larger padding for prominence */
  font-size: 1.2rem;          /* Larger text */
  font-weight: 700;
  border-radius: 8px;         /* Rounded corners */
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
  cursor: pointer;
  user-select: none;
  border: 2px solid white;
  margin-top: 0px; /* I center it from padding */
}

/* Reset margin-top for the home button on the projects page */
.projects-home-btn {
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  margin-top: 20px;
}

/* Button hover effects */
.btn-yellow:hover,
.btn-yellow:focus {
  background-color: #FFC107;  /* Slightly more saturated yellow */
  transform: scale(1.05);     /* Slight enlargement */
  box-shadow: 0 8px 16px rgba(255, 193, 7, 0.7);
  outline: none;
}

/* Button active effect */
.btn-yellow:active {
  transform: scale(0.98);     /* Press effect */
  box-shadow: 0 4px 8px rgba(255, 193, 7, 0.5);
}

/* Additional button variations */
.btn-yellow {
  background: #FFD600;
  color: #000;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.btn-yellow:hover {
  background: #e5c100;
}

/* Hero CTA button - specific styling to match dewatt.md style */
.hero-cta-btn {
  padding: 14px 28px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  width: auto;
  display: inline-block;
  align-self: center; /* Prevent button from stretching in flex container */
}

/* ================================================================= */
/* MOBILE MENU - Hamburger Navigation                               */
/* ================================================================= */

/* Mobile menu toggle button */
.menu-toggle {
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  order: 2;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hamburger menu animation - Line 1/3 */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

/* Hamburger menu animation - Line 2/3 */
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(5px);
}

/* Hamburger menu animation - Line 3/3 */
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu container */
nav#mobileMenu {
  position: fixed;
  left: 0;
  width: 100%;
  background: #000000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-height: 0;
  transition: max-height 0.4s ease-in-out;
  z-index: 10;
}

nav#mobileMenu.open {
  max-height: 500px;
}

nav#mobileMenu ul {
  list-style: none;
  padding: 20px 20px 10px 20px;
  margin: 0;
}

nav#mobileMenu ul li {
  margin-bottom: 15px;
  font-weight: 700;
}

nav#mobileMenu ul li a {
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
}

nav#mobileMenu ul li a.acasa {
  color: #FFD700;
}

/* Mobile menu dropdown styling */
nav#mobileMenu ul li.dropdown {
  cursor: pointer;
  position: relative;
}

nav#mobileMenu ul li.dropdown::after {
  content: "▼";
  font-size: 0.7rem;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}

nav#mobileMenu ul li ul.submenu {
  max-height: 0;
  transition: max-height 0.3s ease;
  margin-top: 10px;
  margin-left: 15px;
  font-weight: 400;
  padding-left: 0;
}

nav#mobileMenu ul li.open > ul.submenu {
  max-height: 300px;
}

/* ================================================================= */
/* HERO SECTION - Video Background with Animated Headlines          */
/* ================================================================= */

/* Hero container */
.hero {
  position: relative;
  /*height: 1000px; /*Full height section */
  /* height: 90vh; Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevents content from spilling out */
  /* padding-bottom: 50hv; */
}

/* Gradient overlay for the hero video */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%; /* Adjust the height of the gradient */
  /* background: red; Solid red for testing */

  background: linear-gradient(to top, rgba(12, 10, 5, 0.9), transparent);
  z-index: 0; /* Positioned between video and content */
  pointer-events: none; /* Allows clicks to pass through */
}

/* Specific hero styles for project detail pages */
.project-detail-page .project-hero h1 {
  font-size: 30px;
}

.project-detail-page .project-info-section h1 {
  font-size: 24px;
}


/* Specific hero style for project pages */
.project-detail-page .project-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: auto;
  padding: 40px 20px; /* Set top and bottom padding to 40px */
  background: linear-gradient(to top, rgba(12, 10, 5, 0.9), transparent), url('../img/solar-promo.png') no-repeat center center/cover; /* Use a static background */
}


/* Background video - Element 1/3 in hero */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Hero content container - Element 2/3 in hero */
.hero-content {
  position: relative; /* Changed from absolute to relative */
  z-index: 1; /* Ensures it's above the video and gradient */
  text-align: center;
  padding-top: 0;
  padding-left: 2px;
  padding-right: 2px;
  max-width: 900px;
  margin: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-around; /* Distribute space between elements */
  height: 80%; /* Occupy most of the hero section height */
  margin: 0; /* Removed all margin */
}

.hero-content.visible {
  opacity: 1;
  
}

/* Subtitle container */
.hero-subtitle-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.5em; /* No vertical gap, 0.5em horizontal gap */
 /* margin-bottom: 20px; /* Space between subtitle and the animated headlines */
 padding-top: 20px;
}

.hero-subtitle-container .highlighted-title {
  text-align: center;
}

/* Highlighted title styling */
.highlighted-title {
  color: #FFD700; /* Yellow color */
  /* Responsive font size: min 20px, scales with viewport, max 30px */
  font-size: clamp(16px, 8vw, 30px);
  position: relative;
  z-index: 1;
  margin-bottom: -50px; /* Bottom margin to prevent overlap */
  /* Fade-in animation */
  opacity: 0;
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 1s;
  top: -70px; /* Adjusted position */
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(-20px); /* Adjusted final position */
  }
}

/* Animated headlines container */
.animated-headlines {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  margin-bottom: 1em;  
  margin-top: 0px;
}

.animated-headlines h1 {
  opacity: 0;
  transform: translateX(0);
  animation-duration: 1s;
  animation-fill-mode: forwards;
  font-size: 3rem; /* Fixed font size */
  /* Responsive font size: min 2rem, scales with viewport, max 3.5rem */
  font-size: clamp(10px, 7vw, 30px);
  font-weight: 800;
  margin-bottom: 20px;
}

/* Left slide animation - Headline 1/3 and 3/3 */
.animated-headlines .slide-in-left {
  transform: translateX(-100%);
  animation-name: slideInLeft;
  text-align: left;
  align-self: flex-start;
}

/* Right slide animation - Headline 2/3 */
.animated-headlines .slide-in-right {
  transform: translateX(100%);
  animation-name: slideInRight;
  text-align: right;
  align-self: flex-end;
}

/* Animation keyframes */
@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Sequential animation delays */
.animated-headlines h1:nth-of-type(1) {
  animation-delay: 2s;
}

.animated-headlines h1:nth-of-type(2) {
  animation-delay: 2.5s;
}

.animated-headlines h1:nth-of-type(3) {
  animation-delay: 3s;
}

/* Hero description text */
.hero p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #ddd;
  margin-top: 0px;
}

/* Fade-in text animation */
.fade-in-text {
  opacity: 0;
  animation: fadeIn 3.5s ease forwards;
  animation-delay: 3.5s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Footer in hero - Element 3/3 in hero */
footer {
  position: absolute;
  top: auto;
  bottom: -100px;
  left: 18%;
  transform: translateX(-50%);
  text-align: left;
  font-size: 0.9rem;
  color: #aaa;
}

/* ================================================================= */
/* MODAL SYSTEM - Contact and Text Modals                           */
/* ================================================================= */

/* Modal overlay background */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

/* Main modal container */
.modal {
  background: rgba(255, 255, 255, 0);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px #ffd50063;
  padding: 30px 28px;
  width: 100%;
  max-width: 420px;
  color: #fff;
  animation: modalFadeIn 0.4s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modal tabs - Element 1/4 in modal */
.tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
  flex: 1;
  padding: 12px 0;
  font-weight: 600;
  font-size: clamp(10px, 2vw, 14px);
  text-align: center;
  color: #aaa;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  user-select: none;
}

.tab.active {
  background: #FFD600;
  color: #000;
  font-weight: 700;
  box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Modal content - Element 2/4 in modal */
.tab-content {
  display: none;
  font-size: 15px;
  text-align: center;
  user-select: text;
}

.tab-content.active {
  display: block;
}

/* Contact icons - Element 3/4 in modal */
.icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 22px;
}

.icons img {
  width: 48px;
  height: 48px;
  cursor: pointer;
  filter: drop-shadow(0 0 5px #ffffff);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.icons img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px #FFD600);
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px; /* Space between icon and text */
}

.icon-item span {
  font-size: 12px;
  color: #ccc;
}

/* Contact information */
.contact-info {
  margin-top: 10px;
}

.contact-info a {
  color: #FFD600;
  text-decoration: none;
  font-weight: 600;
}

.address {
  margin-top: 6px;
  color: #bbb;
  font-size: 14px;
}

/* Close button - Element 4/4 in modal */
.close-btn {
  margin-top: 30px;
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 14px;
  background: #fff;
  color: black;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  user-select: none;
}

.close-btn:hover {
  background: gray;
}

.text-modal-content {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  align-self: center;
  align-content: center; /* This property is not standard for block elements, consider removing or using flexbox for alignment */
}

/* Override global ul style for lists inside text modals */
.text-modal-content ul {
  display: block; /* Change from flex to block to stack items vertically */
  list-style-type: disc; /* Add back the default bullet points */
  padding-left: 20px; /* Add indentation for the list */
}

/* Ensure list items within text modals stack vertically */
.text-modal-content ul li {
  margin-bottom: 10px; /* Add some spacing between list items */
}

/* ================================================================= */
/* TEXT MODAL SYSTEM - Styles for the "Read More" pop-up            */
/* ================================================================= */

.text-modal {
  max-width: 800px; /* Set a max-width for readability */
  max-height: 80vh; /* Limit height to 80% of the viewport */
  overflow-y: auto; /* Allow scrolling for long content */
  margin: auto;
  display: flex;
  flex-direction: column;
  margin-right: 10px;
  margin-left: 10px;
  padding-right: 10px;
  padding-left: 10px;
}

.text-modal-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #FFD600; /* Yellow accent line */
}

.text-modal-header h3 {
  color: #FFD600;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.text-modal-content p {
  margin-bottom: 15px; /* Space between paragraphs */
}

/* ================================================================= */
/* SOLAR SECTION - Option 1 Clean Implementation                    */
/* ================================================================= */

/* CSS Variables for solar section */
:root {
  --yellow: #f9d71c;
  --white: #ffffff;
  --dark-bg: #0a0a06;
  --light-gray: rgba(255, 255, 255, 0.8);
}

/* Main solar section container */
.solar-section {
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 20%), /* Top gradient */
    linear-gradient(90deg, #0c0a05 30%, #3e310a 100%); /* Existing gradient */
  color: var(--white);
  font-family: var(--font-family);
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

/* Main content wrapper */
.main-content {
  display: flex;
  flex-direction: column;
}

/* Text and image layout container - Element 1/2 in solar section */
.text-image-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* Text content container - Element 1/2 in text-image-wrapper */
.center-text {
  flex: 1;
  max-width: 600px;
}

/* Title styling - Element 1/4 in center-text */
.title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 25px 0;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;


}

/* Description styling - Elements 2/4 and 3/4 in center-text */
.description {
  font-size: 20px;
  line-height: 1.5;
  color: var(--light-gray);
  margin-bottom: 20px;
  z-index: 2;
}

/* Image container - Element 2/2 in text-image-wrapper */
.image-wrapper {
  position: relative; /* Needed for absolute positioning of images */
  flex: 1 1 0%;
  /* max-width: 600px; */
  min-width: 250px;
  width: 100%;
  padding-bottom: 20px;
  min-height: 200px; /* Set a minimum height to avoid layout shifts */
  height: 100%
}

/* Slideshow image styling */
.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover; /* Ensure the image covers the container */
  transition: opacity 1s ease-in-out; /* Smooth fade transition */
}
.slideshow-image.active {
  opacity: 1; /* Make the active image visible */
}

.image-wrapper img {
  width: 100%;
  border-radius: 14px; /* Keep existing border-radius */
  border-bottom: 1px solid white; /* Changed to 1px wide and white */
  object-fit: cover;
  /* Glowing effect: yellow + white LED border */
  box-shadow: 
    0 0 15px rgba(249, 215, 28, 0.4), /* Yellow shadow */
    0 0 10px rgba(255, 255, 255, 0.6), /* White "LED" */
    0 0 20px rgba(255, 255, 255, 0.4);
}

/* Links section - Element 2/2 in solar section */
.links-block-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.links-block-full hr {
  border: none;
  border-bottom: 1px solid var(--yellow);
  margin: 14px 0;
  width: 100%;
}

/* Link item styling - Element 4/4 in center-text */
.link-item-full {
  width: 100%;
}

.link-item-full h3 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}

.link-item-full a {
  font-size: 16px;
  color: var(--yellow);
  text-decoration: none;
  padding-bottom: 2px;
  display: inline-block;
}

/* SOLAR SECTION ANIMATION SYSTEM - OPTION 1 */
/* Initial hidden state for all animated elements */
.solar-section .title,
.solar-section .description,
.solar-section .image-wrapper,
.solar-section .link-item-full {
  opacity: 0;
  transform: translateY(40px);
}

/* Special transform for image */
.solar-section .image-wrapper {
  transform: translateX(40px) scale(0.95);
}

/* Animation keyframes - Slide up from bottom */
@keyframes solarFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation keyframes - Slide in from right */
@keyframes solarFadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* When .animate class is added, trigger animations */
/* Title animation - Trigger 1/6 */
.solar-section.animate .title {
  animation: solarFadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  color: #ffffff;
}

/* Description animations - Triggers 2/6 and 3/6 */
.solar-section.animate .description:nth-of-type(1) {
  animation: solarFadeInUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
  color: #ffffff;
}

.solar-section.animate .description:nth-of-type(2) {
  animation: solarFadeInUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
  color: #ffffff;
}

/* Description animation for the third instance (e.g., 3D model text) */
.solar-section.animate .description:nth-of-type(3) {
  animation: solarFadeInUp 0.8s ease-out forwards;
  animation-delay: 0.8s; /* Staggered delay */
}

/* Image animation - Trigger 4/6 */
.solar-section.animate .image-wrapper {
  animation: solarFadeInRight 1s ease-out forwards;
  animation-delay: 0.8s;
}

/* Link animations - Triggers 5/6 and 6/6 */
.solar-section.animate .link-item-full:nth-of-type(1) {
  animation: solarFadeInUp 0.8s ease-out forwards;
  animation-delay: 1.0s;
}

.solar-section.animate .link-item-full:nth-of-type(2) {
  animation: solarFadeInUp 0.8s ease-out forwards;
  animation-delay: 1.2s;
}

/* Ensure proper text colors when animated */
.solar-section.animate .link-item-full h3 {
  color: #ffffff;
}

.solar-section.animate .link-item-full a {
  color: #FFD600;
}

/* ================================================================= */
/* CARDS SECTION - Service Cards with Icons                         */
/* ================================================================= */

/* Main cards container */
.cards-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 0 20px 60px 20px;
  color: #000;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
}

/* Section header - Element 1/3 in cards section */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0;
  padding-top: 40px;
}

.section-header h2 {
  margin: 0;
}

.section-subtitle {
  color: #fcd900;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 600;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.section-description {
  font-size: 20px;
  color: #cccccc;
  line-height: 1.6;
}

/* Card rows - Element 2/3 in cards section */
.row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Individual card with icon */
.card-with-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1px;
  cursor: pointer; 
}

/* Icon circle - Element 1/2 in card-with-icon */
.icon-circle {
  position: absolute;
  top: -25px;
  z-index: 2;
  background-color: #fcd900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  border: 3px solid #ffffff;
}

.icon-circle img {
  width: 70%;
  height: 70%;
  object-fit: cover;
}

/* Card content - Element 2/2 in card-with-icon */
.card {
  position: relative; /* Needed for overlay content */
  background-color: transparent; /* Make default background transparent */
  padding: 40px 30px 25px;
  width: 400px;
  border-radius: 14px; 
  border-bottom: 10px solid var(--yellow);
  object-fit: cover;
  box-shadow: 0 0 5px rgba(249, 215, 28, 0.4), 0 0 2px rgba(255, 255, 255, 0.6), 0 0 5px rgba(255, 255, 255, 0.4);
  text-align: center;
  border: 1px solid #ffffff;
  overflow: hidden; /* Hide parts of the image that go outside the border-radius */
}

/* Style for the active card when clicked */
.card.active-card {
  /* Change the full border to a thicker yellow */
  border: 4px solid var(--yellow);
}

/* Background image styling for cards */
.card-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the container properly */
  z-index: 1;
}

/* Overlay content styling */
.card-overlay-content {
  position: relative; /* Changed from absolute to relative to stack on top */
  z-index: 2; /* Ensure content is above the background image */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  align-items: center;     /* Centers content horizontally */
  text-align: center;
  padding: 20px;
  color: white;
  
  /* Add background overlay for better text readability */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  height: 100%; /* Make overlay fill the card */
}

.card-image{
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  object-fit: cover;
  border-radius: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Set default background for other cards */
/* Add a semi-transparent overlay to the first card for text readability */
.card-with-icon.card-1 .card {
  background-color: rgba(0, 0, 0, 0.75); /* Semi-transparent black */
  color: white; /* Ensure text is white */
  overflow: hidden;

}

.card-with-icon.card-1 .card p{
  color: white; /* Ensure text is white */

}

/* Add overlays for the other service cards */
.card-with-icon.card-2 .card,
.card-with-icon.card-3 .card,
.card-with-icon.card-4 .card,
.card-with-icon.card-5 .card {
  background-color: rgba(0, 0, 0, 0.75); /* Semi-transparent black */
  color: white;
  overflow: hidden;
}

/* Ensure text color is white for all cards with this new style */
.card-with-icon.card-2 .card p,
.card-with-icon.card-3 .card p,
.card-with-icon.card-4 .card p,
.card-with-icon.card-5 .card p {
  color: white;
}

/* Set text color to white for process cards */
.card-with-icon.card-6 .card,
.card-with-icon.card-7 .card,
.card-with-icon.card-8 .card,
.card-with-icon.card-9 .card,
.card-with-icon.card-10 .card,
.card-with-icon.card-11 .card,
.card-with-icon.card-12 .card,
.card-with-icon.card-13 .card {
  background-color: rgba(0, 0, 0, 0.75); /* Semi-transparent black */
  color: white;
  overflow: hidden;
}


/* Set text color to white for process cards */
.card-with-icon.card-6 .card p,
.card-with-icon.card-7 .card p,
.card-with-icon.card-8 .card p,
.card-with-icon.card-9 .card p,
.card-with-icon.card-10 .card p,
.card-with-icon.card-11 .card p,
.card-with-icon.card-12 .card p,
.card-with-icon.card-13 .card p {
  color: white;
}


.card.full {
  width: 500px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.card p {
  font-size: 12px;
  color: #444;
  line-height: 1.4;
}

/* Bottom card container - Element 3/3 in cards section */
.bottom-card {
  display: flex;
  justify-content: center;
  margin-top: -10px;
}

/* ================================================================= */
/* SOLAR SECTIONS - Why Choose DeWATT                               */
/* ================================================================= */

/* Main solar sections container */
.solar-sections {
  padding: 30px 40px;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  overflow-x: hidden;
}

/* Content wrapper */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left column - Element 1/2 in content wrapper */
.left-column {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
}

.section-label {
  color: #FFD700;
  font-weight: 200;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 16px;
  text-align: left;
  font-weight: 600;
}

/* Main heading - Element 1/4 in left column */
.main-heading {
  font-size: 39px;
  font-weight: 600;
  line-height: 1.2em 46.8px;
  letter-spacing: -0.5px;
  color: #ffffff;
  padding: 20px;
}

/* Description - Element 2/4 in left column */
.descriptions {
  color: #ccc;
  font-size: 20px;
  line-height: 1.6;
  max-width: 90%;
}

/* Benefits container - Element 3/4 in left column */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Add blue border to all benefit blocks */
.benefits .benefit-block {
  border: 1px solid white ;
      box-shadow: 0 0 4px rgba(249, 215, 28, 0.4), 0 0 5px yellowgreen, 0 0 5px yellow;
}

/* Individual benefit block */
.benefit-block {
  background-color: #121212;
  border-radius: 12px;
  color: #fff;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Benefit header - Element 1/2 in benefit block */
.benefit-header {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: clamp(10px, 5vw, 18px);
  font-weight: 600;
}

.benefit-block.open .benefit-title {
  color: var(--yellow); /* Change text color to yellow when open */
}

/* Benefit content - Element 2/2 in benefit block */
.benefit-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.benefit-block.open .benefit-content {
  max-height: 500px; /* Adjust if content is taller */
  opacity: 1;
  padding: 12px 20px 20px; color: white;
}

/* Arrow circle styling */
.arrow-circle {
  background-color: #FFD700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.benefit-block.open .arrow-circle {
  background-color: #000;
}

.arrow {
  font-size: 14px;
  color: #000;
  transition: transform 0.3s ease, color 0.3s ease;
}

/*
 * Specific rule for the projects page to make the image container fill the card.
 * This ensures the image inside can use `object-fit: cover` correctly.
*/
.projects-page .project-slideshow-container {
  position: absolute;
  inset: 0; /* Equivalent to top: 0; right: 0; bottom: 0; left: 0; */
  z-index: 0;
}
/* Right column - Element 2/2 in content wrapper */
.right-column {
  flex: 0 0 40%;
  overflow: hidden; /* Prevent child elements from overflowing */
}

/* Image grid - Element 4/4 in left column */
.image-grid-custom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
}

/* Image container styling */
.img-container {
  transform: translate(var(--shift-x, 0px), var(--shift, 0px));
  transition: transform 0.3s ease;
  height: auto;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) sepia(0.3) hue-rotate(-20deg) saturate(1.5);
  display: block;
  border-radius: 12px;
}

/* Image layout variations */
.tall {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.wide {
  grid-column: 2;
  aspect-ratio: 4 / 2;
}

.square {
  aspect-ratio: 1 / 1;
}

/* ================================================================= */
/* SECTION DEWATT - Who We Serve                                    */
/* ================================================================= */

/* Main section container */
.section-dewatt {
  display: flex;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
}

/* Image container - Element 1/2 in section dewatt */
.dewatt-image {
  flex: 1;
  min-width: 300px;
}

.dewatt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 40px;
    border: 1px solid white;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
}

/* Text content - Element 2/2 in section dewatt */
.dewatt-text {
  flex: 1;
  padding: 40px 30px;
  border-radius: 40px;
  background: linear-gradient(to bottom right, #fff9e5, #fcf4c2);
  text-align: center;
  
}

.dewatt-brand {
  color: #f6c000;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
}

.dewatt-text h2 {
  margin: 10px 0 20px;
  font-size: 40px;
  color: #1f1f1f;
}

.dewatt-text p {
  margin: 10px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.5;
  padding: 20px;
}

.dewatt-text ul {
  padding-left: 20px;
  margin: 15px 0;
}

.dewatt-text li {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.dewatt-text li strong {
  color: #000;
}

/* ================================================================= */
/* SOLAR SHOWCASE - Projects Gallery                                */
/* ================================================================= */

/* Main showcase container */
.solar-showcase {
  padding: 40px 20px 80px;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  margin: 0 auto;
  text-align: center;
  position: relative; /* Needed for the bottom gradient */
}

/* Gradient at the bottom of the showcase to blend into the promo section */
.solar-showcase::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px; /* Adjust height as needed */
  background: linear-gradient(to top, rgba(12, 10, 5, 0.95), transparent);
  pointer-events: none;
}

/* Section header - Element 1/3 in showcase */
.subtitle {
  color: #ffd800;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.titles {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Projects grid - Element 2/3 in showcase */
.solar-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: -80px;
}

/* Override negative margin on the dedicated projects page to prevent footer overlap */
.projects-page .solar-projects-grid {
  margin-bottom: 0px; /* Use a positive margin for proper spacing */
}

.project-detail-page .solar-projects-grid {
  margin-bottom: 40px; /* Override negative margin to prevent overflow */
}

.solar-showcase .solar-projects-grid {
  margin-bottom: 0px; /* Remove negative margin for business, home-use, and news pages */
}











/* Individual project card */
.solar-project-card {
  position: relative;
 /* display: flex; Add flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
 
  border-radius: 12px;
  cursor: pointer;
  transition: 0.4s ease-in-out;
  border: 2px solid white; /* White border */
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7); /* Glow effect */
    /* object-position: center; Ensures the image is always centered */
    overflow: hidden; /* Hide parts of the image that go outside the border-radius */

}

/* Sun icon - Element 1/3 in project card */
.sun-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 16px;
  background: #FFD700;
  color: black;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

/* Project info - Element 2/3 in project card */
.solar-project-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  text-align: left;
  transition: opacity 0.3s ease;
}

.solar-project-info h3 {
  font-size: 20px;
  margin: 0;
  color: white; /* Explicitly set text color to white */
}

.solar-project-info p {
  font-size: 15px;
  color: #d0d0d0;
  margin: 4px 0 0 0;
}

/* Overlay text - Element 3/3 in project card */
.overlay-text {
  position: absolute;
  inset: 0;
  background-color: #FFD700;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effects */
.solar-project-card:hover .overlay-text {
  opacity: 1;
}

.solar-project-card:hover .solar-project-info {
  opacity: 0;
}

/* Add a zoom effect on the image when hovering over the card */
.solar-project-card:hover .project-slideshow-image {
  transform: scale(1.1);
}
.project-slideshow-image {
  position: absolute;
  top: 0;
  left: 0;

  object-fit: cover; /* Changed from fill to cover to prevent distortion */
  width: 100%;
  height: 100%; /* Ensure image fills the container */
}


/* Override for project detail page galleries to show full images */
.project-detail-page .solar-showcase .solar-project-card {
  height: auto; /* Remove fixed height to prevent cropping */
  aspect-ratio: 4 / 3; /* Give the card a 4:3 aspect ratio */
  align-items: stretch; /* Ensure items stretch to fill the container */
}

/* Ensure project cards on the main projects page also have an aspect ratio on desktop */
.projects-page .solar-project-card {
  aspect-ratio: 4 / 3;
}

/* Project info list on project detail pages */
.project-detail-page .project-info-list {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to the next line */
  gap: 20px; /* Adds space between items */
  justify-content: flex-start; /* Aligns items to the start */
}

/* Styles moved from inline for project detail pages */
.project-detail-page .project-info-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.project-detail-page .project-info-text {
  max-width: 100%;
}

.project-info-text h1 {
  font-size: 24px;
}

.project-info-text h2 {
  font-size: 20px;
}

.project-info-text p {
  font-size: 14px;
}


.project-detail-page .project-info-list li {
  color: white;
  /* font-size: 1.2rem; */
  padding-bottom: 10px;
}



.project-detail-page .project-info-list li[data-translate="project_maksimovka_3d"] {
  padding-top: 20px;
  width: 100%; /* Make the 3D model text take full width */
}

.project-detail-page .project-gallery-section {
  padding-top: 40px;
  padding-bottom: 30px;
}

/* Add special padding to the button wrapper on project detail pages */
.project-detail-page .button-wrapper {
  padding-top: 0px;
  padding-bottom: 30px;
}

/* Button wrapper - Element 3/3 in showcase */
.button-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.yellow-button {
  background-color: #FFD700;
  border: none;
  color: black;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.yellow-button:hover {
  background-color: #e6c200;
}

/* ================================================================= */
/* SOLAR PROMO - Call to Action Section                             */
/* ================================================================= */

/* Promo section container */
.solar-promo {
  position: relative;
  z-index: 7;
  width: 100%;
  height: 500px;
  margin: 0;
  overflow: hidden; /* Prevent overflow */
  background: 
    linear-gradient(to bottom, rgba(12, 10, 5, 0.9) 0%, transparent 20%), /* Top gradient */
    linear-gradient(to top, rgba(12, 10, 5, 0.9) 0%, transparent 20%),   /* Bottom gradient */
    url('../img/solar-promo.png'); /* Background image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay - Element 1/2 in promo */
.solar-promo__overlay {
  /* background: rgba(0, 0, 0, 0.3); General tint overlay */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 20px; /* Safe padding */
}

/* Content container - Element 2/2 in promo */
.solar-promo__content {
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.solar-promo__content h1 {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  word-wrap: break-word;
  line-height: 1.2;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ================================================================= */
/* DEWATT SECTION - Contact Form                                    */
/* ================================================================= */

/* Main dewatt section */
.dewatt-section {
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 15%), /* Top gradient */
    linear-gradient(90deg, #0c0a05 30%, #3e310a 100%); /* Existing gradient */
  
  color: white;
}

.dewatt-section * {
  box-sizing: border-box;
}

.dewatt-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header text - Element 1/3 in dewatt section */
.dewatt-section .header-text {
  width: 50%;
  margin: 0 auto 40px auto;
  text-align: center;
}

.dewatt-section .label-top {
  color: #ffd800;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dewatt-section .main-title {
  font-weight: 700;
  font-size: 29px;
  line-height: 1.3;
  color: white;
  margin: 0;
}

.dewatt-section .main-title strong {
  display: block;
}

/* Content wrapper - Element 2/3 in dewatt section */
.dewatt-section .content-wrapper {
  display: flex;
  border-radius: 8px;
  gap: 0;
}

/* Left section - Element 1/2 in content wrapper */
.dewatt-section .left-section {
  background: #0a0a0a;
  padding: 30px 30px 40px 30px;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dewatt-section .info-text {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
  padding-bottom: 40px;
  color: white;
}

/* Form tabs - Element 1/4 in left section */
.dewatt-section .tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.dewatt-section .tab.active {
  background: linear-gradient(to bottom, #ffa500, #ffd800); /* Yellow → Orange */  
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  padding: 10px 15px;
  border-radius: 7px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  font-size: clamp(10px, 4vw, 16px);
  flex-grow: 1;
}

.dewatt-section .tab.inactive {
  background-color: #212121;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  padding: 10px 15px;
  border-radius: 7px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  font-size: clamp(10px, 4vw, 16px);
  flex-grow: 1;
}

/* Form container - Element 2/4 in left section */
.dewatt-section form {
  display: flex;
  flex-direction: column;
}

/* Form grid - Element 3/4 in left section */
.dewatt-section .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
  margin-bottom: 0px;
  padding-bottom: 10px;
}

.dewatt-section input[type="text"],
.dewatt-section input[type="email"],
.dewatt-section input[type="tel"],
.dewatt-section select,
.dewatt-section textarea {
  width: 100%;
  border-radius: 7px;
  border: none;
  padding: 10px 12px;
  font-size: 13px;
  box-shadow: 0 0 5px rgb(255 216 0 / 0.4);
  outline: none;
  background: white;
  color: #222;
}

.dewatt-section select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #222 50%),
    linear-gradient(135deg, #222 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 25px) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  cursor: pointer;
}

.dewatt-section textarea {
  resize: vertical;
  min-height: 80px;
}

.dewatt-section .full-width {
  grid-column: 1 / 3;
}

/* Checkbox container - Element 4/4 in left section */
.dewatt-section .checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9px;
  color: #ddd;
  margin: 15px 0 25px 0;
  line-height: 1.3;
}

.dewatt-section .checkbox-container input {
  margin-top: 3px;
}

.dewatt-section .checkbox-container span {
  user-select: none;
}

.dewatt-section .submit-btn {
  background-color: #ffd800;
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dewatt-section .submit-btn:hover {
  background-color: #e6c600;
}

/* Right section - Element 2/2 in content wrapper */
.dewatt-section .right-section {
  width: 50%;
  min-height: 650px;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  background: url('../img/dewatt-wrapper.png') no-repeat center center/cover;
  position: relative;
  gap: 0;
}

.dewatt-section .right-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(255, 216, 0, 0.3), transparent 70%);
  pointer-events: none;
}

/* ================================================================= */
/* DEWATT SERVICES - Service Cards with Glowing Corners             */
/* ================================================================= */

/* Main services section */
.dewatt-sections {
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  margin: 0 auto;
  padding: 60px 20px 100px;
  text-align: center;
  flex-wrap: wrap;
}

.dewatt-sections__subtitle {
  color: #FFDD00;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  user-select: none;
}

.dewatt-sections__title {
  font-weight: 700;
  font-size: 40px;
  margin: 0 0 30px;
  user-select: none;
}

/* Services grid container */
.dewatt-services {
  display: flex; /* Changed to flex for better wrapping */
  justify-content: center;
  gap: 20px 24px;
  flex-wrap: wrap;
}

/* Individual service card */
.dewatt-service {
  text-align: center; /* Flex properties for responsive items */
  max-width: 360px; /* Max width to prevent it from getting too large */
  cursor: pointer;

}

.dewatt-service__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border: 2px solid white; /* White border */
  border-radius: 12px;
  display: block;
}

.dewatt-service__text {
  margin-top: 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 18px;
  color: #fff;
  user-select: none;
  white-space: pre-line;
  max-width: 360px;
}

/* Glowing corner effects for service images */


/* Service 2/6 - Wrapper variant */
.dewatt-services__img-wrapper {
  position: relative;
  display: inline-block;
  border: 2 px solid white;
  border-radius: 12px;
}

.dewatt-services__img-wrapper img {
  position: relative;
  z-index: 2;
  display: block;
}

/* ================================================================= */
/* PARTNERS SECTIONS - Financial and Business Partners              */
/* ================================================================= */

/* Partner sections container */
.parteneri-finantare{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.parteneri-finantare h1 {
  margin-bottom: 0;
}

/* Client logos layout */
.client-logos-layout3 {
  display: flex;
  flex-wrap: wrap;
}

.client-logos-layout3 .client-logo-item {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: calc(20% - 24px);
  margin-right: 0px;
  margin-bottom: 0px;
  background: var(--secondary-color);
  text-align: center;
  border-radius: 0px;
  padding-bottom: 0;
  padding-top: 0;
}

/* Our clients layout */
.our-clients-layout3 {
  padding: 10px 0;
}

.our-clients-layout3 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section title styling */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-md-2 {
  width: 16%;
}

/* Individual client logo item */
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  padding-top: 0;
  padding-left: 10px;
  padding-right: 10px;
  min-height: 120px;
  transition: transform 0.3s ease;
  flex-wrap: wrap;
}

.client-logo-item:hover {
  transform: translateY(-5px);
}

.client-logo-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: fill;
  transition: all 0.3s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ================================================================= */
/* FOOTER SECTION - Newsletter, Company Info, Links                 */
/* ================================================================= */

/* Main footer container */
.custom-footer {
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
              url('../img/footer.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 50px;
}

/* Footer top section - Element 1/4 in footer */
.custom-footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Newsletter text - Element 1/2 in footer top */
.custom-footer-newsletter-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
  /* padding-right: 40px; */
}

.custom-footer-newsletter-text h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.custom-footer-newsletter-text p {
  line-height: 1.6;
  font-size: 21px;
}

/* Newsletter form - Element 2/2 in footer top */
.custom-footer-newsletter-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.custom-footer-newsletter-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.custom-footer-newsletter-form input[type="email"] {
  width: 80%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  text-align: center;
}

.custom-footer-checkbox-text {
  font-size: 12px;
  color: #ccc;
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.custom-footer-checkbox-text a {
  color: yellow;
  text-decoration: underline;
}

.custom-footer-newsletter-form button {
  width: 70%;
  max-width: 400px;
  background-color: #FFD700;
  color: black;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

/* Footer social icons - Element 2/4 in footer */
.Footer_social__1ezD8 {
  margin-top: 0;
  width: 100%;
  height: 1%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 73px;
}

.custom-footer-logo {
  width: 173px;
}

/* General style for circular social media icons */
.desktop-social-icons img,
#mobileMenu img,
.Footer_social__1ezD8 img {
  border-radius: 50%;
}


/* Footer columns - Element 3/4 in footer */
.custom-footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Individual footer column - Column 1/3 */
.custom-footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.custom-footer-column h3 {
  font-size: 24px;
  color: #FFD700;
}

.custom-footer-column ul {
  list-style: none;
  padding: 0;
}

/* Footer column variant - Column 2/3 */
.custom-footer-colum h4 {
  font-size: 35px;
  margin-bottom: 10px;
}

.custom-footer-colum p {
  line-height: 1;
  font-size: 15px;
  margin-top: 10px;
  color: #ffffff5f;
}

/* Footer text styling */
.custom-footer-text p {
  line-height: 1.6;
  font-size: 11px;
  text-align: left;
  margin-block: 10px;
  font-weight: 500;
}

.custom-footer-texts p {
  line-height: 1.6;
  font-size: 10px;
  margin-top: 10px;
  color: #ffffff5f;
}

.custom-footer-text {
  text-align: left;
  font-size: 13px;
}

/* Footer bottom section - Element 4/4 in footer */
.custom-footer-bottom {
  text-align: center;
}

.custom-footer-bottom a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

.custom-footer-bottom a:hover {
  text-decoration: underline;
}

.custom-footer hr {
  border: none;
  margin: 14px 0;
  border-top: 1px solid white;
  width: 100%;
}

.office-details {
  margin-bottom: 20px;
}


/* ================================================================= */
/* ANIMATION SYSTEM - Base Animation States                         */
/* ================================================================= */

/* Base animation states for all sections */
.cards-section .section-header,
.cards-section .section-title,
.cards-section .section-description,
.cards-section .card-with-icon,
.solar-sections .main-heading,
.solar-sections .descriptions,
.solar-sections .benefit-block,
.solar-sections .img-container,
.section-dewatt .dewatt-image,
.section-dewatt .dewatt-brand,
.section-dewatt h2,
.section-dewatt p,
.section-dewatt li,
.solar-showcase .subtitle,
.solar-showcase .titles,
.solar-showcase .solar-project-card,
.solar-showcase .button-wrapper,
.solar-promo h1,
.solar-promo .btn-yellow,
.dewatt-section .main-title,
.dewatt-section .info-text,
.dewatt-section .tab,
.dewatt-section .form-grid input,
.dewatt-section .form-grid select,
.dewatt-section .form-grid textarea,
.dewatt-section .checkbox-container,
.dewatt-section .submit-btn,
.dewatt-sections .dewatt-sections__title,
.dewatt-sections .dewatt-service,
.parteneri-finantare .section-title,
.parteneri-finantare .client-logo-item,
.custom-footer .custom-footer-newsletter-text h2,
.custom-footer .custom-footer-newsletter-text p,
.custom-footer .custom-footer-newsletter-form input,
.custom-footer .custom-footer-newsletter-form button,
.custom-footer .custom-footer-column h4,
.custom-footer .custom-footer-colum h4,
.custom-footer .custom-footer-column p,
.custom-footer .custom-footer-colum p,
.custom-footer .custom-footer-column ul li,
.custom-footer .custom-footer-colum ul li {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible state when animations trigger */
.cards-section .section-header.visible,
.cards-section .section-title.visible,
.cards-section .section-description.visible,
.cards-section .card-with-icon.visible,
.solar-sections .main-heading.visible,
.solar-sections .descriptions.visible,
.solar-sections .benefit-block.visible,
.solar-sections .img-container.visible,
.section-dewatt .dewatt-image.visible,
.section-dewatt .dewatt-brand.visible,
.section-dewatt h2.visible,
.section-dewatt p.visible,
.section-dewatt li.visible,
.solar-showcase .subtitle.visible,
.solar-showcase .titles.visible,
.solar-showcase .solar-project-card.visible,
.solar-showcase .button-wrapper.visible,
.solar-promo h1.visible,
.solar-promo .btn-yellow.visible,
.dewatt-section .main-title.visible,
.dewatt-section .info-text.visible,
.dewatt-section .tab.visible,
.dewatt-section .form-grid input.visible,
.dewatt-section .form-grid select.visible,
.dewatt-section .form-grid textarea.visible,
.dewatt-section .checkbox-container.visible,
.dewatt-section .submit-btn.visible,
.dewatt-sections .dewatt-sections__title.visible,
.dewatt-sections .dewatt-service.visible,
.parteneri-finantare .section-title.visible,
.parteneri-finantare .client-logo-item.visible,
.custom-footer .custom-footer-newsletter-text h2.visible,
.custom-footer .custom-footer-newsletter-text p.visible,
.custom-footer .custom-footer-newsletter-form input.visible,
.custom-footer .custom-footer-newsletter-form button.visible,
.custom-footer .custom-footer-column h4.visible,
.custom-footer .custom-footer-colum h4.visible,
.custom-footer .custom-footer-column p.visible,
.custom-footer .custom-footer-colum p.visible,
.custom-footer .custom-footer-column ul li.visible,
.custom-footer .custom-footer-colum ul li.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Special animations for specific elements */
.cards-section .card-with-icon {
  transform: translateY(60px) scale(0.9);
}

.cards-section .card-with-icon.visible {
  transform: translateY(0) scale(1);
}

.solar-sections .img-container {
  transform: translateX(40px);
}

.solar-sections .img-container.visible {
  transform: translateX(0);
}

.dewatt-sections .dewatt-service {
  transform: translateY(50px) scale(0.95);
}

.dewatt-sections .dewatt-service.visible {
  transform: translateY(0) scale(1);
}

.parteneri-finantare .client-logo-item {
  transform: scale(0.8) translateY(30px);
}

.parteneri-finantare .client-logo-item.visible {
  transform: scale(1) translateY(0);
}

/* Child element animations */
.cards-section .icon-circle,
.cards-section .card h3,
.cards-section .card p,
.solar-sections .benefit-title,
.solar-sections .arrow-circle,
.solar-showcase .solar-project-info h3,
.solar-showcase .solar-project-info p,
.solar-showcase .sun-icon,
.dewatt-sections .dewatt-service__img,
.dewatt-sections .dewatt-service__text,
.parteneri-finantare .client-logo-item img {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.cards-section .icon-circle.visible,
.cards-section .card h3.visible,
.cards-section .card p.visible,
.solar-sections .benefit-title.visible,
.solar-sections .arrow-circle.visible,
.solar-showcase .solar-project-info h3.visible,
.solar-showcase .solar-project-info p.visible,
.solar-showcase .sun-icon.visible,
.dewatt-sections .dewatt-service__img.visible,
.dewatt-sections .dewatt-service__text.visible,
.parteneri-finantare .client-logo-item img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================= */
/* MOBILE RESPONSIVE DESIGN - Tablet and Phone Adaptations         */
/* ================================================================= */

/* Mobile optimizations for hero subtitle container */
@media (max-width: 769px) {
  .hero-subtitle-container {
    gap: 30px 0.5em; /* Adds 30px vertical gap when stacking */
  }
}

/* Main mobile breakpoint - Element 1/1 mobile sections */
@media (max-width: 768px) {
  /* Top Bar - Mobile adaptation 1/15 */
  .top-bar {
    gap: 10px;
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  /* Header - Mobile adaptation 2/15 */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 15px;
    gap: 15px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 173px;
    padding-bottom: 10px;
  }

  .big-logo {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .big-logo img {
    transform: scale(0.3);
  }
  
  .menu-toggle {
    display: flex;
    order: 2;
    z-index: 2;
    top: -10px;
  }

  .lang-dropdown {
    order: 0;
    z-index: 99999;
    top: -10px;
  }

  /* Hide desktop elements on mobile */
  .desktop-nav,
  .btn-yellow.desktop {
    display: none;
  }

  .section-label {
    color: #FFD700;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
  }

  /* Hero Section - Mobile adaptation 3/15 */
  .hero {
  height: 100vh; /* Full viewport height */
  }

  .hero-content h1 {
    /* font-size: 2.5rem; */
    margin: 0; /* Removed margin from h1 */
  }

  .hero p {
    font-size: 0.9rem;
    margin: 0; /* Removed all margin from p */
  }

  /* Add padding to animated headlines on mobile */
  .animated-headlines .slide-in-left {
    padding-left: 16px;
    padding-bottom: 10px;
  }

  .animated-headlines .slide-in-right {
    padding-right: 16px;
    padding-bottom: 10px;
  }
  /* End of padding for animated headlines */

  footer {
    left: 50%;
    bottom: -50px;
    font-size: 0.8rem;
  }

  /* Navigation - Mobile adaptation 4/15 */
  nav ul {
    flex-direction: column;
  }

  nav ul li a {
    font-size: 0.9rem;
  }

  .btn-yellow {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Solar Section - Mobile adaptation 5/15 */
  .solar-section {
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0; /* Explicitly remove bottom padding */
  }

  .text-image-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .center-text {
    max-width: 100%;
  }

  .title {
    font-size: 24px;
  }

  .description {
    font-size: 16px;
  }

  .image-wrapper {
    max-width: 100%;
  }

  .link-item-full h3 {
    font-size: 20px;
  }

  /* Mobile solar section animation optimizations */
  @keyframes solarFadeInUpMobile {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes solarFadeInRightMobile {
    from {
      opacity: 0;
      transform: translateX(20px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
  }

  .solar-section.animate .title,
  .solar-section.animate .description,
  .solar-section.animate .link-item-full {
    animation-name: solarFadeInUpMobile;
    animation-duration: 0.6s;
  }

  .solar-section.animate .image-wrapper {
    animation-name: solarFadeInRightMobile;
    animation-duration: 0.7s;
  }

  /* Faster delays on mobile */
  .solar-section.animate .title { animation-delay: 0.1s; }
  .solar-section.animate .description:nth-of-type(1) { animation-delay: 0.2s; }
  .solar-section.animate .description:nth-of-type(2) { animation-delay: 0.3s; }
  .solar-section.animate .image-wrapper { animation-delay: 0.4s; }
  .solar-section.animate .link-item-full:nth-of-type(1) { animation-delay: 0.5s; }
  .solar-section.animate .link-item-full:nth-of-type(2) { animation-delay: 0.6s; }

  /* Cards Section - Mobile adaptation 6/15 */
  .text-modal {
    max-width: 90vw;
    margin: 20px;
  }
  
  .text-modal-header h3 {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

  }
  
  .text-modal-content {
    font-size: 14px;
  }

  /* Add bottom margin to card 4 */
  .card-4 {
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-description {
    font-size: 15px;
  }

  .card {
    width: 100%;
    max-width: 300px;
    padding: 50px 10px 50px;
  }

  .card.full {
    width: 100%;
    max-width: 300px;
  }

  /* Solar Sections - Mobile adaptation 7/15 */
  .solar-sections {
    padding: 20px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .left-column {
    flex: 1;
  }

  .main-heading {
    font-size: 20px;
    text-align: center;
  }

  /* Increase size of benefit icons on mobile */
  .benefit-icon {
    width: 48px;  /* 50% larger than 32px */
    height: 48px; /* 50% larger than 32px */
    display: flex;
    align-items: center;
    justify-content: center;
        transform: scale(2); /* Scale the entire container 2x */
    transform-origin: center; /* Scale from center */
  }

  .benefit-icon img {
    width: 100%; /* Make the icon fill its container */
    height: 100%;
  }

  .descriptions {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 30px;
    margin-top: 10px;
    text-align: center;
  }

  .right-column {
    flex: 1;
  }

  .image-grid-custom {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .img-container.tall,
  .img-container.wide,
  .img-container.square {
    aspect-ratio: auto;
    height: 200px;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .img-container.wide.move-down {
    height: 220px;
    --shift: 0px;
    --shift-x: 0px;
  }

  /* Section Dewatt - Mobile adaptation 8/15 */
  .section-dewatt {
    flex-direction: column;
  }

  .dewatt-image {
    min-width: 100%;
  }

  .dewatt-text {
    padding: 20px;
  }

  .dewatt-text h2 {
    font-size: 20px;
  }

  .dewatt-text p,
  .dewatt-text li {
    font-size: 15px;
  }

  .dewatt-text ul {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Solar Showcase - Mobile adaptation 9/15 */
  .solar-showcase {
    padding: 20px;
  }

  .titles {
    font-size: 16px;
  }

  .solar-projects-grid {
    grid-template-columns: 1fr;
    /* padding: 0; Remove padding on mobile to allow full-width cards */
  }

  .solar-project-card {
    width: 100%; /* Ensure card takes full width */
    height: auto; /* Let height be determined by aspect ratio */
  }

  .solar-project-info h3 {
    font-size: 15px;
  }

  .solar-project-info p {
    font-size: 12px;
  }

  /* Solar Promo - Mobile adaptation 10/15 */
  .solar-promo {
    height: 400px;
  }

  /* .solar-promo__content h1 {
    font-size: 18px;
    margin-bottom: -80px;
  } */

  .solar-promo__button {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Dewatt Section Form - Mobile adaptation 11/15 */
  .dewatt-section .container {
    padding: 0 0px;
  }

  .dewatt-section .header-text {
    width: 100%;
    margin-bottom: 10px;
    padding: 20px 20px;
  }

  .dewatt-section .main-title {
    font-size: 15px;
  }

  .dewatt-section .info-text {
    font-size: 15px;
    color: #FFD700;
  }

  .dewatt-section .content-wrapper {
    flex-direction: column;
  }

  .dewatt-section .left-section {
    width: 100%;
    padding: 20px;
  }

  .dewatt-section .right-section {
    width: 100%;
    min-height: 300px;
  }

  .dewatt-section .form-grid {
    grid-template-columns: 1fr;
  }

  .dewatt-section .full-width {
    grid-column: 1 / 2;
  }

  .dewatt-section .checkbox-container {
    font-size: 10px;
    margin-bottom: 0px;
    padding-bottom: 10px;
  }

  /* Dewatt Services - Mobile adaptation 12/15 */
  .dewatt-sections {
    padding: 20px 20px;
    flex-wrap: wrap;
  }

  .dewatt-sections__title {
    font-size: 20px;
    font-weight: 700;
  }

  .dewatt-services {
    grid-template-columns: 1fr;
    flex-wrap: wrap;
  }

  .dewatt-service__img {
    height: 180px;
    max-width: 360px;
  }

  .dewatt-service__text {
    font-size: 15px;
  }

  /* Partners - Mobile adaptation 13/15 */
  .col-md-2 {
    width: 50%;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .our-clients-layout3 {
    padding: 40px 0;
  }
  
  .client-logo-item {
    min-height: 100px;
  }
  
  .client-logo-item img {
    max-height: 60px;
  }

  /* Footer - Mobile adaptation 14/15 */
  .custom-footer {
    padding: 50px 20px;
  }

  .custom-footer-top {
    flex-direction: column;
    gap: 30px;
      display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  }

  .custom-footer-newsletter-text h2 {
    font-size: 28px;
  }

  .custom-footer-newsletter-text p {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
  }

  .custom-footer-newsletter-form button {
    padding: 12px;
    width: 70%;
    /* margin-left: auto; */
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;

  }

  .custom-footer-columns {
    flex-direction: column;
    gap: 10px;
  }

  .custom-footer-column,
  .custom-footer-colum {
    text-align: left;
  }

  .custom-footer-colum p {
    line-height: 1;
    font-size: 12px;
    margin-top: 10px;
    color: #ffffff;
  }

  .custom-footer-colum h4 {
    font-size: 15px;
    font-weight: 600;
  }

  .custom-footer-text p {
    line-height: 1.6;
    font-size: 11px;
    text-align: left;
    margin-block-start: -10px;
    margin-block-end: 10px;
    font-weight: 500;
  }

  .custom-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 700;
  }

  .custom-footer-bottom a {
    text-decoration: none;
    color: inherit;
    font-size: 14px;
  }

  .custom-footer-colum ul,
  .custom-footer-column ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .custom-footer hr {
    width: 100%;
  }

  /* Mobile menu visibility - Mobile adaptation 15/15 */
  nav.desktop-nav {
    display: none;
  }
  .btn-yellow.desktop {
    display: none;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .hero p {
    font-size: clamp(8px, 5vw, 2rem);
    margin-bottom: 20px;
  }

  .title {
    font-size: 24px;
  }

  .main-heading {
    font-size: 20px;
    text-align: center;
  }
/* 
  .solar-promo__content h1 {
    font-size: 18px;
  } */

  .dewatt-section .main-title {
    font-size: 15px;
  }

  .dewatt-section .info-text {
    font-size: 15px;
    color: #FFD700;
  }

  .partner-box {
    width: 80%;
  }

  .solar-partners-section h2 {
    font-size: 20px;
  }

  /* Even faster animations for very small screens */
  @keyframes solarSlideUpSmall {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .solar-section.animate .title,
  .solar-section.animate .description,
  .solar-section.animate .link-item-full {
    animation-name: solarSlideUpSmall !important;
    animation-duration: 0.4s !important;
  }
}