
/* Base */
body {
    margin: 0;
    font-family: 'Inter', sans-serif; 
    font-size: 18px;
    line-height: 1.75;
    color: #2B2E33;
    background-color: #F6F4EE;
	padding-top: 70px;  /* Height of your menu + breathing room */
}

/* Navigation */
nav {
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F6F4EE;
}

nav .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #1F2F4A;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1F2F4A;
}

nav a:hover {
    color: #C6A24A;
}

/* Donate Button */
.btn-donate {
    background: linear-gradient(145deg, #D4AF5A, #C6A24A);
    color: #1F2F4A;
    padding: 12px 28px;
    border-radius: 4px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    margin: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.btn-navy {
    background: #1F2F4A;
    color: #F6F4EE;
}

.btn-gold {
    background: #C6A24A;
    color: #1F2F4A;
}

/* Sections */
/* section {
    max-width: 1000px;
    margin: auto;
    padding: 100px 40px;
}
*/
h1.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 120px;
    color: #1F2F4A;
    margin-bottom: 40px;
}

h2.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    color: #1F2F4A;
    margin-bottom: 40px;
}
h2.priorities {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    color: #1F2F4A;
    margin-bottom: 0;
}
h3.section-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7C8F3A;
}

.section-side-by-side {
  display: flex;
  align-items: flex-start;       /* top-align text with image */
  gap: 20px;                     /* space between image and text */
}

.section-side-by-side img {
  max-width: 40%;
  height: auto;
  width: 35vw;           /* 35% of viewport width - scales with screen */
  max-width: 400px;      /* Don't grow too big on desktop */
  min-width: 250px;      /* Minimum size on mobile */
  height: auto;          /* Maintains aspect ratio */
  object-fit: cover;     /* Perfect cropping if needed */
}

.section-side-by-side .section-text {
  flex: 1;
}

/* Divider */
.divider {
    width: 80px;
    height: 3px;
    background: #C6A24A;
    margin: 60px auto;
}

/* Donate Section */
.donate-section {
    background: #1F2F4A;
    color: #F6F4EE;
    text-align: center;
    padding: 100px 40px;
}

.donate-section h2 {
    color: #F6F4EE;
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
}
/* Demo sections */
.section {
  height: auto;              /* ← Content height, not 100% */
  padding: 20px; 
  margin-top: 0;
  margin: 0 auto;            /* ← Perfect centering */
  max-width: 75%;            /* ← 75% desktop */	
}
.test9 {
height: auto;              /* Fixed height needed for vertical centering */
  padding: 20px; 
  margin-top: 0;
  margin: 0 auto;            /* ← Keeps horizontal centering */
  max-width: 50%;
  
  /* VERTICAL CENTER MAGIC */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* Centers children vertically */
  align-items: center;       /* Centers children horizontally (backup) */
}
#frontpage {background: #FFFFFF ;}	/* front page section */
#section1 { background: #FAF5EF; } /*Rice color */
#section2 { background: #FAFAFA; } /* Daisy color */
#section3 { background: #FBFAF2; } /* Chiffan color A64646 */
#section4 { 
background: #FAFAFA; 

} 


/* Sliders */
  .slide-from-left {
    opacity: 0;
    transform: translateX(-100px);
    background: none;
   /* margin: 200px 0; */
   margin: 0;
    transition: all .5s ease-in;
    display: inline-block;
    width: fit-content;
  }
  
  .slide-from-right {
    opacity: 0;
    transform: translateX(100px);  /* Opposite direction */
    background: none;
    /* margin: 100px 0; */
	margin: 0;
    transition: all .75s ease-in;
    display: inline-block;
    width: fit-content;
  }
  
  .slide-from-left.active,
  .slide-from-right.active {
    opacity: 1;
    transform: translateX(0);
  
  /* contact form */
 .form-container { max-width: 500px; margin: 50px auto; padding: 30px; background: #f9f9f9; border-radius: 10px; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 5px; font-weight: bold; color: #333; }
input[type="text"], input[type="email"], input[type="tel"] { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box; }
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.btn-submit { background: #1F2F4A; color: white; padding: 15px 30px; border: none; border-radius: 5px; font-size: 16px; cursor: pointer; width: 100%; }
.btn-submit:hover { background: #2E4A7D; }
.success { color: green; text-align: center; padding: 20px; }
.error { color: red; text-align: center; padding: 20px; }

 
/* Footer */
footer {
    background: #2B2E33;
    color: #F6F4EE;
    text-align: center;
    padding: 40px;
    font-size: 14px;
}
