/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333333; /* Text Color */
  background-color: #FFFFFF; /* Background Color */
  line-height: 1.6;
  padding-top: 105px; /* For fixed header */
  padding-bottom: 0px; /* Adjust based on the height of your footer */
}

/* Header */
header {
  background: #FFFFFF; /* Main Color: White for Mobile */
  color: #FFFFFF;
  padding: 5px 0;
  text-align: center;
  position: fixed; /* Changed from relative to fixed */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin: 0;
  font-size: 2em;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  background: #B71C1C; /* Darker shade of Main Color: Red */
  padding: 10px 0;
}

nav a {
  color: #FFFFFF;
  padding: 15px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9em;
  transition: background 0.3s;
}

nav a:hover {
  background: #C62828; /* Hover State of Main Color: Red */
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

/* Sections */
section {
  padding: 20px 0;
}

section h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  border-bottom: 2px solid #D32F2F; /* Main Color: Red */
  display: inline-block;
}

section p {
  font-size: 1em;
  margin-bottom: 20px;
}

/* Cards */
.card {
  background: #FFFFFF; /* Background Color */
  padding: 20px;
  margin: 10px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin-top: 0;
  font-size: 1.5em;
}

.card p {
  font-size: 1em;
}

/* Footer */
footer {
  background: #D32F2F; /* Main Color: Red */
  color: #FFFFFF;
  text-align: center;
  padding: 20px 0;
  position: relative; /* Changed from fixed to relative */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer p {
  margin: 0;
}

footer .social-icons {
  margin-top: 10px;
}

footer .social-icons a {
  color: #FFFFFF;
  margin: 0 10px;
  font-size: 1.2em;
  transition: color 0.3s;
}

footer .social-icons a:hover {
  color: #FFCDD2; /* Secondary Color: Light Red */
}
/* Hide the element on mobile devices */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

/* Show the element on desktop devices */
@media (min-width: 769px) {
  .desktop-only {
    display: block;
  }
}

/* Show the element on mobile devices */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}

/* Hide the element on desktop devices */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}