* {padding:0;
margin:0;
box-sizing: border-box;}

body{font-family: 'Open sans', sans-serif !important;
min-height:100vh;}

/* Text Fonts */
h1{color:#000000;
    text-align: center;
font-weight: 700;
font-size:3em;}

h2{color:#000000;
font-weight: 600;
font-size:2.375em;
text-align: center;}

h3{color:#000000;
font-weight: 600;
font-size:2em;}

h4{color:#000000;
font-weight: 600;
font-size:1.5em;}

h5{color:#000000;
font-weight: 500;
font-size:1.25em;}

p{color:#000000;
font-weight: 500;
font-size:1.125em;
text-align:center;}

p1{color:#000000;
font-weight:500;
font-size:1.25em;
line-height: 1.25em;}

p3{color:#000000;
font-weight: 400;
font-size:0.9em;}

a{text-decoration: none;}

h6{color:#000000;
font-weight: 600;
font-size: 1em;
text-align: center;}

/* Navigation Menu */
.navsec{display:flex;
padding: 8px 30px;
background-color: #7C0B0D;
box-shadow: 0 8px 32px 0 rgba(124, 11, 13, 0.2);
justify-content: space-between;}

ul{display:flex;
align-items: center;
list-style: none;}

.logo{display:flex;
    width:100px;
margin-right: auto;}

.logo img{width:100%;}

li{height:50px;}

li a{display:flex;
    align-items: center;
    padding: 0 30px;
    font-size:1em;
text-decoration: none;
color:#ffffff;
font-weight: 500;
height: 100%;
}

li a:hover{background-color: #ffffff1A;
border-radius: 5px;
border: none;}

.herobutton{font-size:1em;
padding:15px;
border-radius: 5px;
color:#7C0B0D;
background-color: #ffffff;
border: none;
font-weight: 600;
cursor:pointer;}

.herobutton:hover{
background-color: #f6f6f6;
color:#a00000;}

.mebutton{font-size:1em;
padding:15px;
border-radius: 5px;
color:#7C0B0D;
background-color: #ffffff;
border: none;
font-weight: 600;
cursor:pointer;}

.mebutton:hover{
background-color: #f6f6f6;
color:#a00000;}

/* Mobile Menu */
.mobilemenu{
    position:fixed;
    top:0;
    right:0;
    height:100vh;
    z-index:999;
    width:350px;
    background-color:  rgba(124, 11, 13, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display:none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.mobilemenu li a{width:100%;
margin-left:20px;
margin-top: 20px;}

.mobilemenu button{
margin-left:20px;
margin-top: 20px;}

.menubutton{display: none;}

/* HERO SECTION */
.hero{padding:50px 0 20px 0;}
h1{padding-bottom: 20px;}
.heroimage{width:100%;
text-align:center;}
.heroimage img{width:80%;}

.section2, .section3{padding:50px 0;
width:80%;
margin:0 auto;}

h2{padding-bottom:20px;}

.section2,.section3 p{padding: 0 200px;}

/* SECTION 4 */
.section4{
padding:20px 0;
margin:0 auto;}

.inside{display:flex;
flex-wrap:flex;
justify-content: center;
align-items: center;
gap:20px;
margin:20px auto;}

.left h2{padding-bottom:20px;
text-align:left;}

.left,
.right {flex: 1;
max-width: 400px;}

.leftul{display:block;
  padding: 0;}

.leftul li{ position: relative;
  padding-left: 35px;
  font-size: 18px;
font-weight: 500;}

.leftul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-115%);
  width: 24px;
  height: 24px;
  background-image: url(/BookAssets/Group.png);
  background-size: contain;
  background-repeat: no-repeat}

.right img {
  width: 100%;
  height: auto;}

/* PARTNER WITH US SECTION*/
.partnersection{background-color: #f6f6f6;}

.partnerwithus{margin:30px, auto;
padding: 50px;
text-align:center;}

.partner button{font-size:1em;
padding:14px 40px;
border-radius: 5px;
color:#ffffff;
background-color: #7C0B0D;
border: none;
font-weight: 600;
cursor:pointer;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);}

.partner button:hover {
    background: #a00000;}

.partner p{margin:30px auto;
width:50%;}

.icons img{width:70px;}

.icons{display:flex;
    justify-content:center;
    align-items: center;
margin:40px auto;
gap:150px;}

.partner3, .partner2{margin-top:-20px;}

h5{color:#000000;
    text-align: center;
font-weight: 500;
font-size:1.25em;
padding-top:10px;}

/* CONTACT US SECTION*/
.contactus h2{text-align: center;
font-weight: 600;}

.contactsection{background-color: #ffffff;
margin:0 auto;
padding: 50px 0;}

.contactus{width:70%;
  margin:0 auto;}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    outline: none;
    font-family: 'Open sans', sans-serif !important;}

/* Focus Effect for Inputs and Textarea */
input[type=text]:focus,
input[type=email]:focus,
input[type=phone]:focus,
textarea:focus {
    border-color: #534d4d;
    outline: none;}

.form-note{color:#888585;
    text-align: center;
font-weight: 400;
font-size:1.2em;
margin-top: 10px;}

.contact-form button {
    background: #7C0B0D;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: 0.3s ease;}

.contact-form button:hover {
    background: #a00000;}

/* FOOTER SECTION*/
footer{background: #000000;
color: #ffffff;
margin: 0 auto;
padding: 50px;
display:grid;
grid-template-columns: 1fr 1fr 1fr;
justify-items: center;}

.flogo{width:100%;
 overflow: hidden;}

.flogo img{width:30%;}

.quicklinks h5{text-align: left;
    font-weight: 600;
padding-bottom: 9px;}

.quicklinks ul{display:flex;
flex-direction: column;
  align-items: flex-start; 
  color:#ffffff;}

.link a{padding-left: 0;
font-size:0.9em; }

.link a:hover{color:#bdbcbc;}

.link li{height:35px;}

footer h5{color:#ffffff;}

.social h5{text-align: left;
font-weight:600;}

.sociallinks p3{color:#ffffff;}

.sicons img{width:20px;
height:20px;
display: flex;
align-items: center;   
justify-content: center;}

.socials{display: flex;
    flex-direction: column;
    align-items: left;
    padding-left: 0px;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;}

.sicons{display: flex;
    align-items: center;   /* aligns icon + text perfectly */
    gap: 12px;}

/* Center the copyright text */
footer p6, 
footer .divider {
    text-align: center;
    color:#a2a1a1;
    display: block;
    width: 100%;}

/* Copyright container spans all columns */
footer .copyright-container {
    text-align: center;
    margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 14px;
    grid-column: 1 / -1;}

/* Media Query -Nav menu*/
@media screen and (max-width: 800px){
    .hideonmobile{display:none;}
    .menubutton{display: block;}
    .menubutton img{width:30px;}
    .herobutton{display:none;} 
    p{color:#000000;
font-weight:500;
font-size:1em;
line-height: 1.25em;}
.leftul li {font-size:1em;}
.rightul li {font-size:1em;}}

@media screen and (max-width:400px){
    .mobilemenu{width:100%;}
    .menubutton{display: block;}
    .herobutton{display:none;}}

/* HERO SECTION */
@media screen and (max-width: 800px){
h2{padding-bottom:20px;
font-size:1.8em;}
h1{font-size:2em;
    padding-bottom:10px;}
.section2,.section3 p{padding: 0 20px;}

/*SECTION 4*/
.section4{
padding:5px 0 30px 0;
margin:0 auto;}
.inside{display:flex;
flex-direction:column;
justify-content: center;
align-items: center;
padding:0 20px;}}

@media screen and (min-width:800px) and (max-width:870px){
.section2, .section3{padding:50px 0;
width:100%;
margin:0 auto;}
.section2,.section3 p{padding: 0 20px;}
    
.inside{display:flex;
flex-wrap:flex;
justify-content: center;
align-items: center;
gap:20px;
margin:20px auto;
padding:0 30px;}}

@media screen and (min-width:800px) and (max-width:1200px){
 .section2, .section3{padding:50px 0;
width:100%;
margin:0 auto;}
.section2,.section3 p{padding: 0 100px;}}

/* MEDIA Query - Partner with us */
@media screen and (max-width:760px){
.icons{display:flex;
    flex-direction: column; 
  gap: 35px;
    justify-content:center;
    align-items: center;
margin:40px auto;}

.partner3, .partner2{margin-top:0px;}

.partner p{margin:30px auto;
width:100%;}}

/* CONTACT US*/
@media screen and (max-width: 768px) {
    .contactus{width:80%;}
    .form-note{font-size:0.8em;}}

/* FOOTER SECTION */
@media screen and (max-width: 768px) {
  footer {
    display:grid;
grid-template-columns: 1fr;
justify-items: center;}

.flogo {text-align: center;}

.quicklinks h5{text-align:center;
font-weight: 700;}

.quicklinks ul{display:flex;
flex-direction: column;
  align-items: center; 
  color:#ffffff;}

.quicklinks li a{padding-left: 30px;
    font-size:0.9em; }

.link li{height:30px;}

.social h5{text-align: center;
font-weight: 700;}

.socials{display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;}

 .quicklinks,
  .sociallinks {
    margin-top: 20px;}}