body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: rgb(255, 248, 240);
  padding: 0;
  margin: 0;
}

section {
  width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.about-page section {
  width: 1200px;
  margin: 2rem 0;
  padding: 0 1rem;
}


h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #222;
  border-bottom: 2px solid #D1495B;
  display: inline-block;
  padding-bottom: 0.3rem;
}

h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #444;
}

form {
  background: #00798C;
  padding: 2rem;
  color: rgb(255, 248, 240)
}

form fieldset {
  border: none;
  margin-bottom: 1.5rem;
}

form legend {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid rgb(255, 248, 240);
  border-radius: 4px;
}

form button {
  background: #D1495B;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  color: rgb(255, 248, 240)
}

form button:hover {
  background: #D1495B;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #003D5B;
  color: rgb(255, 248, 240);
  margin-top: 3rem;
}

footer nav {
  margin-top: 0.5rem;
}

footer nav a {
  margin: 0 0.8rem;
  text-decoration: none;
  color: #fff;
} 
footer nav a:hover {
  color: #D1495B;
}


textarea {
  resize: vertical; 
  max-width: 100%;   
  box-sizing: border-box; 
}

nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto; 
}

.nav_links {
  color: rgb(255, 248, 240);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav_links:hover {
  color: #D1495B;
}

.next-paraph{
    clear:left;
    margin-top:50px;
}

.next-second-p{
    clear:right;
    margin-top:50px;
}

.logo img {
  display: block;
}

#top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #003D5B;
  z-index: 1000;
}

.header-inner {     
  margin: 0 auto;           
  padding: 0.8rem 1rem;     
  box-sizing: border-box;
  display: flex;
  align-items: center;
}



#founder_img1{
    float: right;
    margin-left: 35px;
    border-radius: 50%;
    width: 256px;
    height: 320px;
}

.article_left_img{
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 17px;
}

.article_right_img{
    float: right;
    margin-left: 35px;
}


#hero {
  text-align: center;
  padding: 4rem 1rem;
  background: #30638E;
  color: rgb(255, 248, 240);
  margin-top: 80px;
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.2rem;
}


.card-container {
  display: flex;
  gap: 20px; 
}

.card {
  flex: 1 1 300px; 
  background: #fff;
  border-radius: 8px;
  overflow: hidden; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex; 
  flex-direction: column; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px); 
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
}

.card-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #003D5B; 
}

.card-content p {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-button {
  display: inline-block;
  background: #D1495B;
  color: rgb(255, 248, 240);
  padding: 0.6rem 1.2rem;
  text-align: center;
  text-decoration: none;

  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.card-button:hover {
  background: #003D5B;
}






.about-page .grid-container {
  display: grid;
  grid-template-areas:
    "header header"
    "sidebar main"
    "footer footer";
  grid-template-columns: 250px 1fr;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}


.header {
  grid-area: header;
  background: #003D5B;
  color: white;
}

.about-page .sidebar {
  grid-area: sidebar;
  background: #30638E;
  padding: 1rem;
  border-right: 2px solid #ddd;
  position: fixed; 
  top: 50px;      
  color: rgb(255, 248, 240);  
}

.about-page .sidebar h2 {
  font-size: 1.4rem;
  border-bottom: 2px solid #D1495B;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: rgb(255, 248, 240);
}

.about-page .sidebar a {
  color: rgb(255, 248, 240);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-page .sidebar a:hover {
  color: #D1495B;
}

.main {
  grid-area: main;
}

.footer {
  grid-area: footer;
  background: #003D5B;
  color: rgb(255, 248, 240);
  text-align: center;
  padding: 1rem;
}

.footer nav a {
  margin: 0 0.8rem;
  text-decoration: none;
  color: #fff;
}

.footer nav a:hover {
  color: #D1495B
}


form {
  max-width: 1200px;      
  margin: 0 auto;        
  padding: 20px;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 15px;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

form input,
form select,
form textarea {
  width: 100%;            
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;  
  font-size: 14px;
}

form textarea {
  resize: vertical;       
  min-height: 100px;
}

form button {
  width: 100%;             
  padding: 12px;
  background: #D1495B;  
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
}

form button:hover {
  background: #D1495B;
}


