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

/* FONT */
 body {
    overflow-x: hidden;
}
body {
   
    font-family: 'Roboto', sans-serif;
    color: #111;
    min-height: 100vh;          /* Full viewport height */
    display: flex;              /* Enable flexbox */
    flex-direction: column;     /* Stack content vertically */
}

/* NAVBAR */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    height: 55px;
}

.logo-text {
    height: 38px;
}

nav a {
    margin-left: 24px;
    text-decoration: none;
    font-weight: 500;
    color: #111;
}

nav a.active {
    color: red;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* HERO SECTION */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 60px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* LIGHT OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
}

/* CONTENT BOX */
.hero-content {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
    padding: 36px 40px;
    max-width: 720px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* TEXT STYLING */
.hero-content h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 14px;
}

.hero-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 22px 0 10px;
}

.hero-content p {
    font-size: 15.5px;
    line-height: 1.7;
}

.hero-content ul {
    margin-top: 10px;
    padding-left: 18px;
}

.hero-content li {
    font-size: 15px;
    margin-bottom: 8px;
}

/* PAGE BACKGROUNDS */
.home-hero {
    background-image: url("images/home-image.jpg");
}

.about-hero {
    background-image: url("images/about-image.jpg");
}

.products-hero {
    background-image: url("images/chemicl\ Screenshot\ 2025-12-29\ 212525_edited.png");
}

.contact-hero {
    background-image: url("images/contact-image.jpg");
}



/* HOME PAGE LAYOUT */
.home-section {
    padding: 60px 20px;
}

.home-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}


/* LEFT TEXT */
.home-text {
    flex: 1;
}

.home-text h1 {
    font-size: 30px;   /* reduced from 36 */
    line-height: 1.25;
    margin-bottom: 12px;
}


.home-text h2 {
    margin-top: 32px; 
    font-size: 30px;   /* reduced from 36 */
    line-height: 1.25;
    margin-bottom: 12px;
}

.home-text p {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
}

.home-text ul {
    padding-left: 18px;
}

.home-text li {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* RIGHT IMAGE */
.home-image {
    flex: 0.95; /* image reduced by ~5% */
}

.home-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ABOUT PAGE LAYOUT */
.about-section {
    padding: 60px 20px;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* LEFT TEXT */
.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 30px;
     line-height: 1.25;
    margin-bottom: 12px;
}

.about-text p {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
}

/* RIGHT IMAGE */
.about-image {
    flex: 0.95; /* image reduced by ~5% */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* PRODUCTS PAGE LAYOUT */
.products-section{
padding:80px 20px 200px 20px;
text-align:center;
}

.products-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* LEFT TEXT */
.products-text {
    flex: 1;
}

.products-text h1 {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.products-text h2 {
    font-size: 30px;
    margin-top: 32px;
    line-height: 1.25;
    margin-bottom: 12px;
}
.products-text ul {
    margin-bottom: 18px;
}

.products-text li {
    font-size: 18px;   /* increased from default */
    line-height: 1.6;
    margin-bottom: 8px;
}

.products-text p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #333;
}


/* RIGHT IMAGE */
.products-image {
    flex: 0.95; /*  image reduced by ~5% */ 
}

.products-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* CONTACT PAGE LAYOUT */
.contact-section {
    padding: 60px 20px;
    background: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
/* CONTACT TOP ROW: TEXT + MAP */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* GET IN TOUCH FULL WIDTH BELOW */
.contact-form-section {
    grid-column: 1 / -1;   /* spans full width */
    margin-top: 60px;
}

/* CENTER THE FORM */
.contact-form-container {
    justify-content: center;
}


/* LEFT TEXT */
.contact-text {
    flex: 1;
}

.contact-text h1 {
    font-size: 34px;
    margin-bottom: 16px;
}

.contact-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 14px;
}



/* MAP */
.contact-map {
    flex: 1;
    height: 440px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.contact-map iframe {
    width: 110%;
    height: 100%;
    border: 0;
}

/* PRODUCTS BUTTONS SECTION */
.product-buttons-section {
    padding: 80px 20px;
    background: #fff;
}

.products-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 600;
}

/* GRID */
.product-buttons-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* CARD STYLE */
.product-card {
    height: 180px;
    border-radius: 18px;
    background-size: 100%;          /* 👈 slight zoom out */
background-repeat: no-repeat;
background-position: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* LIGHT OVERLAY */
.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55); /* makes image light */
}

/* TEXT */
.product-card span {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    background: rgba(255,255,255,0.75);
}

/* HOVER EFFECT */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(213, 178, 178, 0.4);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .product-buttons-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-buttons-container {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ANGLED SPLIT SECTION
================================ */

/* MAIN SECTION */
.angled-section {
    position: relative;
    width: 100%;                                                                                                         
    min-height: 550px;
    background: #f7f7f7;
    display: flex;
    overflow: visible; /* 🔑 IMPORTANT */
}

/* IMAGE WRAPPER */
.angled-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 57%;
    height: 120%;
    z-index: 0;
    display: block;
}

/* IMAGE ITSELF */
.angled-image img {
    width: 99%;
    height: 85%;
    display: block;
    object-fit: contain;       /* SHOW FULL IMAGE */
    object-position: center;   /* CENTER */
    transform: scale(0.93);    /* slight zoom-out */
    background: transparent;
}

/* WHITE ANGLED CONTENT */
.angled-content {
    position: relative;
    z-index: 2;
    width: 55%;
    background: #ffffff;
    padding: 70px 70px 70px 80px;

    clip-path: polygon(
        0 0,
        85% 0,
        100% 50%,
        85% 100%,
        0 100%
    );
}


/* TEXT STYLING */
.angled-content h1 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 18px;
}

.angled-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 14px;
}

.angled-content h2 {
    font-size: 26px;
    margin-top: 26px;
    margin-bottom: 14px;
}

.angled-content ul {
    padding-left: 18px;
}
.angled-content {
    padding-right: 120px;  /* prevents text touching image */
}

.angled-content ul li {
    font-size: 16px;
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .angled-section {
        flex-direction: column;
        min-height: auto;
    }

    .angled-content {
        width: 100%;
        clip-path: none;
        padding: 40px 30px;
    }

    .angled-image {
        position: relative;
        height: 300px;
    }
}

/* CONSISTENT CONTENT ALIGNMENT */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 70px 60px 80px;
}

/* Headings spacing */
.page-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.page-content h3 {
    font-size: 22px;
    margin-top: 36px;
    margin-bottom: 12px;
}

.page-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 18px;
}

.page-content ul li {
    margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 900px) {
    .page-content {
        padding: 40px 30px;
    }
}

/* TOP ROW LAYOUT: CONTACT + MAP */
.contact-top {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 80px;
}

/* MAP HEIGHT CONTROL */
.contact-map {
    height: 550px;
}

/* RESPONSIVE FIX */
@media (max-width: 900px) {
    .contact-top {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 300px;
    }
}
/* =====================================
   WHO WE ARE – LOCK FINAL TYPOGRAPHY
   (Matches screenshot exactly)
===================================== */

.who-we-are-text h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 14px;
}

.who-we-are-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
    max-width: 95%;
}


/* FINAL ALIGNMENT FIX */
.who-we-are-text {
    margin-left: -135px;   /* pulls text LEFT */
}
@media (max-width: 900px) {
    .who-we-are-text {
        margin-left: 0 !important;   /* overrides -140px safely */
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===============================
   WHO WE ARE – FINAL (CLEAN)
================================ */

.who-we-are-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
}

/* RIGHT TIMELINE */
.timeline-wrapper {
    position: relative;
    padding-left: 60px;
}

/* VERTICAL LINE */
.timeline-line {
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

/* HEXAGON GRID */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* HEXAGON CONTAINER (Ensure they have space to move) */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
}

/* HEXAGON STYLE */
.year-hex {
    width: 110px;
    height: 64px;
    background: #f0f0f0;
    color: #d62828;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(
        25% 0%,
        75% 0%,
        100% 50%,
        75% 100%,
        25% 100%,
        0% 50%
    );

    /* Initial State */
    opacity: 0;
    transform: translateY(20px);

    /* ANIMATION SETTINGS:
       - 2.5s: Slow motion duration
       - ease-in-out: Smooth start and stop
       - infinite: Keeps repeating
       - alternate: Moves back and forth smoothly 
    */
    animation: fadeUp 2.5s ease-in-out infinite alternate;
}

/* STAGGERED DELAYS (Creates the wave effect) */
.year-hex:nth-child(1) { animation-delay: 0.1s; }
.year-hex:nth-child(2) { animation-delay: 0.3s; }
.year-hex:nth-child(3) { animation-delay: 0.5s; }
.year-hex:nth-child(4) { animation-delay: 0.7s; }
.year-hex:nth-child(5) { animation-delay: 0.9s; }
.year-hex:nth-child(6) { animation-delay: 1.1s; }
.year-hex:nth-child(7) { animation-delay: 1.3s; }
.year-hex:nth-child(8) { animation-delay: 1.5s; }
.year-hex:nth-child(9) { animation-delay: 1.7s; }
.year-hex:nth-child(10) { animation-delay: 1.9s; }

/* KEYFRAMES */
@keyframes fadeUp {
    0% {
        opacity: 0.3; /* Slight ghosting at the bottom */
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HOVER EFFECT (Interactive) */
.year-hex:hover {
    background: #d62828;
    color: #ffffff;
    cursor: pointer;
    transition: 0.3s ease;
}
/* MOBILE */
@media (max-width: 900px) {
    .who-we-are-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline-wrapper {
        padding-left: 0;
        margin-top: 40px;
    }

    .timeline-line {
        display: none;
    }

    .timeline-grid {
        justify-items: center;
    }
}

/* Container to center the text in the white gap */
.typewriter-section {
    width: 100%;
    background-color: #ffffff;
    padding: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.typewriter-text {
    /* Requested Font Style */
    font-family: 'Courier New', Courier, monospace;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    
    /* Layout Mechanics */
    overflow: hidden;      /* Hides the characters not yet typed */
    white-space: nowrap;   /* Keeps everything on one line */
    border-right: 3px solid #e31e24; /* Red cursor to match logo */
    margin: 0 auto;
    display: block;
    width: 0;

    /* 6s total: 
       - 2s typing
       - 3s resting (readable)
       - 1s reset/pause
    */
    animation: 
        typing-logic 15s steps(45, end) infinite,
        blink-cursor 0.2s step-end infinite;
}

/* The Loop Logic: No backward erasing */
@keyframes typing-logic {
    0% { width: 0; }
    30% { width: 100%; }   /* Finish typing by 30% mark */
    85% { width: 100%; }   /* Stay fully visible until 85% */
    100%, 100% { width: 0; } /* Instantly snap back to zero at the end */
}

/* The Blinking Cursor */
@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: #e31e24; }
}

/* Mobile Friendly Adjustment */
@media (max-width: 768px) {
    .typewriter-text {
        font-size: 15px;
        border-right-width: 2px;
    }
}

.authorized-stockist-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    background-color: #fff;
    min-height: 80px;
}

/* This container ensures the text has a central area to live in */
.typewriter-container {
    flex-grow: 1;
    display: flex;
    justify-content: center; 
}

.typewriter-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    overflow: hidden; 
    white-space: nowrap; 
    border-right: 3px solid #e31e24; 
    display: inline-block;
    width: 0;

    /* Total time 12s: typing is now spread across 70% of that time for a slower feel */
    animation: 
        type-and-reset 12s steps(45, end) infinite,
        blink-cursor 0.8s step-end infinite;
}

.typewriter-line {
    display: inline;
}

.authorized-logos {
    display: flex;
    justify-content: flex-end; /* Locks logos to the right */
    align-items: center;
    gap: 20px;
    flex-shrink: 0; 
    min-width: 200px; /* Ensures space on the right so text doesn't overlap */
}

.authorized-logos img {
    height: 55px; 
    width: auto;
    object-fit: contain;
}

/* KEYFRAMES FIXED FOR SLOWER SPEED & NO BACK-ANIMATION */
@keyframes type-and-reset {
    0% { width: 0; }
    45% { width: 100%; }   /* Slower typing: reaches full width at 70% instead of 30% */
    90% { width: 100%; }   /* Stay visible to read */
    95%, 100% { width: 1%; } /* Snap back to start instantly */
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: #e31e24; }
}

@media (max-width: 900px) {
    .authorized-stockist-section {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }
    .typewriter-container {
        width: 100%;
    }
    .typewriter-text {
        font-size: 12px;
        white-space: normal;
        width: auto;
        border-right: none;
        animation: none;
        text-align: center;
    }
    .typewriter-line {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        width: 0;
        margin: 0 auto;
    }
    .line-1 {
        border-right: 2px solid transparent;
        animation: mobile-type-line-1 12s steps(36, end) infinite;
    }
    .line-2 {
        border-right: 2px solid transparent;
        animation:
            mobile-type-line-2 12s steps(12, end) infinite;
    }
    .authorized-logos {
        justify-content: center;
    }
}

@keyframes mobile-type-line-1 {
    0% { width: 0; }
    34% { width: 36ch; }
    90% { width: 36ch; }
    95%, 100% { width: 0; }
}

@keyframes mobile-type-line-2 {
    0%, 34% { width: 0; }
    46% { width: 12ch; }
    90% { width: 12ch; }
    95%, 100% { width: 0; }
}

/* =======================================
   FINAL MOBILE RESPONSIVE FIX
   (Does NOT change desktop layout)
======================================= */

@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    /* NAVBAR */
    .nav-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 6px 10px;
        font-size: 14px;
    }

    /* AUTHORIZED STOCKIST SECTION */
    .authorized-stockist-section {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .authorized-logos {
        justify-content: center;
    }

    .authorized-logos img {
        height: 45px;
    }

    /* ANGLED SECTION FIX */
    .angled-section {
        flex-direction: column;
        width: 100%;
    }

    .angled-content {
        width: 100%;
        clip-path: none;
        padding: 30px 20px;
    }

    .angled-image {
        position: relative;
        width: 100%;
        height: auto;
    }



    /* WHO WE ARE SECTION */
    .who-we-are-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .who-we-are-text {
        margin-left: 0 !important;
    }

    /* TIMELINE */
    .timeline-wrapper {
        padding-left: 0;
        margin-top: 30px;
    }

    .timeline-line {
        display: none;
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .year-hex {
        width: 85px;
        height: 55px;
        font-size: 14px;
    }


}

/* =====================================
   ABOUT PAGE – MOBILE RESPONSIVE ONLY
   (No desktop impact)
===================================== */

@media (max-width: 768px) {

    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
    }

    /* ANGLED SECTION STACK */
    .angled-section {
        flex-direction: column;
        width: 100%;
    }

    .angled-image {
        position: relative;
        width: 100%;
        height: auto;
    }



    .angled-content {
        width: 100%;
        clip-path: none;
        padding: 30px 20px;
    }

    .angled-content h1 {
        font-size: 26px;
    }

    .angled-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* VISION & MISSION SECTION */
    .page-content {
        padding: 30px 20px;
    }

    .page-content h2 {
        font-size: 24px;
        margin-top: 28px;
    }

    .page-content p {
        font-size: 15px;
        line-height: 1.6;
    }

}


/* ===============================
   PRODUCTS PAGE – MOBILE FIX
   (Does NOT change desktop)
================================ */

@media (max-width: 900px) {

    /* Navbar stack */
    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 5px 10px;
    }

    /* Products grid to 1 column */
    .product-buttons-container {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 20px;
    }

    /* Product cards full width */
    .product-card {
        height: 160px;
    }

    .product-card span {
        font-size: 16px;
        padding: 14px;
    }

    /* Remove empty image block on mobile */
    .products-image {
        display: none;
    }

    /* Title adjust */
    .products-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Footer */
    .site-footer {
        text-align: center;
        font-size: 13px;
        padding: 15px;
    }
}


/* ===================================
   CONTACT PAGE – MOBILE RESPONSIVE
   (Does NOT change desktop layout)
=================================== */

@media (max-width: 900px) {

    /* Navbar stack */
    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 5px 10px;
    }

    /* Contact top stack (Text + Map) */
    .contact-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

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

    .contact-text p {
        font-size: 15px;
    }

    /* Map resize */
    .contact-map {
        height: 300px;
    }

    .contact-map iframe {
        width: 100%;
        height: 100%;
    }
}
/* CONTACT FORM SECTION */
.contact-form-section {
    padding: 100px 20px;
    background: transparent;
    display: flex;
    justify-content: center;
}

/* CONTAINER */
.contact-form-container {
    width: 100%;
    max-width: 900px;   /* controls form width */
    margin: 0 auto;
}

/* FORM BOX */
.contact-form-box {
    width: 100%;
    background: #ffffff;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 15px 40px #503b3be2;
}

/* HEADING */
.contact-form-box h2 {
    font-size: 28px;
    margin-bottom: 5px;
    text-align: center;
}

/* INPUTS */
.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 17px;
    transition: all 0.3s ease;
}

/* INPUT FOCUS EFFECT */
.contact-form-box input:focus,
.contact-form-box textarea:focus {
    border-color: #5c0303;
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 201, 67, 0.15);
}

.contact-form-box textarea {
    min-height: 140px;
    resize: vertical;
}

/* BUTTON */
.contact-form-box button {
    width: 100%;
    background: #7ac943;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form-box button:hover {
    background: #6bb23c;
}
   

/* MOBILE HEIGHT ADJUST */
@media (max-width: 900px) {
    .google-form-container iframe {
        height: 900px;
    }
}

.vm-section {
    width: 100%; /* Changed from 90% to allow extreme right placement */
    max-width: 100%; 
    margin: 80px 0;
    padding: 0; 
}

.vm-row {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    margin-bottom: 80px;
    width: 85%; /* Changed from 90% to push image to the absolute edge */
}

.vm-text {
    flex: 1;
    text-align: left;
    padding-left: 80px; /* Keep this if you want it to align with your "About" text */
}

.vm-text h2 {
    font-size: 28px;
    margin-bottom: 14px;
    color: #111;
}

.vm-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 14px;
}

.vm-image-container {
    flex: 0 0 500px; /* Fixed width to hold the image area */
    display: flex;
    justify-content: flex-end; /* 🔑 This pins the image to the extreme right */
}
 

.vm-image-container img {
    width: 80%; /* Sized to fit comfortably in the hexagon */
    height: auto;
    max-width: 400px;
    object-fit: contain; /* 🔑 Ensures the whole image is visible inside the hex */
    
    /* 🔑 Professional Hexagon Shape (Chemical Ring Style) */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    
    background-color: #f4f4f4; /* Subtle background for any empty hex space */
    border-radius: 30px; /* Hexagon works best without standard border-radius */
}
/* Mobile Fix */
@media (max-width: 900px) {
    .vm-row {
        flex-direction: column;
        width: 100%;
    }
    .vm-text {
        padding-left: 20px; /* Reduces gap on mobile */
    }
    .vm-image-container {
        width: 100%;
        flex: none;
        justify-content: center;
        margin-top: 20px;
    }
}

.idx-section {
    width: 100%; /* Changed from 90% to allow extreme right placement */
    max-width: 100%; 
    margin: 80px 0;
    padding: 0; 
}

.idx-row {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    margin-bottom: 80px;
    width: 85%; /* Changed from 90% to push image to the absolute edge */
}

.idx-text {
    flex: 1;
    text-align: left;
    padding-left: 100px; /* Keep this if you want it to align with your "About" text */
}

.idx-text h2 {
    font-size: 28px;
    margin-bottom: 14px;
    color: #111;
}

.idx-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 14px;
}

.idx-image-container {
    flex: 0 0 360px; /* Fixed width to hold the image area */
    display: flex;
    justify-content: flex-end; /* 🔑 This pins the image to the extreme right */
}
 

.idx-image-container img {
    width: 80%;
    height: auto;
    max-width: 400px;

    object-fit: contain;

    clip-path: polygon(
        25% 0%,
        75% 0%,
        100% 50%,
        75% 100%,
        25% 100%,
        0% 50%
    );

    background-color: #f4f4f4;
    border-radius: 30px;
    margin-left: 60px;   /* 👈 ADD THIS */
}

.site-footer {
    width: 100%;
    background: #bdbdbd;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #000;
    margin-top: auto;
}
@media (max-width: 900px) {
    .idx-image-container img {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
}

@media (max-width: 900px) {
    .vm-image-container img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

/* SAFE MOBILE FIX ONLY */
@media (max-width: 900px) {
    .angled-section {
        width: 100% !important;
        overflow: hidden !important;
    }
}

/* =====================================================
   FINAL GLOBAL MOBILE RESPONSIVE FIX
   (SAFE – DOES NOT CHANGE DESKTOP)
===================================================== */

@media (max-width:900px){
    /* WHO WE ARE IMAGE CENTER FIX (mobile only) */
.angled-image{
    position: relative !important;
    width: 100% !important;
    height: auto !important;

    display: flex;
    justify-content: center;
    align-items: center;
}

.angled-image img{
    width: 75%;
    max-width: 320px;
    height: auto;

    object-fit: contain;
    object-position: center;

    margin: 30px auto;
    transform: none !important;
}

/* GLOBAL */
*{
    max-width:100%;
}

body{
    overflow-x:hidden;
}

/* NAVBAR */
.nav-container{
    flex-direction:column;
    gap:10px;
    text-align:center;
}

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

nav a{
    margin:6px 10px;
    font-size:14px;
}

/* HERO */
.hero{
    padding:40px 20px;
    min-height:auto;
}

.hero-content{
    padding:25px;
}

.hero-content h1{
    font-size:24px;
}

.hero-content h2{
    font-size:18px;
}

.hero-content p{
    font-size:14px;
}

/* HOME PAGE */
.home-container{
    flex-direction:column;
    gap:30px;
}

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

.home-text h2{
    font-size:22px;
}

.home-text p,
.home-text li{
    font-size:16px;
}

/* ABOUT */
.about-container{
    flex-direction:column;
}

.about-text p{
    font-size:16px;
}

/* PRODUCTS */
.products-container{
    flex-direction:column;
}

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

.products-text h2{
    font-size:22px;
}

.products-text p,
.products-text li{
    font-size:16px;
}

/* PRODUCT CARDS */
.product-buttons-container{
    grid-template-columns:1fr;
}

.product-card{
    height:150px;
}

/* CONTACT */
.contact-container{
    grid-template-columns:1fr;
}

.contact-map{
    height:300px;
}

.contact-map iframe{
    width:100%;
}

/* ANGLED SECTION */
.angled-section{
    flex-direction:column;
}

.angled-content{
    width:100%;
    clip-path:none;
    padding:30px 20px;
}

.angled-content h1{
    font-size:24px;
}

.angled-content p{
    font-size:15px;
}

/* ANGLED SECTION IMAGE FIX */
.angled-image{
    position: relative !important;
    
    height: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.angled-image img{
    width: 90%;
    height: auto;
    margin: 0 auto;
    transform: none;
}


/* TIMELINE */
.timeline-grid{
    grid-template-columns:repeat(2,1fr);
}

.year-hex{
    width:85px;
    height:55px;
    font-size:13px;
}

/* VISION MISSION */
.vm-row{
    flex-direction:column;
    width:100%;
}

.vm-text{
    padding-left:20px;
}

.vm-image-container{
    justify-content:center;
    margin-top:20px;
}

/* IDX SECTION */
.idx-row{
    flex-direction:column;
    width:100%;
}

.idx-text{
    padding-left:20px;
}

.idx-image-container{
    justify-content:center;
    margin-top:20px;
}

/* TYPEWRITER */
.typewriter-text{
    font-size:15px;
}

/* AUTHORIZED LOGOS */
.authorized-stockist-section{
    flex-direction:column;
    gap:20px;
    padding:20px;
}

.authorized-logos{
    justify-content:center;
}

/* FOOTER */
.site-footer{
    font-size:13px;
    padding:12px;
}

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

/* ===============================
   PRODUCTS SECTION
================================ */

.products-section{
padding:80px 20px;
text-align:center;
}

.products-title{
font-size:36px;
margin-bottom:80px;
font-weight:600;
color:#222;
}



/* ===============================
   MOLECULE CONTAINER
================================ */

.molecule-container{
position:relative;
max-width:1300px;
height:1300px;   /* increased height */
margin:80px;
}


/* ===============================
   BUBBLE BASE STYLE
================================ */

.bubble{

position:absolute;

display:flex;
align-items:center;
justify-content:center;

text-align:center;

border-radius:50%;

background:#9bde9f;

color:#333;

font-weight:600;
line-height:1.3;

text-decoration:none;

padding:20px;

box-shadow:0 15px 35px rgba(0,0,0,0.15);

transition:all 0.4s ease;

}



/* ===============================
   BUBBLE SIZES
================================ */

.small{
width:140px;
height:140px;
font-size:13px;
}

.medium{
width:180px;
height:180px;
font-size:15px;
}

.large{
width:220px;
height:220px;
font-size:17px;
}

/* ===============================
   MOLECULE SCATTER POSITIONS
================================ */

.bubble:nth-child(1){ top:60px; left:150px; }
.bubble:nth-child(2){ top:40px; left:340px; }
.bubble:nth-child(3){ top:60px; left:650px; }
.bubble:nth-child(4){ top:80px; left:1110px; }
.bubble:nth-child(5){ top:60px; left:1180px; }

.bubble:nth-child(6){ top:300px; left:90px; }
.bubble:nth-child(7){ top:260px; left:360px; }
.bubble:nth-child(8){ top:340px; left:640px; }
.bubble:nth-child(9){ top:260px; left:920px; }
.bubble:nth-child(10){ top:320px; left:1180px; }

.bubble:nth-child(11){ top:540px; left:60px; }
.bubble:nth-child(12){ top:520px; left:320px; }
.bubble:nth-child(13){ top:580px; left:700px; }
.bubble:nth-child(14){ top:520px; left:880px; }
.bubble:nth-child(15){ top:560px; left:1180px; }
.bubble:nth-child(16){ top:650px; left:1250px; }

.bubble:nth-child(17){ top:780px; left:120px; }
.bubble:nth-child(18){ top:760px; left:380px; }
.bubble:nth-child(19){ top:820px; left:640px; }
.bubble:nth-child(20){ top:800px; left:920px; }
.bubble:nth-child(21){ top:820px; left:1180px; }

.bubble:nth-child(22){ top:1040px; left:230px; }
.bubble:nth-child(23){ top:1000px; left:360px; }
.bubble:nth-child(24){ top:1040px; left:660px; }
.bubble:nth-child(25){ top:1000px; left:990px; }


/* ===============================
   FLOATING ANIMATION
================================ */

/* FLOAT ANIMATION 1 */
@keyframes float1{
0%{ transform:translate(0px,0px); }
25%{ transform:translate(10px,-8px); }
50%{ transform:translate(-6px,-15px); }
75%{ transform:translate(-10px,5px); }
100%{ transform:translate(0px,0px); }
}

/* FLOAT ANIMATION 2 */
@keyframes float2{
0%{ transform:translate(0px,0px); }
25%{ transform:translate(-12px,8px); }
50%{ transform:translate(8px,14px); }
75%{ transform:translate(12px,-6px); }
100%{ transform:translate(0px,0px); }
}

/* FLOAT ANIMATION 3 */
@keyframes float3{
0%{ transform:translate(0px,0px); }
25%{ transform:translate(6px,-12px); }
50%{ transform:translate(-10px,-6px); }
75%{ transform:translate(8px,10px); }
100%{ transform:translate(0px,0px); }
}

/* FLOAT ANIMATION 4 */
@keyframes float4{
0%{ transform:translate(0px,0px); }
25%{ transform:translate(-8px,-10px); }
50%{ transform:translate(12px,-4px); }
75%{ transform:translate(-6px,12px); }
100%{ transform:translate(0px,0px); }
}
.bubble:nth-child(4n+1){
animation: float1 7s infinite ease-in-out;
}

.bubble:nth-child(4n+2){
animation: float2 8s infinite ease-in-out;
}

.bubble:nth-child(4n+3){
animation: float3 9s infinite ease-in-out;
}

.bubble:nth-child(4n+4){
animation: float4 10s infinite ease-in-out;
}

/* ===============================
   HOVER EFFECT
================================ */

.bubble:hover{

background:#b2f0ca;

transform:scale(1.12);

box-shadow:
0 0 15px #efd4d4,
0 0 30px rgb(242, 245, 242),
0 20px 45px rgba(0,0,0,0.25);

}



/* ===============================
   MOLECULE SCATTER EFFECT
================================ */

.bubble:nth-child(2){
margin-top:80px;
}

.bubble:nth-child(3){
margin-top:-40px;
}

.bubble:nth-child(4){
margin-top:60px;
}

.bubble:nth-child(5){
margin-top:-50px;
}

.bubble:nth-child(6){
margin-top:80px;
}

.bubble:nth-child(7){
margin-top:-40px;
}

.bubble:nth-child(8){
margin-top:60px;
}

.bubble:nth-child(9){
margin-top:-60px;
}

.bubble:nth-child(10){
margin-top:50px;
}

.bubble:nth-child(11){
margin-top:-40px;
}

.bubble:nth-child(12){
margin-top:70px;
}



/* ===============================
   MOBILE RESPONSIVE
================================ */

@media (max-width:900px){

.products-section{
padding:48px 16px;
}

.products-title{
font-size:30px;
margin-bottom:32px;
}

.molecule-container{

height:auto;
display:grid;
grid-template-columns: repeat(2, 1fr);
gap:20px 16px;
justify-items:center;
justify-content:center;
width:100%;
max-width:320px;
margin:24px auto 0;
padding:0;

}

/* disable absolute layout */

.bubble{
position:relative;
top:auto !important;
left:auto !important;
margin:0 !important;
padding:10px;
line-height:1.25;
}

/* bubble sizes */

.large{
width:124px;
height:124px;
font-size:11px;
}

.medium{
width:108px;
height:108px;
font-size:10px;
}

.small{
width:92px;
height:92px;
font-size:9px;
}

}

@media (min-width:700px) and (max-width:900px){

.molecule-container{
grid-template-columns: repeat(3, 1fr);
gap:18px 14px;
max-width:520px;
}

.large{
width:112px;
height:112px;
font-size:10px;
}

.medium{
width:96px;
height:96px;
font-size:9px;
}

.small{
width:82px;
height:82px;
font-size:8px;
}

}


/* very small phones */

@media (max-width:500px){

.molecule-container{
grid-template-columns: repeat(2,1fr);
gap:16px 12px;
justify-content:center;
width:100%;
max-width:280px;
margin:20px auto 0;
padding:0;
}

.large{
width:112px;
height:112px;
font-size:10px;
}

.medium{
width:96px;
height:96px;
font-size:9px;
}

.small{
width:82px;
height:82px;
font-size:8px;
}

}

/* ===============================
   POPUP BACKGROUND
================================ */

.product-popup{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.6);

display:flex;
align-items:center;
justify-content:center;

opacity:0;
pointer-events:none;

transition:0.3s;

z-index:999;
}

/* show popup */

.product-popup:target{
opacity:1;
pointer-events:auto;
}

/* ===============================
   POPUP BOX
================================ */

.popup-box{

background:white;
padding:35px;

border-radius:12px;

width:400px;
max-width:90%;

text-align:center;

box-shadow:0 20px 50px rgba(0,0,0,0.3);

font-family:'IBM Plex Sans', sans-serif;
}

.popup-box h3{
margin-bottom:20px;
}

/* ===============================
   FORM INPUTS
================================ */

.popup-box form{
display:flex;
flex-direction:column;
gap:12px;
}

.popup-box input,
.popup-box textarea{

padding:12px;

border-radius:6px;
border:1px solid #ddd;

font-size:14px;

width:100%;
}

.popup-box textarea{
resize:none;
}
.popup-box p{
margin-bottom:20px;
line-height:1.6;
padding:0 10px;
}
/* ===============================
   BUTTON
================================ */

.popup-btn{

margin-top:10px;
padding:12px;

background:#f3f8a1;

border:none;

border-radius:8px;

font-weight:600;

cursor:pointer;
}

.popup-btn:hover{
background:#bcfabe;
}

/* ===============================
   CLOSE BUTTON
================================ */

.close-popup{

display:block;
margin-top:15px;

text-decoration:none;

color:#888;
font-size:14px;
}

.popup-buttons{
display:flex;
justify-content:center;
gap:15px;
margin-bottom:15px;
flex-wrap:wrap;
}

.popup-btn{
padding:12px 20px;
background:#f3f8a1;
border-radius:8px;
text-decoration:none;
font-weight:600;
color:#222;
}

.popup-btn:hover{
background:#f3f8a1;
}
