/* =========================================
   JAJANTA CONSULTANTS LTD - MASTER STYLESHEET
   Features: Soft UI (Rounded), Interactive Hovers, Responsive Grid
   ========================================= */

/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --brand-red: #c9302c;    
    --brand-black: #000000;  
    --brand-dark: #111111;   
    --bg-light: #f4f4f4;     
    --text-main: #333333;    
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --earth-brown: #1a120b;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; padding: 0; background-color: var(--bg-light);
    color: var(--text-main); line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }
.visually-hidden { display: none !important; }

/* --- 2. TOP BAR (Interactive) --- */
.top-bar { 
    background-color: #1a1a1a; 
    color: #cccccc; 
    font-size: 0.85rem; 
    padding: 10px 0; 
    border-bottom: 1px solid #333; 
}
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }

/* Contact Links Hover */
.contact-info span { margin-right: 20px; }
.contact-info i { color: var(--brand-red); margin-right: 8px; }
.contact-info a { transition: color 0.3s ease; }
.contact-info a:hover { 
    color: var(--brand-red); 
    text-decoration: underline; 
}

.top-links { display: flex; align-items: center; gap: 20px; }

/* Top CTA Button */
.top-cta {
    color: var(--white) !important; background-color: var(--brand-red);
    padding: 8px 20px; border-radius: 50px; /* PILL SHAPE */
    font-size: 0.75rem !important; font-weight: 700 !important; 
    text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid var(--brand-red); transition: all 0.3s ease; display: inline-block;
}
.top-cta:hover { 
    background-color: var(--white); 
    color: var(--brand-red) !important; 
    border-color: var(--white);
}

/* --- 3. HEADER & NAV --- */
header {
    background-color: var(--brand-black); height: 90px; display: flex;
    align-items: center; position: sticky; top: 0; z-index: 1000;
    border-bottom: 4px solid var(--brand-red); box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Layout: Logo Left, Nav Right */
header .container {
    display: flex; justify-content: space-between; align-items: center;
}

/* Rounded Logo Container */
.logo { 
    background-color: var(--white); height: 60px; padding: 5px 25px; 
    border-radius: 30px; /* OVAL */
    display: flex; align-items: center; justify-content: center; 
}
.logo img { height: 40px; width: auto; }

/* Navigation Links */
nav ul { display: flex; align-items: center; }
nav ul li { margin-left: 25px; }
nav ul li a { color: #cccccc; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; position: relative; }

/* Nav Hover Effect (Underline Slide) */
nav ul li a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--brand-red);
    transition: width 0.3s;
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
nav ul li a:hover, nav ul li a.active { color: var(--brand-red); }

/* --- 4. GLOBAL BUTTONS & INPUTS (ROUNDED) --- */
.btn {
    background-color: var(--brand-red); color: var(--white); padding: 15px 40px; 
    border-radius: 50px; font-weight: bold; text-transform: uppercase; 
    border: 2px solid var(--brand-red); display: inline-block; cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover { 
    background-color: var(--white); color: var(--brand-red); 
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* Form Elements */
input, select, textarea {
    border-radius: 25px; border: 1px solid #ddd; padding: 12px 20px; width: 100%; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand-red); }

/* --- 5. FOOTER (INTERACTIVE) --- */
footer { background-color: var(--earth-brown); color: #b0b0b0; margin-top: auto; border-top: 1px solid #333; }
.footer-connect { background-color: rgba(255,255,255,0.03); padding: 50px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-connect .container { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-links-area { padding: 60px 0; }
.footer-flex { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-bottom { background-color: #000; padding: 20px 0; text-align: center; font-size: 0.8rem; }

/* Footer Link Slide Effect */
.footer-col ul li a { 
    display: inline-block; transition: all 0.3s ease; 
}
.footer-col ul li a:hover { 
    color: var(--brand-red); 
    transform: translateX(10px); /* Slide Right */
}

/* Social Icons Glow */
.footer-col a i { transition: all 0.3s ease; }
.footer-col a:hover i { 
    color: var(--brand-red); 
    transform: scale(1.2); 
}

/* Contact Data Highlight */
.footer-contact a { transition: color 0.3s ease; }
.footer-contact a:hover { color: var(--white); text-decoration: underline; }

/* --- 6. FLOATING WHATSAPP BUTTON --- */
.float-btn {
    position: fixed; bottom: 30px; right: 30px; 
    background-color: var(--whatsapp-green); color: white;
    padding: 15px 25px; border-radius: 50px; font-weight: bold; z-index: 9999; 
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.float-btn:hover {
    background-color: #128C7E; 
    transform: translateY(-5px) scale(1.05); /* LIFT & GROW */
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* --- 7. GOLD TERMINAL SPECIFIC (Layout Grid) --- */
.top-deck { display: grid; grid-template-columns: 2.5fr 1fr; gap: 30px; margin-bottom: 40px; }
.chart-section { height: 700px; border-radius: 20px; overflow: hidden; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .top-deck { grid-template-columns: 1fr; } /* Stack Gold Page */
    .chart-section { height: 500px; }
    .footer-flex, .footer-connect .container { grid-template-columns: 1fr 1fr; }
    header .container { flex-direction: column; gap: 15px; } /* Stack Header */
}
@media (max-width: 768px) {
    .top-bar { display: none; } /* Hide top bar on very small screens */
    header { height: auto; padding: 15px 0; }
    .footer-flex { grid-template-columns: 1fr; }
}