/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* GLOBAL */
body {
    background: #f9f2f2;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.header {
    background: #004690;
    padding: 15px 0;
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
}

.btn {
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.contact-btn {
    background: white;
    color: black;
}

/* HERO */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: #e7ebf0;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.primary {
    background: #15a105;
    color: rgb(255, 255, 255);
}

.primary:hover { transform: translateY(-3px);}

.secondary {
    background: #0b6bcb;
    color: rgb(255, 255, 255);
}

.secondary:hover { transform: translateY(-3px);}

/* SECTION */
.section {
    padding: 100px 0;
}

.grey {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: black;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.blog-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.6;
}

.blog-container h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.blog-container h2 {
    margin-top: 30px;
    color: #0d1b2a;
}

.blog-intro {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.blog-image {
    width: 100%;
    margin: 20px 0;
    border-radius: 10px;
}

.highlight {
    background: #e9ecef;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
}

.formula {
    background: #f1f3f5;
    padding: 10px;
    border-left: 4px solid #0d1b2a;
    margin: 10px 0;
}


.card img {
    margin-bottom: 10px;
}






/* CALCULATOR */
.calculator-section {
    padding: 50px 0px 280px 0px;
}

.form-group {
    margin-bottom: 15px;
}

input, select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* INPUT SPACING FIX */
#inputs input {
    display: block;
    width: 100%;
    margin-bottom: 12px;   /* gap between inputs */
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-group button {
    flex: 1;
    padding: 12px;
    background: #004690;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* SHAPE IMAGE */
#shapeImage {
    border-radius: 10px;
    padding: 15px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* SHAPE IMAGE - IMPROVED */
.shape-img {
    width: 100%;
    max-width: 300px;   /* Increase size */
    height: auto;
    display: block;
    margin: 20px auto;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


#result {
    margin-top: 30px;
    padding: 20px;
    background: #f1f3f5;
    border-radius: 10px;
}

/* FULL PAGE CENTER */
.coming-section {
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
}

/* CARD BOX */
.coming-box {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in-out;
}

/* TEXT */
.coming-box h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.coming-box p {
    margin-bottom: 10px;
    color: #555;
}

.sub-text {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

/* BUTTON */
.primary-btn {
    background: #0d1b2a;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

/* HOVER EFFECT */
.primary-btn:hover {
    background: #1b263b;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 24px;
    padding: 15px 18px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}

/* FOOTER */
.footer {
    background: #004690;
    color: white;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer a {
    color: #fca311;
    margin-left: 10px;
    text-decoration: none;
}

/* RESET BUTTON */
button[onclick="resetCalculator()"] {
    background-color: #3c53e7;
    color: #fff;
    border: none;
    padding: 10px 40px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

button[onclick="resetCalculator()"]:hover {
    background-color: #3cbfc8;
}

/* CALCULATE BUTTON */
button[onclick="calculate()"] {
    background-color: #117d11;
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

button[onclick="calculate()"]:hover {
    background-color: #3cbfc8;
}

/* INPUT SPACING - LEFT ALIGNED */
#inputSection input {
    margin-bottom: 12px;   /* spacing between inputs */
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
#inputSection input {
    position: relative;
    z-index: 1;
}

/* INPUT + SELECT SPACING */
#inputSection input,
#inputSection select,
#wallTypeSection select {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-bottom: 14px;   /* main spacing */
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* ADD SPACE ABOVE EACH SECTION */
#inputSection,
#wallTypeSection {
    margin-top: 15px;
}

/* OPTIONAL: BUTTON SPACING */
#btnSection {
    margin-top: 15px;
}

/* STANDARD NOTE BOX */
.standard-note {
    margin-top: 12px;
    padding: 12px 15px;
    background: #f4f8fb;
    border-left: 4px solid #0077cc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* ADD SPACE BETWEEN ALL MAJOR SECTIONS */
.calculator-section .container > * {
    margin-bottom: 15px;
}

.standard-note {
    margin-top: 15px;
    margin-bottom: 20px;   /* IMPORTANT */
    padding: 12px 15px;
    background: #f4f8fb;
    border-left: 4px solid #0077cc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

#inputSection {
    margin-top: 15px;
}

#inputSection input,
#inputSection select {
    margin-bottom: 12px;
}

#btnSection {
    margin-top: 20px;
}

/* RESET ALL BUTTON */
button[onclick="resetAll()"] {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

button[onclick="resetAll()"]:hover {
    background-color: #3cbfc8;
}