html {
    scroll-behavior: smooth;
}

*{
    margin:0;
    padding:0;
    font-family: 'Figtree', sans-serif;
}
.header{
    min-height: 100vh;
    width:100%;
    background-image:
        radial-gradient(ellipse 60% 50% at center, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.15) 65%, rgba(255,255,255,0) 100%),
        linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)),
        url(images/mainbanner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.teamheader{
    width: 100%;
    height: 150px; /* set whatever short height you want */
    background-color: #ffffff;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.logo {
    height: 100px;   /* adjust to taste */
    width: auto;    /* keeps aspect ratio */
}

.header-banner {
    /* Position the banner absolutely within the .header section */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Set height to allow room for the logo and a smooth fade */
    height: 150px; 
    /* Gradient: soft white fade at the top for nav legibility, then transparent,
       matching the new light banner image */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.5) 20%,
        rgba(255, 255, 255, 0.15) 60%
    );
    /* Ensure the banner sits behind the navigation but above the background image */
    z-index: 1; 
}

/* Ensure NAV and its contents remain above the banner */
nav {
    position: relative;
    z-index: 2; 
    padding: 2% 6%;
}


nav{
    display:flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 150px;
}
.nav-links{
    flex:1;
    text-align:right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color:#001B3C;
    text-decoration: none;
    font-size:15px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width:100%
}
.text-box{
    width: 90%;
    color: #001B3C;
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
    text-align:center;
}
.text-box h1{
    font-family: 'Libre Baskerville', serif;
    font-size:62px;
    text-shadow: 0 2px 4px rgba(255,255,255,0.9), 0 0 30px rgba(255,255,255,0.7);
}
.text-box p,
.text-box h3{
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    margin:10px 0 40px;
    font-size: 14px;
    color: #001B3C;
    text-shadow: 0 1px 3px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.7);
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #001B3C;
    border: 1px solid #001B3C;
    padding: 12px 34px;
    font-size: 13px;
    background: rgba(255,255,255,0.35);
    position:relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    color: #fff;
    transition: 1s;
}
.lang-switch{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    position: relative;
    z-index: 2;
}
.lang-btn{
    color: #001B3C;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(1,27,60,0.4);
    padding: 6px 12px;
    border-radius: 3px;
    transition: 0.3s;
}
.lang-btn:hover{
    border-color: #f44336;
    background: #f44336;
    color: #fff;
}
.lang-btn.active{
    background: #f44336;
    border-color: #f44336;
    color: #fff;
}

nav .fa { 
    display: none;
}
@media(max-width: 700px){
    .text-box h1{
        font-size:20px;
    }
    .text-box h3{
        font-size: 12px;
        margin: 8px 0 25px;
    }
    .nav-links ul li{
        display:block;
    }
    .nav-links{
        position: fixed;
        background: #001B3C;
        height: 100vh;
        width:200px;
        top: 0;
        right: -200px;
        text-align:left;
        z-index: 2;
        transition:1s;
    }
    /* The slide-out panel keeps its dark navy background, so its links and
       close icon stay white for contrast (unlike the hamburger icon below,
       which sits directly on the new light header). */
    .nav-links ul li a{
        color: #fff;
    }
    nav .fa{
        display: block;
        color: #001B3C;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links .fa{
        color: #fff;
    }
    .nav-links ul{
        padding:30px;
    }
    .lang-switch{
        margin-left: 10px;
    }
    .lang-btn{
        font-size: 11px;
        padding: 5px 8px;
    }
    .logo{
        height: 55px;
    }
    nav{
        padding: 3% 5%;
    }
}




/* About */
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
}

.about-us h1{
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    font-weight:700;
    text-align:center;
    color: #001B3C;
    margin-bottom: 20px;
}


.about-us p{
    color: #403d3d;
    font-family:'Times New Roman', Times, serif;
    font-size: 23px;
    font-weight: 300; 
    text-align: justify;
    line-height: 1.5;
    padding: 0 10px;
}


.about-us p strong {
    font-family:'Times New Roman', Times, serif;
    color: #000000;
    font-weight: 700; 
}




/* Why Us */
.whyus{
    width: 80%;
    margin: auto;
    padding-top: 80px;
}

.whyus h1{
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    font-weight:700;
    text-align:center;
    color: #001B3C;
    margin-bottom: 20px;
}
.whyus-col p {
    color: #000000;
    font-family: 'Libre Baskerville', serif;
    font-size: 19px;
    font-weight: 500;
    text-align: justify;
    line-height: 1.5;
    padding: 10px 20px 20px; 
    margin: 0;
}

.whyus h3{
    font-family: 'Libre Baskerville', serif;
    min-height: 40px;
    padding: 20px 12px 30px; 
    color: #001B3C;
    text-align: center;
    font-weight: 800;
    margin: 0;
}


.row{
    margin-top: 5%;
    display: flex;
    justify-content:space-between;
}

.whyus-col {
    flex-basis: 31%;
    position: relative; 
    overflow: hidden;    
    background: 
        /* Light Gray (#F8F8F8) top section, transitioning sharply to white at 20% */
        linear-gradient(to bottom, #E1E1E1 25%, #F4F4F4 25%);
    
    background-size: 100% 100%;
    background-repeat: no-repeat;
    
    border-radius: 10px;
    margin-bottom: 25px;
    
    /* Remove padding here, we'll apply it to h3 and p to control spacing within the color blocks */
    padding: 0; 
    min-height: 250px;
    box-sizing: border-box;
    transition: 0.5s;    
  
}


.whyus-col::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 8px; 
    background-color: #D4AF37; 
    border-bottom-left-radius: 10px; 
    border-bottom-right-radius: 10px; 
}



.whyus-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 27, 60,0.9);
}

@media(max-width:700px){
    .row{
        flex-direction: column;
    }
}



/* Services - Container Setup */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family:'Libre Baskerville', serif;
}

.service-section {
    height: auto; /* 100vh*/
    width: 100%;
    display: grid;
    place-items: center;
    padding: 80px 0; /*added*/
}

.service-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Match Why Us row */
    margin-top: 5%; /* Match Why Us row */

}

.service-column {
  width: 100%;
  padding: 0 1em 1em 1em;
  text-align: center;
}

.service {
  width: 80%; /* Keep content centered and within reasonable bounds */
  max-width: none; /* Max width to prevent cards from getting too stretched */
  margin: 0 auto; /* Added top/bottom margin for spacing around the section */
  padding-top: 80px;
  text-align: center;
}

/* Heading and paragraph within the service section */
.service h2 {
    font-size: 36px; /* Example, adjust to match your 'Why Us' and 'About Us' headings */
    font-weight: 700;
    color: #1f194c; /* Darker heading color */
    margin-bottom: 20px;
}

.service p {
    font-size: 16px;
    color: #575a7b;
    line-height: 1.6;
    margin-bottom: 40px; /* Space between description and cards */
}


/* Card Styling (No major changes, just ensure height: 100% for consistent card heights) */
.card {
  width: 100%;
  height: 100%; /* Important for equal height cards in a row */
  padding: 2em 1.5em;
  border: 1px solid #f0f0f0;
  background: linear-gradient(#ffffff 50%, #001B3C 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
}

/* Card content styling (specific to cards) */
.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f194c;
  margin: 1em 0;
}
.card p {
  color: #575a7b;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* Icon Wrapper and Hover effects (No changes needed, they are specific) */
.icon-wrapper {
  background-color: #001B3C;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}
.card:hover {
  background-position: 0 100%;
}
.card:hover .icon-wrapper {
  background-color: #ffffff;
  color: #001B3C;
}
.card:hover h3 {
  color: #ffffff;
}
.card:hover p {
  color: #f0f0f0;
}


/* Services - Media Queries for responsive layout */
@media(max-width:700px){
    .row{
        flex-direction: column;
    }
}


@media screen and (min-width: 900px) {
  .service-column {
    flex-basis: calc(25% - 15px); /* 4 columns, accounting for 20px gap */
    max-width: calc(25% - 15px);
  }
}

/* Ensure the main h2 and p in the .service section are styled as needed */
.service > h2 { /* Target the direct h2 child of .service */
    font-family: 'Libre Baskerville', serif; /* Match your other headings */
    font-size: 36px;
    font-weight: 700;
    color: #001B3C;
    margin-bottom: 20px;
}

.service > p { /* Target the direct p child of .service */
    font-family: 'Figtree', sans-serif; /* Match your body text */
    font-size: 16px;
    color: #403d3d;
    line-height: 1.6;
    margin-bottom: 40px; /* More space before the cards start */
}

/*--- Our Team ---*/

.ourteam{
    width: 70%;
    margin:auto;
    text-align:center;
    padding-top:50px;
}

.ourteam h1{
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    font-weight:700;
    text-align:center;
    color: #001B3C;
    margin-bottom: 20px;
}

.ourteam-col{
    width:260px;    
    flex-basis:49%;
    border-radius: 10px;
    margin-bottom: 0px;
    position: relative;
    overflow: hidden;
}

.ourteam-col img{
    width: 100%; 
    display: block;
}


.layer{
    background: transparent;
    height:100%;
    width:100%;
    position: absolute;
    top:0;
    left:0;
    transition:0.5s;
}

.layer h3{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.layer:hover{
    background: rgba(204,163,0,0.7);
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity:0;
    transition:0.5s;
}

.layer:hover h3{
    bottom: 49%;
    opacity:1;
}


/* cta */
.cta{
    margin: 100px auto;
    width: 100%;
    background-image:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(images/banner2.png);
    background-position: center;
    background-size:cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1{
    color:#fff;
    margin-bottom: 10px;
    padding:0;
}

@media(max-width: 700px){
    .cta h1{
        font-size: 24px;

    }
    .ourteam{
        width: 90%;
    }
    .ourteam-col{
        width: 100%;
        max-width: 320px;
        flex-basis: 100%;
        margin: 0 auto 25px auto;
    }
}

/*----footer----*/
.footer{
    width: 100%;
    text-align:center;
    padding:25px 0;
    background-color:#001B3C;
    color:#fff;
}

.footer p{
    margin:0;
    font-size:13px;
    letter-spacing:0.03em;
    color:#fff;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight:600;
}

.icons .fa-brands,.icons .fa-solid,.icons .fa{
    color:#650404;
    margin: 0 13px;
    cursor:pointer;
    padding: 18px 0;
}

/* contact us page*/

.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(images/banner.png);
    background-position: center;
    background-size:cover;
    text-align:center;
    color: #fff;
}

.sub-header h1{
    margin-top: 100px;

}

.location{
    width:80%;
    margin:auto;
    padding:80px 0;
}

.location iframe{
    width:100%;   
}


.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}
.contact-col div{
    display:flex;
    flex-direction: column;
    align-items:center;
    text-align: center;
    flex: 1 1 30%;
    padding: 0 15px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.contact-col div .fa{
    font-size:28px;
    color:#001B3C;
    margin: 0 0 15px 0;
}

.contact-col div p{
    padding:0;
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

.contact-col div p + p{
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col div h5 a,
.contact-col div p a{
    color: inherit;
    text-decoration: none;
}

.contact-col div h5 a:hover,
.contact-col div p a:hover{
    color: #f44336;
    text-decoration: underline;
}

@media(max-width:700px){
    .contact-col div{
        flex-basis: 100%;
    }
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing:border-box;
}

.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.red-btn:hover{
    color: #fff;

}


/* Our Team websites */
.header.short-header{
    min-height: 25vh;
}

@media(max-width: 700px){
    .header.short-header{
        min-height: 30vh;
    }
}

/* Profile section: photo + text side by side */
.profile{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.profile-row{
    display: flex;
    align-items: center;
    gap: 60px;
}

.profile-img{
    flex: 1;
    max-width: 380px;
}

.profile-img img{
    width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
}

.profile-text{
    flex: 1.3;
}

.profile-text h1{
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    font-weight: 700;
    color: #001B3C;
    margin-bottom: 20px;
}

.profile-text p{
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: 300;
    color: #403d3d;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

@media(max-width: 700px){
    .profile-row{
        flex-direction: column;
        gap: 30px;
    }
    .profile-img{
        max-width: 260px;
    }
}



.profile{
    width: 75%;
    max-width: 900px;
    margin: auto;
    padding: 80px 0;
    overflow: hidden; /* contains the float */
}

.profile-photo{
    float: left;
    width: 260px;
    margin: 0 30px 20px 0;
    border-radius: 4px;
    display: block;
}

.profile-name{
    font-family: 'Libre Baskerville', serif;
    font-size: 32px;
    font-weight: 700;
    color: #001B3C;
    border-left: 5px solid #D4AF37;
    padding-left: 15px;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.profile-title{
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    font-weight: 700;
    color: #001B3C;
    text-align: right;
    border-bottom: 2px solid #cca300;
    padding-bottom: 15px;
    margin: 0 0 20px 0;
}

.profile p{
    font-family: 'Times New Roman', Times, serif;
    font-size: 17px;
    font-weight: 400;
    color: #403d3d;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
}

/* Forces this paragraph (and everything after) to start
   below the photo instead of wrapping beside it */
.profile-clear{
    clear: both;
}

@media(max-width: 700px){
    .profile{
        width: 90%;
    }
    .profile-photo{
        float: none;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 20px auto;
    }
    .profile-title{
        text-align: left;
    }
}





