/* BODY */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6fb;
    color: #004AA6;
    line-height: 1.7;
}

/* HEADER */
header {
    background: white;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.container {
    max-width: 1100px;   /* makes page narrower */
    margin: 0 auto;       /* keeps it centered */
    padding: 0 15px;      /* small horizontal padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    height: 140px;
}

nav a {
    color: #004AA6;
    margin-left: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #ff9900;
}

nav a.active {
    border-bottom: 3px solid #004AA6;
    padding-bottom: 3px;
}

.hero {
    background: linear-gradient(to bottom, rgba(0,40,100,0.6), rgba(0,40,100,0.25)),
                url('hero.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    /*display: flex;
    justify-content: center;*/
    align-items: center;
    padding: 100px 20px;  /* reduced from 160px */
    min-height: 250px;     /* reduced from 500px */
    flex-direction: column;
}

.hero-content h1 {
    font-size: 36px;       /* smaller for all devices */
}

.hero-content p {
    font-size: 18px;       /* readable on all devices */
}

/* TRUST STRIP */
.trust {
    background: linear-gradient(90deg, #004AA6, #0066cc);
    color: white;
    padding: 25px 0;
    font-size: 14px;
}

.trust .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

/* SECTIONS */
.aboutpage, .experience, .mission, .values, .global, 
.product-detail, .contact-info, .expertise, .why, .cta {
    background: white;
    padding: 30px 30px;
    max-width: 1100px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.aboutpage:hover, .experience:hover, .mission:hover, .values:hover, .global:hover, 
.product-detail:hover, .contact-info:hover, .expertise:hover, .why:hover, .cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

h2, .aboutpage h2, .experience h2, .mission h2, .values h2, .global h2,
.product-detail h2, .contact-info h2, .expertise h2, .why h2, .cta h2 {
    font-size: 34px;
    margin-bottom: 25px;
    color: #004AA6;
    text-align: center;
}

p, .aboutpage p, .experience p, .mission p, .global p,
.product-detail p, .contact-info p {
    font-size: 18px;
    margin-bottom: 25px;
    text-align: justify;
}

/* GRID & CARDS */
.grid, .expertise {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    padding: 30px;
    border-radius: 12px;
    width: 240px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s, box-shadow 0.4s;
    font-weight: 500;
    text-align: center;
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* WHY SECTION */
.why {
    background: #002f6c;
    color: white;
}

.why .card {
    background: linear-gradient(145deg, #004AA6, #0066cc);
    color: white;
}

/* CTA */
.cta {
    background: #f0f4ff;
    text-align: center;
    padding: 80px 20px;
}

.btn {
    background: #004AA6;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin: 12px;
    display: inline-block;
    transition: 0.3s, transform 0.3s;
}

.btn:hover {
    background: #002f6c;
    transform: translateY(-3px);
}

/* ANIMATIONS */
.animate-fade, .animate-fade-up, .animate-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-up {
    transform: translateY(50px);
}

.animate-card {
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    nav a {
        margin: 10px 15px 0 15px;
    }

    .grid, .expertise {
        flex-direction: column;
        gap: 20px;
    }

    .aboutpage, .experience, .mission, .values, .global,
    .product-detail, .contact-info {
        padding: 50px 20px;
    }

    .hero {
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }
}

/* FOOTER */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background: #f4f6fb;
    color: #004AA6;
    font-weight: 500;
}

footer p {
    margin: 0;
}

.footer-container {
    max-width: 1100px;        /* same as your sections */
    margin: 0 auto;            /* center container */
    text-align: center;        /* center the text */
    padding: 20px 0;           /* vertical spacing */
    color: #004AA6;
    font-weight: 500;
}

/* ---------------- CONTACT PAGE STYLES ---------------- */
.contact-page-info, .contact-page-form {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.contact-container {
    max-width: 700px;
    margin: 50 auto;       /* centers content */
    text-align: left;    
    font-size: 2em;
}

.contact-page-info h2,
.contact-page-form h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #004AA6;
}

/* FORM STYLING */
.contact-form {
    /*display: flex;
    flex-direction: column;*/
    gap: 20px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.contact-form button.btn {
    padding: 14px 20px;
    background-color: #004AA6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button.btn:hover {
    background-color: #003580;
}

/* Responsive */
@media (max-width: 600px) {
    .contact-page-info, .contact-page-form {
        padding: 40px 15px;
    }
}

.contact-info-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-form-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-form {
    width: 100%;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border: 1px solid #d0d7e2;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    color: #004AA6;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #004AA6;
    box-shadow: 0 0 0 3px rgba(0, 74, 166, 0.15);
    outline: none;
}

/* Placeholder styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8a96a8;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.whatsapp-btn {
    background: #004AA6;
    color: white;
}

/* ==============================================First page Why Adhveya section vertical alignment and centering */
.about .container {
    display: block;       /* ensures all elements stack vertically */
    text-align: center;   /* center heading, paragraphs, closing line */
}

.about h2 {
    margin-bottom: 30px;
}

.about .intro {
    margin-bottom: 15px;
}

.about p {
    max-width: 850px;
    margin: 0 auto 20px auto;  /* centers block horizontally */
    font-size: 18px;
    text-align: center;
    line-height: 1.8;
}

.about .closing {
    margin-top: 25px;
    font-size: 18px;
    font-style: italic;
    color: #002f6c;
    text-align: center;  /* ensures closing line is centered */
    margin-bottom: 50px;
}

/*-----------------Product page---------*/
.product-detail {
    max-width: 900px !important;
    margin: 40px auto !important;
    padding: 40px !important;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

/* fix text alignment conflict */
.product-detail p {
    text-align: left !important;
    line-height: 1.7;
}

/* headings spacing */
.product-detail h2 {
    text-align: center;
    margin-bottom: 20px;
}

.product-detail h3 {
    margin-top: 25px;
    color: #004AA6;
}

/* list styling */
.product-detail ul {
    padding-left: 20px;
}

.product-detail ul li {
    margin-bottom: 8px;
}

/* button spacing */
.product-detail .btn {
    margin-top: 20px;
    display: inline-block;
}

.expertise .grid .card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 74, 166, 0.15);
    color: #004AA6;
    box-shadow: 0 6px 18px rgba(0, 74, 166, 0.08);
    transition: 0.3s ease;
}

.expertise .grid .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 74, 166, 0.18);
    border-color: #004AA6;
}

.expertise .card h3 {
    margin: 0;
    font-size: 18px;
    color: #004AA6;
    text-align: center;
}

.expertise .card p {
    margin: 6px 0 0 0;
    font-size: 14px;
    color: #5a6b85;
    text-align: center;
}

/* optional: make spacing inside card consistent */
.expertise .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none !important;
    gap: 6px;
}


/* MAIN CONTAINER product - detail */

/* MAIN CONTAINER */
.product-detail.container {
    display: block;
}

.product-detail {
    max-width: 950px;
    margin: 50px auto;
    padding: 50px 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: left;
}

/* TITLE */
.product-detail h2 {
    text-align: center;
    font-size: 32px;
    color: #004AA6;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* SUB SECTIONS */
.product-detail h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 20px;
    color: #004AA6;
    border-left: 4px solid #004AA6;
    padding-left: 10px;
}

/* PARAGRAPH */
.product-detail p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
    text-align: left;
}

/* LISTS */
.product-detail ul {
    padding-left: 22px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.product-detail ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
}

/* BUTTON */
.product-detail .btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 26px;
    background: #004AA6;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.product-detail .btn:hover {
    background: #002f6c;
    transform: translateY(-3px);
}

/* HOVER CARD EFFECT */
.product-detail:hover {
    transform: translateY(-3px);
    transition: 0.3s ease;
}


/* subtle premium border glow */
.product-detail {
    border: 1px solid rgba(0, 74, 166, 0.08);
}

/* better visual hierarchy */
.product-detail h2 {
    font-weight: 700;
}

/* refine section headings (premium industrial style) */
.product-detail h3 {
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* softer paragraph tone (global brand feel) */
.product-detail p {
    color: #2f3b52;
}

/* cleaner bullet style */
.product-detail ul li {
    position: relative;
}

/* subtle hover upgrade only (no layout shift) */
.product-detail:hover {
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}
/* product page */
.product-image {
    display: block;
    max-width: 280px;
    width: 100%;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
    border: 1px solid rgba(0, 74, 166, 0.10);
    object-fit: cover;
}


/* Products page intro alignment fix */
.about.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Heading */
.about.container h1 {
    margin-bottom: 15px;
    color: #004AA6;
}

/* Paragraph */
.about.container .intro-text {
    max-width: 850px;
    font-size: 18px;
    line-height: 1.8;
    color: #2f3b52;
    margin: 0 auto;
}

/* about page */


/* FORCE ABOUT PAGE CENTER ALIGNMENT */
.aboutpage,
.mission,
.values {
    text-align: center;
}

/* override global paragraph justify */
.aboutpage p,
.mission p,
.values p {
    text-align: center !important;
    max-width: 900px;
    margin: 0 auto 18px auto;
    line-height: 1.8;
    color: #004AA6;
}

.values ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.values ul li {
    text-align: center;
    margin-bottom: 12px;
}

/* Tile adhesive page */

.product-card{
    margin-bottom: 20px;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    padding: 10px 10px;
}

.product-row{
    display: flex !important;
    flex-direction: row;
    align-items: centers;
    gap: 50px;
}

.product-img{
    flex: 0 0 420px;
    display: flex;
    align-items: center;
}

.product-img img{
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
}

.product-row h2{
    margin-top: 0;
}

/* =========================
   Product Technical Table
   ========================= */

.spec-table{
    width: 100%;
    max-width: 500px;   /* prevents it from becoming too wide */
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 14px;
    background: #fff;
}

.spec-table th,
.spec-table td{
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.spec-table th{
    background: #f5f5f5;
    font-weight: 600;
}

.spec-table tr:hover{
    background: #fafafa;
}


/*==============================
    Brochure Button
================================*/
.brochure-btn {
    background: #004AA6;
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    margin: 12px;
    display: inline-block;
    transition: 0.3s, transform 0.3s;
    text-decoration: none;
    display: block;
    width: fit-content;
    margin: 20px auto;
}

.brochure-btn:hover {
    background: #002f6c;
    transform: translateY(-3px);
}

/*==============================
    Contact page info
================================*/
.contact-row{
    font-size:20px;
    line-height:1.8;
}

.contact-row i{
    font-size:22px;
    margin-top:6px;
}

.contact-row span,
.contact-row a{
    color:#4F4F4F;
    font-weight:500;
    text-decoration:none;
}