@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --primary-color: #041562;
    /* Maroon */
    --secondary-color: #DA1212;
    /* Golden */
    --light-bg-text-color: #000;
    /* Black */
    --dark-bg-text-color: #fff;
    /* White */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}



h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: 'montserrat';
}

p,
button {
    font-family: 'open sans';
}

/* ===== HEADER ===== */
.header-sec {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}


.header-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 20px 0;
}

.header-logo-wrapper h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 50px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    transition: opacity 0.3s ease;
}

.header-logo-wrapper h3:hover {
    opacity: 0.8;
}

.header-logo-wrapper a {
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== OFFCANVAS MENU ===== */
.offcanvas-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offcanvas-overlay.active {
    display: block;
    opacity: 1;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 80vw;
    height: 100%;
    background: #fff;
    z-index: 999;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    line-height: 1;
    transition: color 0.3s ease;
}

.offcanvas-close:hover {
    color: var(--secondary-color);
}

.offcanvas-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offcanvas-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(4, 21, 98, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.offcanvas-link:hover,
.offcanvas-link.active {
    color: var(--secondary-color);
    padding-left: 8px;
}

/* Body scroll lock */
body.menu-open {
    overflow: hidden;
}

.banner-sec {
    background: url(../images/family-crest-banner.webp) no-repeat #0000006b;
    background-size: cover;
    background-position: center;
    min-height: 705px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 0 70px;
    position: relative;
    background-blend-mode: overlay;
}

.banner-content-wrapper {
    text-align: center;
}

.banner-content-wrapper h1 {
    font-size: 50px;
    color: #fff;
    font-weight: 700;
    line-height: 1.5;
}

.banner-content-wrapper p {
    font-size: 18px;
    color: #fff;
    max-width: 65%;
    margin: 0 auto;
    margin-bottom: 19px;
}

.banner-content-wrapper a {
    background: #fff;
    padding: 15px 28px;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 700;
    color: var(--primary-color);
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    align-items: center;
}

/* Shine sweep effect */
.banner-content-wrapper a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 30%,
            rgba(218, 18, 18, 0.15) 50%,
            transparent 70%);
    transition: left 0.5s ease;
}

.banner-content-wrapper a:hover,
.banner-content-wrapper a:focus-visible {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.banner-content-wrapper a:hover::before,
.banner-content-wrapper a:focus-visible::before {
    left: 100%;
}

/* GSAP word spans */
.gsap-word {
    display: inline-block;
}

.banner-content-wrapper a i {
    margin-left: 9px;
    font-size: 16px;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 30px;
    /* align-items: center; */
}

section.about-sec {
    padding: 120px 0 21px;
}

.about-heading-wrapper h5 {
    font-size: 15px;
    font-family: 'Montserrat';
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 3px;
    font-weight: 700;
}

.about-heading-wrapper h2 {
    color: var(--primary-color);
    font-size: 50px;
    text-transform: capitalize;
    font-weight: 700;
}

.about-heading-wrapper {
    padding-bottom: 21px;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 20px;
    min-height: 665px;
    object-fit: cover;
}

.about-tabs-wrapper {
    position: absolute;
    top: 0;
    padding: 17px;
    width: 100%;
}

.about-top-tabs {
    display: flex;
    gap: 15px;
}

.about-tabs {
    background: #FFFFFF66;
    text-transform: capitalize;
    font-family: 'Montserrat';
    font-size: 14px;
    border-radius: 10px;
    padding: 12px 18px;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.about-bottom-tabs {
    display: flex;
    justify-content: end;
    width: 100%;
    padding-right: 30px;
    gap: 15px;
    padding-top: 22px;
}

.about-content-wrapper img {
    border-radius: 10px;
    height: 477px;
    object-fit: cover;
    width: 100%;
}

.about-content-wrapper p {
    font-size: 18px;
    color: #4e4e4e;
    text-transform: capitalize;
    margin: 14.4px 0;
    line-height: 1.6;
}

.about-content-wrapper a {
    background: var(--secondary-color);
    padding: 15px 28px;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 700;
    color: var(--dark-bg-text-color);
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    align-items: center;
}

/* Shine sweep effect */
.about-content-wrapper a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 30%,
            rgba(218, 18, 18, 0.15) 50%,
            transparent 70%);
    transition: left 0.5s ease;
}

.about-content-wrapper a:hover,
.about-content-wrapper a:focus-visible {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.about-content-wrapper a:hover::before,
.about-content-wrapper a:focus-visible::before {
    left: 100%;
}

.about-content-wrapper a i {
    margin-left: 9px;
    font-size: 16px;
}

/* ===== COUNTER SECTION ===== */
.counter-sec {
    padding: 20px 0;
}

.counter-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 18px 0;
    border-top: 1px solid var(--light-bg-text-color);
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 67px;
    font-weight: 700;
    color: var(--light-bg-text-color);
    line-height: 1;
}

.counter-suffix {
    font-family: 'Montserrat', sans-serif;
    font-size: 67px;
    font-weight: 700;
    color: var(--light-bg-text-color);
    line-height: 1;
}

.counter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 10px;
}

section.listing-sec {
    padding: 100px 0 70px;
    background: #E9EAEC;
}

/* ===== ALPHABET FILTER ===== */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-bottom: 30px;
    max-width: 58%;
    margin: 0 auto;
}

.alphabet-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.alphabet-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.alphabet-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(4, 21, 98, 0.25);
}

/* ===== LISTING SEARCH ===== */
.listing-search-wrapper {
    max-width: 500px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 12px;
}

.listing-sort {width:100%;font-family:'Montserrat',sans-serif;font-size:14px;padding:12px;border:2px solid #ddd;border-radius:10px;background:#fff;color:#333;outline:none}
.listing-sort:focus{border-color:var(--primary-color)}

.listing-search-input {
    position: relative;
}

.listing-search-input i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
}

.listing-search-input input {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 14px 20px 14px 48px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.listing-search-input input::placeholder {
    color: #999;
}

.listing-search-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 21, 98, 0.1);
}

/* No results message */
.listing-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.listing-no-results p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #666;
}

.listing-heading-wrapper {
    text-align: center;
    padding-bottom: 30px;
}

.listing-heading-wrapper h5 {
    font-size: 15px;
    font-family: 'Montserrat';
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 3px;
    font-weight: 700;
}

.listing-heading-wrapper h2 {
    color: var(--light-bg-text-color);
    font-size: 50px;
    text-transform: capitalize;
    font-weight: 700;
    max-width: 74%;
    margin: 0 auto;
}

.listing-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

a.list-item,
article.list-item {
    text-decoration: none;
    background: #fff;
    padding: 0px 45px 10px;
    text-align: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a.list-item::before,
article.list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

a.list-item:hover,
article.list-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(4, 21, 98, 0.2);
}

a.list-item:hover::before,
article.list-item:hover::before {
    transform: scaleY(1);
}

.list-content {
    position: relative;
    z-index: 1;
}

.list-img {
    position: relative;
    z-index: 1;
}

.list-content h3,
.list-content p {
    transition: color 0.4s ease;
}

a.list-item:hover .list-content h3,
a.list-item:hover .list-content p,
article.list-item:hover .list-content h3,
article.list-item:hover .list-content p {
    color: #fff;
}

.list-content h3 {
    color: #000;
    font-size: 22px;
    margin: 14px 0;
    font-weight: 700;
}

.list-content p {
    color: #1e1e1e;
    font-size: 18px;
}

/* ===== FOOTER SECTION ===== */
.footer-sec {
    background: var(--primary-color);
    padding: 60px 0 50px;
}

.footer-first-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 40px;
}

.footer-logo-wrapper h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.footer-social-icon {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 7px;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.footer-social-icon a:hover {
    transform: translateY(-3px) scale(1.05);
    background: #b90e0e;
}

.footer-img-wrapper img {
    max-height: 260px;
}

.footer-second-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-links h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.quick-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 10px;
}

.quick-links ul li:last-child {
    margin-bottom: 0;
}

.quick-links ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.quick-links ul li a:hover {
    opacity: 0.7;
}

.subscribe-newsletter {
    margin-top: 0;
}

.subscribe-newsletter form {
    /* display: flex; */
    /* gap: 0; */
}

.subscribe-newsletter input[type="email"] {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 12px 18px;
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    border-right: none;
    border-radius: 10px;
    background: #fff;
    color: #000;
    outline: none;
    min-width: 220px;
    transition: border-color 0.3s ease;
    border: 0;
    width: 100%;
}

.subscribe-newsletter input[type="email"]::placeholder {
    color: #000;
}

.subscribe-newsletter input[type="email"]:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.subscribe-newsletter button {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.subscribe-newsletter button:hover {
    background: #b90e0e;
}

/* Copyright Section */
.copyright-sec {
    background: var(--secondary-color);
    padding: 18px 0;
}

.copyright-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.newsletter-btn {
    padding-top: 16px;
}

.footer-social-icon a i {
    font-size: 23px;
}

.inner-banner-sec {
    background: url(../images/inner-banner.webp) no-repeat #0000006e;
    background-size: cover;
    padding: 70px 0;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-blend-mode: overlay;
}

.banner-breadcrumb ul {
    display: inline-flex;
    gap: 30px;
    padding: 0;
    align-items: center;
}

.banner-breadcrumb ul li {
    color: #fff;
    list-style: none;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Montserrat';
}

.banner-breadcrumb ul li a {
    color: #fff;
    text-decoration: none;
}

.inner-banner-content-wrapper h2 {
    color: #fff;
    font-weight: 700;
    font-size: 50px;
}

.banner-breadcrumb ul li i {
    color: var(--secondary-color);
}

.about-page-image-1 img {
    border-radius: 20px;
    height: 675px;
    object-fit: cover;
    width: 100%;
}

.contact-sec {
    padding: 70px 0;
}

.contact-heading-wrapper {
    text-align: center;
    padding-bottom: 30px;
}

.contact-heading-wrapper h5 {
    font-size: 15px;
    font-family: 'Montserrat';
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 3px;
    font-weight: 700;
}

.contact-heading-wrapper h2 {
    color: var(--light-bg-text-color);
    font-size: 50px;
    text-transform: capitalize;
    font-weight: 700;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 30px;
}

.contact-detail {
    background: #E9EAEC;
    padding: 24px;
    border-radius: 20px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 19px;
}

.contact-detail-item i {
    color: var(--secondary-color);
    font-size: 25px;
}

.contact-detail-content h5 {
    font-size: 24px;
    font-weight: 700;
}

.contact-detail-content p {
    font-size: 18px;
}

.contact-social-items {
    padding: 30px;
    background: var(--primary-color);
    border-radius: 20px;
    text-align: center;
}

.contact-social-items h4 {
    color: #fff;
    font-weight: 700;
}

.social-icons a {
    background: var(--secondary-color);
    color: #fff;
    height: 45px;
    width: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 7px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.08);
    background: #b90e0e;
}

.social-icons a i {
    font-size: 21px;
}

.social-icons {
    display: inline-flex;
    gap: 12px;
}

.input-wrapper {
    padding-bottom: 30px;
}

.input-wrapper label {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat';
    display: block;
    margin-bottom: 8px;
    color: var(--light-bg-text-color);
    transition: color 0.3s ease;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    border: 2px solid #000;
    font-family: 'Montserrat';
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.3s ease;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #aaa;
}

.input-wrapper input:hover,
.input-wrapper textarea:hover {
    border-color: var(--primary-color);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(4, 21, 98, 0.1);
    transform: translateY(-1px);
}

.input-wrapper:focus-within label {
    color: var(--primary-color);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.input-wrapper button {
    background: var(--secondary-color);
    padding: 14px 24px;
    border: 0;
    width: 100%;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat';
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.input-wrapper button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 30%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 70%);
    transition: left 0.5s ease;
}

.input-wrapper button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(218, 18, 18, 0.3);
    background: #c01515;
}

.input-wrapper button:hover::before {
    left: 100%;
}

.input-wrapper button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(218, 18, 18, 0.25);
}

section.contact-map-sec {
    padding: 70px 0;
}

section.contact-map-sec iframe {
    border-radius: 20px;
}
