:root {
    --primary: #0066cc;
    --secondary: #00a3cc;
    --accent: #66cc00;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray: #6c757d;
    --hero-bg: #0069a1;
    --transparent-white: rgba(255, 255, 255, 0.1);
    --transparent-white-more: rgba(255, 255, 255, 0.297);
    --transparent-white-text: rgba(255, 255, 255, 0.7);
    --transparent-dark: rgba(0, 0, 0, 0.1);
    --transparent-dark-more: rgba(0, 0, 0, 0.2);
}

/* ------------------------
   Base
   ------------------------ */
* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

body {
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

p {
    text-align: justify;
}

/* Headings */
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 15px;
}

/* ------------------------
   Buttons
   ------------------------ */
.btn,
.btn-read,
.exp {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.exp {
    font-size: 18px;
}

.btn:hover,
.btn-read:hover,
.exp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--transparent-dark);
}

.btn-read:hover {
    background-color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ------------------------
   Section Title
   ------------------------ */
.section-title {
    text-align: center;
    margin-bottom: 60px
}

.section-title h3 {
    font-size: 50px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 0;
}

.section-title h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--accent);
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
    text-align: center;
}

/* ------------------------
   Header & Nav
   ------------------------ */
header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--transparent-dark);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: .6rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    padding: 0;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.logo span {
    color: var(--accent);
}

nav {
    margin-right: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: color .3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

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

nav ul li a:hover:after{
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
}

.mobile-nav-toggle:focus {
    outline: none;
}

/* ------------------------
   Hero
   ------------------------ */
.hero {
    background: url("../img/bg-hero.png") center/cover no-repeat;
    background-color: var(--hero-bg);
    color: var(--white);
    padding-top: 150px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0 80px;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 4rem;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
    text-align: right;
    padding: 20px;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px var(--transparent-dark-more);
    padding: 5px;
    background-color: var(--transparent-white);
}

.image-container img {
    height: 400px;
}

/* ------------------------
   Content Sections (paushtika, nutri, detail)
   ------------------------ */
.paushtika,
.nutri {
    padding: 100px 0px 0px 0px;
}

.paushtika,
.nutri,
.detail {
    background-color: var(--light);
}

.paushtika-content,
.nutri-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.paushtika-content {
    gap: 30px;
}

.nutri-content {
    gap: 80px;
}

.paushtika-text,
.nutri-text {
    flex: 1;
}

.paushtika-text h4,
.nutri-text h4 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.paushtika-text p,
.nutri-text p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.6;
}

.paushtika-image,
.nutri-image {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 10px;
    justify-content: center;
}

.paushtika-image {
    border-radius: 15px;
    background-color: var(--light);
}

.paushtika-image img,
.nutri-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Detail cards */
.container-detail {
    background-color: var(--light);
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

.detail-cards {
    display: flex;
    padding: 0 50px 50px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.detail-card {
    flex: 1;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 4px 8px var(--transparent-dark);
    transition: transform .3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card img {
    height: 100px;
    object-fit: cover;
    padding: 10px;
}

.detail-card h5 {
    margin: 15px 0 5px;
    font-size: 20px;
}

/* ------------------------
   Contact
   ------------------------ */
.contact {
    display: flex;
    color: var(--white);
    background: url(../img/bg-hero.png) center/cover no-repeat var(--hero-bg);
    padding: 50px 0;
}

.contact .container {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 0;
}

.con {
    padding: 0 !important;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.contact-image {
    flex: 1.3;
    padding-top: 3%;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.contact-text h1 {
    color: var(--white);
}

.contact-form {
    margin-top: 20px;
    width: 400px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    background: #00a3cc66;
    color: var(--white);
    caret-color: var(--white);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, .532);
}

.form-control:focus {
    border-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 0 0 2px var(--transparent-white-more);
    outline: none;
    background: #00a3cc66;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.message {
    background: #007bff86;
    border: none;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all .3s ease;
}

.message:hover {
    background: #007BFF86;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .263);
}

.note {
    margin-top: 20px;
    color: var(--transparent-white-text);
    font-size: 14px;
}


/* Hidden logo used in mobile nav */
.logo1 {
    display: none;
}

/* ------------------------
   Responsive
   ------------------------ */
@media (min-width:1400px) {
    .contact .contact-text {
        padding-right: calc(((100% - 1320px)/2) + .75rem);
    }
}

@media (max-width:1199px) {
    .hero h2 {
        font-size: 42px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 18px;
    }

    .paushtika-content {
        gap: 30px;
    }
}

@media (max-width:991px) {

    .hero-content,
    .paushtika-content,
    .nutri-content {
        flex-direction: column;
        gap: 0;
        padding: 1.5rem .5rem;
    }

    .paushtika-text {
        max-width: 100%;
    }

    .hero-text,
    .nutri-text,
    .hero-image,
    .paushtika-image,
    .nutri-image {
        max-width: 100%;
        padding: 15px;
    }

    .nutri {
        padding: 10px 0;
    }

    .hero-text {
        padding: 8% 2%;
        margin-bottom: 1rem;
        text-align: center;
    }

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

    .hero-image img {
        max-width: 85%;
    }

    .paushtika-image {
        order: -1;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title h3 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .contact .container {
        padding: 0 15px;
    }
}

@media (max-width:768px) {
    .logo1 {
        display: flex;
        align-items: center;
        padding: 1.2rem 3.5rem;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
    }

    .logo1 img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .logo1 h1 {
        font-size: 24px;
        font-weight: 700;
        color: var(--primary);
        margin: 0;
    }

    .logo1 span {
        color: var(--accent);
    }

    /* mobile nav */
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 0 20px rgba(0, 0, 0, .2);
        z-index: 999;
        overflow-y: auto;
        transition: left .3s;
    }

    nav ul.active {
        display: flex;
        left: 0;
    }

    nav ul li {
        margin: 0;
        padding: 15px 30px;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        font-size: 18px;
        width: 100%;
    }

    /* overlay for mobile nav */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .5);
        z-index: 998;
        visibility: hidden;
        opacity: 0;
        transition: opacity .3s, visibility .3s;
    }

    body.menu-open::after {
        visibility: visible;
        opacity: 1;
    }

    .header-container {
        padding: 0;
        justify-content: left;
    }

    .mobile-nav-toggle {
        display: block;
        padding: 10px 15px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--dark);
        z-index: 1001;
    }

    .hero {
        padding: 120px 0 0;
    }

    .hero h2 {
        font-size: 28px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .image-container img {
        height: 300px;
    }

    .btn-outline {
        margin-left: 0;
    }

    .paushtika,
    .products,
    .contact {
        padding: .9rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .row {
        flex-direction: column;
    }

    .contact-image {
        display: none;
        order: -1;
    }

    .contact-text {
        width: 100%;
    }

    .contact-form {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }



    .detail-card {
        flex: 1 1 100%;
        max-width: 100%;
    }



    .section-title h3 {
        text-align: center;
    }

    .section-title h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width:576px) {
    .container {
        padding-left: 0;
        padding-right: 0;
    }

    .header-container {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .hero h2,
    .hero-text h2 {
        font-size: 1.75rem;
    }

    .section-title h3 {
        font-size: 22px;
    }



    .btn,
    .btn-read,
    .exp {
        padding: 10px 20px;
    }

    .hero-text h2 {
        line-height: 2.6rem;
        padding-top: 0;
        margin: 0;
        margin-bottom: 3rem;
    }

    .contact-text h1 {
        font-size: 24px;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout:none) {

    input,
    textarea {
        font-size: 16px !important;
    }

    .form-control:focus {
        font-size: 16px !important;
    }
}