/* =========================
   GLOBAL VARIABLES
========================= */
:root {
    --gold: #d4af37;
    --dark-bg: #0a0a0a;
    --dark: #0a0a0a;
    --card-bg: #151515;
    --text-white: #f8f8f8;
    --text-gray: #b0b0b0;
    --light: #f4f4f4;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* =========================
   HEADER
========================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--gold);
    letter-spacing: 3px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 18px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-small {
    padding: 10px 22px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 3px;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--gold);
    color: #000;
}

/* =========================
   MAIN BANNER
========================= */
.main-banner {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.sub-title {
    color: var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.banner-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin: 20px 0;
}

.gold-text {
    color: var(--gold);
}

.banner-content p {
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0.85;
    line-height: 1.8;
}

/* =========================
   PHILOSOPHY SECTION
========================= */
#philosophy {
    padding: 120px 20px;
    background-color: #f9fbf9;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.phi-text h2 {
    font-size: 2.8rem;
    color: #2d5a27;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.phi-text p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #555;
    max-width: 760px;
    margin: 0 auto 50px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item h3 {
    color: #c5a059;
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.stat-item p {
    color: #555;
    font-size: 0.95rem;
}

/* =========================
   HERO SPLIT SECTION
========================= */
.hero-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.split-card {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px;
    transition: all 0.5s ease;
}

.split-card:hover {
    flex: 1.2;
}

.ai-side {
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200') center/cover;
}

.food-side {
    background: url('https://png.pngtree.com/thumb_back/fh260/background/20241201/pngtree-fully-automated-food-processing-factory-with-robots-image_16718635.jpg') center/cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.35));
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 520px;
}

.tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
}

.card-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 15px 0;
}

.card-content p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
    font-size: 0.92rem;
    color: var(--text-gray);
}

/* =========================
   BUTTONS
========================= */
.main-btn {
    display: inline-block;
    padding: 15px 38px;
    background: transparent;
    border: 1px solid var(--text-white);
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    margin-top: 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

/* =========================
   SERVICES SECTION
========================= */
.services-section {
    padding: 100px 40px;
    background-color: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid #222;
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: #444;
}

.service-box.gold-border {
    border-bottom: 3px solid var(--gold);
}

.service-box h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-box p {
    color: var(--text-gray);
    font-size: 0.92rem;
}

/* =========================
   FOOTER
========================= */
footer {
    background-color: #050505;
    padding: 80px 40px 20px;
    border-top: 1px solid #1a1a1a;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-brand,
.footer-links,
.footer-contact {
    min-width: 0;
}

.footer-brand p {
    margin-top: 15px;
    color: var(--text-gray);
    max-width: 320px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--gold);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.92rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 12px;
    font-size: 0.92rem;
    line-height: 1.7;
    word-break: break-word;
}

.footer-bottom {
    margin-top: 55px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.82rem;
    color: #666;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

    .hero-container {
        flex-direction: column;
    }

    .split-card {
        min-height: 75vh;
    }

    .banner-content h1 {
        font-size: 2.6rem;
    }

    .card-content h1 {
        font-size: 2.5rem;
    }

    .phi-text h2 {
        font-size: 2rem;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-brand p {
        margin: 15px auto 0;
        max-width: 100%;
    }

    .nav-links {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .nav-container {
        justify-content: center;
    }

    .logo {
        font-size: 1.4rem;
    }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 600px) {

    .main-banner {
        padding: 0 15px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 0.95rem;
    }

    .split-card {
        padding: 25px;
    }

    .card-content h1 {
        font-size: 2rem;
    }

    .main-btn {
        padding: 12px 28px;
        font-size: 0.75rem;
    }

    footer {
        padding: 60px 20px 20px;
    }

    .phi-text p {
        font-size: 1rem;
    }

    .sub-title {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }
}

.page-section {
    padding: 120px 20px;
    text-align: center;
    background: #0a0a0a;
    color: #fff;
}

.page-section h1 {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.page-section p {
    max-width: 800px;
    margin: auto;
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ai-port */
/* PAGE HERO */
.page-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 3.5rem;
    color: #d4af37;
}

.page-hero p {
    max-width: 700px;
    margin: 15px auto 0;
    color: #ccc;
    font-size: 1.2rem;
}

/* IMAGE + TEXT SECTION */
.image-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    gap: 50px;
    background: #0a0a0a;
    color: #fff;
}

.image-section.reverse {
    flex-direction: row-reverse;
}

.img-box img {
    width: 500px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.text-box h2 {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.text-box p {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .image-section {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .image-section.reverse {
        flex-direction: column;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* swarnpushp About & contact */

.about-section {
    padding: 80px 20px;
    background: #111;
    color: #fff;
    text-align: center;
}

.about-text-only {
    max-width: 800px;
    margin: auto;
}

.about-text-only h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-text-only p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 15px;
}

.contact-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.contact-item {
    background: #1b1b1b;
    padding: 20px;
    border-radius: 10px;
}

.contact-item p {
    color: #ccc;
}

.inquiry-section {
    margin-top: 30px;
    padding: 80px 20px;
    background: #111;
    color: #fff;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
}

.inquiry-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
}

.inquiry-box {
    text-align: center;
}

.inquiry-box h2 {
    margin-bottom: 10px;
}

.inquiry-box p {
    color: #ccc;
    margin-bottom: 20px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inquiry-form input,
.inquiry-form textarea {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #1b1b1b;
    color: #fff;
    outline: none;
}

.inquiry-form button {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #d4af37;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

.inquiry-form button:hover {
    background: #b8922e;
}

/* Social Links */
.footer-social {
    margin-top: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #27ae60;
}