@import url('https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #A40000;
    --secondary-color: #760000;
    --text-color: #1a1a1a;
    --bg-white: #FFFEEC;
    --pure-white: #FFFEEC;
    --font-heading: 'Outfit', sans-serif;
    --font-handwritten: 'Nothing You Could Do', cursive;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html,
body {
    overflow-x: hidden;
    background-color: var(--bg-white);
    color: var(--text-color);
    font-family: var(--font-heading);
    scroll-behavior: initial;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 48px;
}

.subheading {
    font-family: var(--font-handwritten);
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}

.subheadingHero {
    background: rgba(255, 255, 255, 0.15);
    font-family: var(--font-handwritten);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 30px;
    font-size: 18px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    color: var(--pure-white);
    margin-bottom: 25px;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    color: var(--pure-white);
}

nav.scrolled .nav-links a {
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

nav.scrolled .nav-links a.active {
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: #fff !important;
    transition: var(--transition);
}

nav.scrolled .mobile-menu-btn span {
    background: #000 !important;
}

.mobile-menu-btn.active span {
    background: var(--primary-color) !important;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Slider */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Marquee Section */
.marquee-section {
    background: var(--primary-color);
    color: var(--pure-white);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    transform: rotate(359deg);
    position: relative;
    z-index: 22;
    bottom: 15px;
}

.marquee-content {
    display: inline-block;
    animation: marquee 110s linear infinite;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0 50px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    /* Inherits global h2 size */
}

/* Menu Section */
.menu-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

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

.menu-img {
    height: 250px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-img img {
    transform: scale(1.1);
}

.menu-info {
    padding: 25px;
    text-align: center;
}

.menu-info h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}


.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.scroll-anim {
    transition: transform 0.1s linear;
}

/* Footer */
footer {
    background: #111;
    color: var(--pure-white);
    padding: 80px 0 30px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-info p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: #777;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--pure-white);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-info-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.contact-item {
    flex: 1;
    background: var(--pure-white);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-wrapper {
    background: var(--pure-white);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
}

.contact-details-side {
    background: var(--primary-color);
    color: var(--pure-white);
    padding: 45px;
    height: 100%;
}

.contact-details-side h2 {
    margin-bottom: 30px;
}

.contact-details-side p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-form-side {
    padding: 38px;
}

.contact-form-side h3 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.contact-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: #fdfdfd;
    border: 1px solid #eee;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    background: #fff;
}

/* Statistics Section */
.stats-counter {
    background: var(--secondary-color) !important;
    color: var(--pure-white) !important;
    position: relative;
    overflow: hidden;
}

.stats-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.stat-box {
    padding: 40px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-counter .row div:last-child .stat-box {
    border-right: none;
}

.stat-box h2 {
    font-size: 4rem;
    color: var(--pure-white) !important;
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-box .subheading {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-transform: capitalize;
}

@media (max-width: 991px) {
    .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px;
    }

    .stats-counter .row div:nth-child(2) .stat-box {
        border-right: none;
    }
}

@media (max-width: 767px) {
    .stat-box h2 {
        font-size: 2.8rem;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.writing-name {
    font-family: var(--font-handwritten);
    font-size: 45px;
    color: var(--primary-color);
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    width: 0;
    margin: 0 auto;
    animation: typing 1.5s steps(7) forwards, blink 0.8s infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 180px;
    }
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}

@media (max-width: 767px) {
    .writing-name {
        font-size: 28px;
    }

    @keyframes typing {
        from {
            width: 0;
        }

        to {
            width: 140px;
        }
    }
}

/* Staggered Preloader Subtitle */
.writing-sub {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1s forwards;
    animation-delay: 2s;
    /* Starts after Ronarai is typed */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inner Page Hero Styles */
.page-hero {
    height: 45vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    margin-bottom: 0;
}

.page-hero::before {
    content: ';
 position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 4rem;
    margin-top: 20px;
}

.footer-text {
    max-width: 300px;
}


.form-header h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.custom-input {
    width: 100%;
    padding: 18px 25px;
    background: #f8f8f8 !important;
    border: 2px solid transparent !important;
    border-radius: 15px;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
}

.custom-input:focus {
    background: #fff !important;
    border-color: var(--primary-color) !important;
    outline: none;
    box-shadow: 0 10px 25px rgba(164, 0, 0, 0.08);
}

.contact-form-side label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    color: #444;
}


.image-stack {
    position: relative;
    padding: 30px;
}

.img-main {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.exp-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--primary-color);
    color: var(--pure-white);
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(164, 0, 0, 0.3);
}

.exp-badge h3 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.exp-badge p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.value-pillars {
    display: grid;
    gap: 30px;
}

.pillar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pillar-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.pillar-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.pillar-info p {
    color: #777;
    font-size: 1rem;
}


/* Utility Classes */
.py-100 {
    padding: 100px 0;
}

.pt-0 {
    padding-top: 0 !important;
}

.mt-30 {
    margin-top: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.d-inline-block {
    display: inline-block;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.p-20 {
    padding: 20px;
}

.cta-section {
    background: var(--bg-white);
    text-align: center;
}

.preloader-content {
    text-align: center;
}

.hero-subheading-white {
    color: var(--pure-white);
}

.footer-links {
    padding: 0;
    margin-top: 20px;
}

.footer-link-item {
    margin-bottom: 10px;
}

.footer-contact-info {
    margin-top: 20px;
}


.pl-30 {
    padding-left: 30px;
}

.mission-desc {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 35px;
}


.custom-input.compact {
    padding: 12px 20px;
    font-size: 0.95rem;
}

.p-15 {
    padding: 15px !important;
}

.footer-contact-info p {
    margin-bottom: 10px;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
}
