/* --- General Reset & Fonts --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- Layout Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #004080;
    /* Navy Blue */
    color: #fff;
}

.btn-primary:hover {
    background-color: #002a55;
}

.btn-success {
    background-color: #28a745;
    /* Green */
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #004080;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: #28a745;
}

/* --- Header & Top Bar --- */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar i {
    margin-right: 5px;
    color: #4CAF50;
}

.navbar {
    padding: 15px 0;
    background: #fff;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #004080;
}

/* --- Dropdown Menu --- */
.dropdown {
    position: relative;
    /* display: inline-block; is inherited from li typically, but safe to add if needed. 
       However, nav-menu is flex, so li items are flex items. Setting position relative is key. */
}

.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    /* Space for the icon */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 240px;
    /* Wide enough for long text */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-radius: 0 0 5px 5px;
    top: 100%;
    left: 0;
    border-top: 3px solid #28a745;
}

.dropdown-content a {
    color: #444;
    padding: 14px 18px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 500;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #28a745;
    padding-left: 22px;
    /* Smooth slide effect */
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    cursor: pointer;
    background-color: #000;
    /* Black background */
    width: 45px;
    height: 45px;
    border-radius: 5px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px auto;
    background-color: #fff;
    /* White lines */
    transition: 0.3s;
}

/* X Animation */
.hamburger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    background-color: #fff;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    color: #28a745;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3rem;
    color: #004080;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Logo Section --- */
.logo-section {
    padding: 40px 0;
    text-align: center;
    background: #f4f4f4;
}

.main-logo img {
    max-width: 200px;
}

/* --- Brands Section --- */
.brands {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}

.section-title {
    color: #004080;
    margin-bottom: 40px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.brands-grid img {
    height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.brands-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* --- Services Overview --- */
.services-overview {
    padding: 80px 0;
    background: #fff;
}

.section-heading {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.section-description {
    max-width: 700px;
    margin-bottom: 40px;
    color: #666;
}

.services-list {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.service-item i {
    color: #28a745;
    margin-right: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card img {
    height: 60px;
    margin-bottom: 20px;
}

/* --- Testimonial --- */
.testimonial {
    background-color: #004080;
    color: #fff;
    padding: 80px 0;
}

.testimonial-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.testimonial-image img {
    width: 300px;
    border-radius: 10px;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin: 20px 0;
}

.client-name {
    font-weight: bold;
    color: #28a745;
}

.testimonial-icon {
    width: 50px;
}

/* --- Award Services Cards --- */
.award-services {
    padding: 80px 0;
    text-align: center;
}

.award-services .section-description {
    margin-left: auto;
    margin-right: auto;
}

.award-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.award-card,
.secondary-card {
    padding: 40px 30px;
    border-radius: 10px;
    color: #fff;
    text-align: left;
}

.award-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Prevent images from stretching */
}

.award-card .btn {
    margin-top: auto;
    align-self: center;
}

.award-card img,
.secondary-card img {
    height: 50px;
    margin-bottom: 20px;
    /* make icons original color */
    filter: none;
}

.award-card h3,
.secondary-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.award-card p,
.secondary-card p {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Card Colors */
.blue-card {
    background-color: #004080;
}

.white-card {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.white-card img {
    filter: none;
}

/* Original icon color for white card */

.green-card {
    background-color: #28a745;
}

.secondary-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.gray-card {
    background-color: #4a4a4a;
}

.navy-card {
    background-color: #002a55;
}

/* --- Commitment Section --- */
.commitment {
    padding: 80px 0;
    background: #fff;
}

.commitment-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.commitment-text {
    flex: 1;
}

.commitment-image {
    flex: 1.3;
}

.commitment-image img {
    width: 100%;
    border-radius: 10px;
}

.commitment-list {
    margin: 30px 0;
    list-style: disc;
    padding-left: 20px;
}

.commitment-list li {
    margin-bottom: 15px;
}

/* --- Footer --- */
.footer {
    background-color: #222;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #28a745;
}

/* =========================================
   New Split Hero Section Styles (50/50 View)
   ========================================= */

/* ප්‍රධාන Section එක - Flexbox භාවිතා කර දෙපැත්තට බෙදීම */
.hero-split {
    display: flex;
    width: 100%;
    min-height: 85vh;
    /* තිරයෙන් 85% ක උසක් ලබා දීම */
    overflow: hidden;
    /* අනවශ්‍ය Scrollbars සැඟවීම */
}

/* වම් පැත්ත සහ දකුණු පැත්ත 50% බැගින් බෙදා ගැනීම */
.hero-split-content,
.hero-split-image {
    flex: 0 0 50%;
    width: 50%;
}

/* --- වම් පැත්ත (Text කොටස) --- */
.left-side-blue {
    /* පින්තූරයේ ඇති නිල් පැහැති Gradient එක */
    background: linear-gradient(135deg, #005bea 0%, #00c6fb 100%);
    display: flex;
    align-items: center;
    /* සිරස් අතට (Vertical) මැදට ගැනීම */
    justify-content: flex-end;
    /* Text ටික දකුණු පැත්තට තල්ලු කිරීම (Image එක ලඟට) */
    padding: 60px 0;
}

/* Text ටික හරියටම වෙබ් අඩවියේ අනිත් content එක්ක align කිරීමට */
.split-inner-container {
    max-width: 600px;
    /* සාමාන්‍ය container එකෙන් භාගයක් */
    padding-left: 20px;
    padding-right: 50px;
    /* Image එක සහ Text එක අතර පරතරය */
}

/* Text වර්ණ සුදු පාට කිරීම */
.hero-subtitle-white {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.hero-title-white {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-description-white {
    margin-bottom: 40px;
    color: #ffffff;
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Button එක තරමක් විශාල කිරීම */
.big-btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 0;
    /* කොටු හැඩය (Square corners) - පින්තූරයේ ඇති පරිදි */
}

/* --- දකුණු පැත්ත (Image කොටස) --- */
.right-side-img {
    position: relative;
    height: auto;
    /* දෙපැත්තේ උස සමානව තබා ගැනීම */
}

.right-side-img img {
    width: 100%;
    height: 100%;
    /* ඉතා වැදගත්: පින්තූරය ඇද නොවී සම්පූර්ණ කොටස පිරවීම සඳහා */
    object-fit: cover;
    object-position: center center;
    /* පින්තූරයේ මැද කොටස පෙන්වීම */
    display: block;
}

/* =========================================
   Services Split Layout (50/50 View)
   ========================================= */

.services-overview {
    padding: 80px 0;
    background-color: #fff;
}

/* ප්‍රධාන Wrapper එක - Flexbox මගින් දෙපැත්තට බෙදීම */
.services-split-layout {
    display: flex;
    align-items: center;
    /* උඩින් සහ යටින් මැදට */
    gap: 50px;
    /* මැද පරතරය */
}

/* --- වම් පැත්ත (Text) --- */
.left-text-content {
    flex: 1;
    /* 50% පළල */
}

.section-heading {
    font-size: 2.2rem;
    color: #002a55;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* List එක පේළියට (Vertical) */
.services-list-vertical .service-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #444;
    font-weight: 500;
}

.services-list-vertical i {
    color: #28a745;
    /* කොළ පාට Tick එක */
    margin-right: 12px;
    font-size: 1.1rem;
}

.mt-btn {
    margin-top: 30px;
}

/* --- දකුණු පැත්ත (Grid Cards) --- */
.right-grid-content {
    flex: 1;
    /* 50% පළල */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* තීරු 2ක් (2 Columns) */
    gap: 20px;
}

.service-box {
    background-color: #f0f4f8;
    /* ලා නිල්/අළු පසුබිම */
    padding: 30px 20px;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.service-box:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #004080;
}

.service-box img {
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}

.service-box h3 {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

/* =========================================
   New Combined Hero Section (Matches Capture1.jpg)
   ========================================= */

/* ප්‍රධාන Wrapper එක - Flexbox මගින් දෙපැත්තට බෙදීම */
.main-hero-wrapper {
    display: flex;
    width: 100%;
    min-height: 90vh;
    /* තිරයෙන් 90% ක උසක් */
}

/* --- වම් පැත්ත (Text + Logo Column) --- */
.hero-left-column {
    flex: 1;
    /* 50% පළල */
    display: flex;
    flex-direction: column;
    /* උඩින් Text, යටින් Logo */
}

/* 1. නිල් පාට Text කොටස */
.hero-blue-area {
    background: linear-gradient(135deg, #2b70c9 0%, #4a9df0 100%);
    /* පින්තූරයේ ඇති නිල් Gradient එක */
    flex: 1;
    /* ඉතිරි ඉඩ පුරවා ගැනීම */
    display: flex;
    align-items: center;
    /* මැදට ගැනීම */
    padding: 60px 40px;
}

.content-inner {
    max-width: 600px;
    margin: 0 auto;
    /* මැදට ගැනීම */
}

.hero-subtitle {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-desc {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-btn {
    padding: 12px 35px;
    border-radius: 0px;
    /* කොටු හැඩය */
    font-weight: bold;
    font-size: 0.9rem;
}

/* 2. සුදු පාට Logo කොටස */
.hero-logo-area {
    background-color: #ffffff;
    padding: 30px 40px;
    /* Logo කොටස අවශ්‍ය ප්‍රමාණයට පමණක් ඉඩ ගනී */
}

.hero-logo-img {
    max-width: 250px;
    /* Logo එකේ ප්‍රමාණය පාලනය කිරීම */
    height: auto;
}

/* --- දකුණු පැත්ත (Full Height Image) --- */
.hero-right-image {
    flex: 1;
    /* 50% පළල */
    position: relative;
}

.hero-right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* පින්තූරය ඇද නොවී සම්පූර්ණ කොටසම වැසෙන ලෙස */
    display: block;
}

/* =========================================
   Brands Section Styles (Updated for Color & Size)
   ========================================= */

.brands-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.brand-heading {
    font-size: 1rem;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 700;
}

.brand-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* ඉඩ මදි වුනොත් පේළි කඩාගෙන යටට එන්න */
    gap: 60px;
    /* ලෝගෝ අතර පරතරය වැඩි කළා */
}

.brand-logos-container img {
    height: 85px;
    /* උස 40px තිබ්බ එක 85px කළා (දැන් ගොඩක් ලොකුවට පෙනේවි) */
    width: auto;
    object-fit: contain;

    /* පහත කොටස් දෙකෙන් තමයි Color එක හදන්නේ */
    filter: none;
    /* Grayscale අයින් කළා -> දිගටම Color එක තියෙනවා */
    opacity: 1;
    /* බොඳ ගතිය අයින් කළා -> පැහැදිලිව පෙනෙනවා */

    transition: transform 0.3s ease;
}

/* මවුස් එක ගෙන ගිය විට පොඩ්ඩක් zoom වෙන්න */
.brand-logos-container img:hover {
    transform: scale(1.1);
}

/* --- වම් පැත්ත (Text + Logo Column) --- */
.hero-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;

    /* මෙන්න මේ Gradient එකෙන් තමයි නිල් සහ සුදු ලස්සනට Mix වෙන්නේ */
    background: linear-gradient(to bottom, #004e92 0%, #0072ff 60%, #ffffff 95%);
}

/* 1. නිල් පාට Text කොටස (Solid Color එක අයින් කළා) */
.hero-blue-area {
    background: transparent;
    /* දැන් මේකේ පාට Parent ගෙන් ගනීවි */
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 50px 20px 50px;
    /* Padding පොඩ්ඩක් හැදුවා */
}

.content-inner {
    max-width: 600px;
    margin: 0 auto;
}

/* Text Styles (වෙනසක් නැත, නමුත් තහවුරු කරගන්න) */
.hero-subtitle {
    color: #ffffff;
    /* සුදු පාට */
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* පොඩි Shadow එකක් */
}

.hero-title {
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-desc {
    color: #f0f8ff;
    /* තනි සුදු නැතුව පොඩ්ඩක් නිල් පාටට හුරු සුදු */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* 2. යට කොටස (Logo Area) */
.hero-logo-area {
    background: transparent;
    /* Solid white අයින් කළා, Gradient එකට ඉඩ දුන්නා */
    padding: 10px 50px 40px 50px;
}

.hero-logo-img {
    max-width: 250px;
    height: auto;
    /* Logo එක පැහැදිලිව පෙනෙන්න සුදු පසුබිමක් අවශ්‍ය නම් පමණක් මෙය තබන්න, 
       නැත්නම් Gradient එක උඩ Logo එක පෙනේවි */
    background-color: rgba(255, 255, 255, 0.8);
    /* පොඩි සුදු box එකක් logo එක වටේට */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- වම් පැත්ත (Text + Logo Column) --- */
/* --- වම් පැත්ත (Text + Logo Column) --- */
.hero-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;

    /* Gradient එක වෙනස් කළා:
       0% - 30%: තද නිල් පාට (Header එක සහ Title එක හරිය).
       30% - 70%: නිල් පාට හිමින් සුදු පාටට හැරෙනවා (Button එක තියෙන හරිය).
       70% - 100%: සම්පූර්ණයෙන්ම සුදු පාට (Logo එක තියෙන හරිය).
    */
    background: linear-gradient(to bottom, #004e92 0%, #2b87ff 30%, #ffffff 70%);
}

/* Text කොටස */
.hero-blue-area {
    background: transparent;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 50px 0px 50px;
    /* යට Padding එක අඩු කළා */
}

.content-inner {
    max-width: 600px;
    margin: 0 auto;
}

/* වෙනස්කම 2: Logo එක වටේ තිබුණු කොටු/background අයින් කළා */
.hero-logo-area {
    background: transparent;
    /* පසුබිමක් නැත, කෙලින්ම Gradient එක උඩ තියෙන්නේ */
    padding: 10px 50px 40px 50px;
    display: flex;
    align-items: center;
    /* Logo එක වම් පැත්තට හෝ මැදට දාගන්න */
    justify-content: flex-start;
    /* මැදට ඕන නම් 'center' දාන්න, දැනට වම් පැත්තේ තියෙන්නේ */
}

/* වෙනස්කම 3: Logo Image එකේ Styles සුද්ධ කළා */
.hero-logo-img {
    max-width: 280px;
    /* Logo එක ටිකක් ලොකු කළා */
    height: auto;

    /* මේවා අයින් කළාම Logo එක වෙනම කොටුවක ඉන්නවා වගේ පේන්නේ නෑ */
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

/* --- Header & Top Bar --- */

/* Navbar එකේ ඇති Container එක */
.navbar .container {
    display: flex;
    /* මෙය මගින් ලෝගෝ එක වම් කෙළවරටත්, මෙනු එක දකුණු කෙළවරටත් තල්ලු කරයි */
    justify-content: space-between;
    align-items: center;

    /* Container එකේ උපරිම පළල ටිකක් වැඩි කළා, එවිට ඒවා තවත් අයිනට යයි */
    max-width: 1280px;
    width: 100%;
    /* තිරයේ පළලින් 100% ගන්න */
}

/* ලෝගෝ එකේ කොටස */
.logo {
    /* අනවශ්‍ය Margin ඉවත් කිරීම */
    margin: 0;
    padding: 0;
}

.logo img {
    height: 50px;
    /* ලෝගෝ එකේ උස */
    display: block;
    /* පින්තූරය වටේ ඇති අනවශ්‍ය ඉඩ ඉවත් කිරීමට */
}

/* මෙනු බටන් ටික (Home, About, ...) */
.nav-menu {
    display: flex;
    /* බටන් අතර පරතරය වැඩි කළා (කලින් 20px තිබුණේ, දැන් 40px) */
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    /* බටන් එකේ උඩින් සහ යටින් පොඩි ඉඩක් තැබීම */
    padding: 5px 0;
}

/* =========================================
   About Page Styles
   ========================================= */

/* Page Header (About Us Banner) */
.page-header {
    background: #f4f4f4;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #004080;
}

.page-header p {
    color: #666;
}


/* --- 1. Our Commitment Section (Capture 7) --- */
.commitment-section {
    padding: 80px 0;
    background-color: #fff;
}

.commitment-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Text Side */
.commitment-text {
    flex: 1;
}

.comm-title {
    font-size: 2.5rem;
    color: #002a3a;
    margin-bottom: 20px;
}

.comm-desc {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.comm-list {
    margin-bottom: 40px;
}

.comm-list li {
    margin-bottom: 15px;
    color: #444;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

/* Bullet Points (කළු තිත්) */
.comm-list li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.comm-list strong {
    color: #000;
    font-weight: 700;
}

.comm-btn {
    padding: 12px 35px;
    border-radius: 0;
    /* Square Button */
    font-weight: 600;
    text-transform: uppercase;
}

/* Image Side */
.commitment-image {
    flex: 1;
}

.commitment-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


/* --- 2. Testimonial Section (Capture 4) --- */
.testimonial-blue-section {
    padding: 0;
    background-color: #007bff;
    /* Bright Blue Background */
    overflow: hidden;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.testimonial-wrapper {
    display: flex;
    min-height: 400px;
}

/* Image Left */
.testi-img-side {
    flex: 1;
    position: relative;
}

.testi-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Right (Blue) */
.testi-text-side {
    flex: 1;
    background-color: #0069d9;
    /* නිල් පාට */
    display: flex;
    align-items: center;
    padding: 60px;
    color: #fff;
}

.testi-content {
    max-width: 500px;
}

.testi-icon {
    width: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Icon එක සුදු පාට කිරීම */
}

.testi-quote {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0.95;
}

.client-name {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.client-role {
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================
   1. General Reset & Global Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-orange {
    background-color: #ff5722;
    /* About Page Button */
    color: #fff;
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 2px;
}

.btn-orange:hover {
    background-color: #e64a19;
}


/* =========================================
   2. Header & Navigation
   ========================================= */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar i {
    margin-right: 5px;
    color: #4CAF50;
}

/* Navbar Layout */
.navbar {
    padding: 15px 0;
    background: #fff;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    /* Logo Left, Menu Right */
    align-items: center;
}

.logo img {
    height: 85px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    color: #ccc;
    font-weight: 300;
}

.nav-menu a {
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #004080;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #333;
}


/* =========================================
   3. About Page Specific Styles
   ========================================= */

/* --- A. Blue Hero Banner --- */
.about-hero-blue {
    background: linear-gradient(135deg, rgba(43, 112, 201, 0.9) 0%, rgba(74, 157, 240, 0.9) 100%), url('../images/team/abaut hero.png');
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.about-hero-blue h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-hero-blue p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* --- B. Company Profile --- */
.company-profile-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.top-sub-heading {
    display: block;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.company-profile-section h2 {
    font-size: 2.2rem;
    color: #002a3a;
    margin-bottom: 20px;
}

.profile-desc {
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #555;
    line-height: 1.6;
}

.profile-image-container img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 2px;
}

.profile-footer-text {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.profile-footer-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- C. Meet Expert (Green) --- */
.meet-expert-section {
    background: url('../images/team/office-bg.jpg') no-repeat center center/cover;
    position: relative;
}

.expert-overlay-green {
    background-color: rgba(26, 60, 52, 0.95);
    /* Dark Green Overlay */
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.expert-overlay-green h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.expert-overlay-green p {
    max-width: 800px;
    margin: 0 auto 35px auto;
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* --- D. Leadership Section --- */
.leadership-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.leadership-sub {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.leadership-title {
    font-size: 2.2rem;
    color: #002a3a;
    margin-bottom: 20px;
}

.leadership-desc {
    max-width: 750px;
    margin: 0 auto 50px auto;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.leader-card {
    background: #fff;
    padding: 40px 20px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.leader-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-color: #eee;
}

.leader-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 2px;
}

.leader-card h3 {
    font-size: 1.1rem;
    color: #002a3a;
    margin-bottom: 5px;
    font-weight: 600;
}

.leader-card .designation {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 15px;
}

.leader-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* --- E. Trusted Brands (Large & Full Color) --- */
.brands-simple-row {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.brand-top-text {
    font-size: 1rem;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: 700;
}

.brands-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.brands-flex img {
    height: 85px;
    /* Large Size */
    width: auto;
    object-fit: contain;
    filter: none;
    /* Full Color */
    opacity: 1;
    transition: transform 0.3s ease;
}

.brands-flex img:hover {
    transform: scale(1.1);
}

/* --- F. Future Journey --- */
.journey-section {
    padding: 80px 0;
    background-color: #fff;
}

.journey-sub {
    font-size: 0.8rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.journey-title {
    font-size: 2rem;
    color: #002a3a;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.3;
}

.journey-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.journey-text-col {
    flex: 1;
}

.journey-img-col {
    flex: 1;
}

.journey-img-col img {
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.journey-item {
    margin-bottom: 30px;
    border-left: 3px solid #f0f0f0;
    padding-left: 20px;
}

.journey-item h4 {
    font-size: 1.1rem;
    color: #002a3a;
    margin-bottom: 10px;
    font-weight: 600;
}

.journey-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}


/* =========================================
   4. Footer
   ========================================= */
.footer {
    background-color: #222;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #28a745;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #007bc0;
    --dark-blue: #002b49;
    --accent-orange: #ff6600;
    --dark-green: #004d40;
    --text-color: #555;
    --bg-light: #f8f9fa;
    --border-color: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

h5 {
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- HEADER --- */
.top-bar {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-info span i {
    margin-right: 8px;
}

.navbar {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu li a.active,
.nav-menu li a:hover {
    color: var(--primary-blue);
}

/* --- HERO --- */
.hero-section {
    background-color: var(--primary-blue);
    background-image: linear-gradient(rgba(0, 123, 192, 0.9), rgba(0, 123, 192, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: white;
}

.services-hero {
    background-image: linear-gradient(135deg, rgba(43, 112, 201, 0.9) 0%, rgba(74, 157, 240, 0.9) 100%), url('../images/team/services hero.jpg');
}

.contact-hero {
    background-image: linear-gradient(135deg, rgba(43, 112, 201, 0.9) 0%, rgba(74, 157, 240, 0.9) 100%), url('../images/team/contac.jpg');
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- EXPERTISE --- */
.expertise-section {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.section-header p {
    max-width: 800px;
    margin: 0 auto;
}

.section-header.left-align p {
    margin: 0;
    max-width: 100%;
    text-align: left;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
    height: 100%;
}

/* Green Bottom Border (Shared by Expertise & Why Choose Us) */
.border-green {
    border-bottom: 4px solid var(--dark-green);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* --- WHY CHOOSE US --- */
.why-choose-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.left-align {
    text-align: left;
    margin-bottom: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    height: 100%;
    /* Note: We added border-green class in HTML to get the bottom border */
}

.feature-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}

/* Orange Line UNDER Title */
.line {
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
    margin-bottom: 20px;
}

/* --- TRUSTED BRANDS --- */
.brands-simple-row {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.brand-top-text {
    font-size: 1rem;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: 700;
}

.brands-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.brands-flex img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.brands-flex img:hover {
    transform: scale(1.1);
}

/* --- CASHFLOW --- */
.cashflow-section {
    padding: 80px 0;
    background: #fff;
}

.row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-col {
    flex: 1;
}

.text-col h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.image-col {
    flex: 1;
}

.image-col img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.check-list i {
    color: var(--accent-orange);
}

/* --- PRICING --- */
.pricing-section {
    padding: 80px 0;
    background: #f4f7fa;
}

.pricing-header {
    margin-bottom: 50px;
}

.pricing-header h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.pricing-card h4 {
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
    font-weight: 600;
}

.price-name {
    font-size: 2.5rem;
    color: var(--accent-orange);
    font-weight: 500;
    margin-bottom: 15px;
}

.line-center {
    width: 50px;
    height: 3px;
    background: var(--accent-orange);
    margin: 0 auto 30px;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 10px;
}

.pricing-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.pricing-card i {
    color: var(--accent-orange);
    margin-top: 5px;
}

.btn-link {
    color: #888;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
    font-size: 0.9rem;
}

.btn-link:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* --- FOOTER --- */
footer {
    background-color: #000;
    color: #fff;
    padding: 25px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #aaa;
    font-size: 1rem;
}

.social-links a:hover {
    color: #fff;
}

/* ================= CONTACT PAGE ================= */

/* --- Section 1: Head Office --- */
.head-office-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Reusing the 'row', 'text-col', 'image-col' from services page (Assuming they exist) */
/* If not, ensure these are in style.css: */
.row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-col {
    flex: 1;
}

.image-col {
    flex: 1;
}

.head-office-section h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.sub-topic {
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.address-bold {
    font-weight: 600;
    color: var(--dark-blue);
    margin: 20px 0;
}

.contact-list p {
    margin-bottom: 8px;
    color: #555;
    font-size: 0.95rem;
}

.contact-list span {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    width: 90px;
    display: inline-block;
}

.image-col img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Section 2: Book Appointment --- */
.appointment-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Light Grey Background */
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.form-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.form-wrapper {
    max-width: 700px;
    /* Limits form width */
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.appointment-form .form-group {
    margin-bottom: 20px;
}

.appointment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
    /* Blue Text for Labels */
}

.appointment-form input,
.appointment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    background: #fcfcfc;
    transition: 0.3s;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
    border-color: var(--primary-blue);
    background: #fff;
    outline: none;
}

.btn-green {
    background-color: #00a651;
    /* Exact Green from Image */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    text-transform: uppercase;
}

.btn-green:hover {
    background-color: #008f45;
}

/* ================= CALCULATOR PAGE STYLES ================= */
.calculator-section {
    padding: 60px 0;
    background-color: #f4f7fa;
    /* Light background */
}

.calc-top-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 0.95rem;
}

/* Settings Row (Optional icons) */
.settings-row {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 30px;
    background: #fff;
}

.setting-item {
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
    font-weight: 500;
}

/* --- Controls Wrapper (Toggle Buttons) --- */
.controls-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.toggle-group {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 4px;
    display: inline-flex;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.toggle-btn {
    padding: 10px 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background-color: #f0f0f0;
}

/* ACTIVE STATES (Must match HTML classes) */
.toggle-btn.active-blue {
    background-color: #003366 !important;
    /* Dark Blue */
    color: #fff !important;
}

.toggle-btn.active-green {
    background-color: #00a651 !important;
    /* Bright Green */
    color: #fff !important;
}

/* --- Layout Grid --- */
.calc-grid-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.left-col {
    flex: 0.4;
}

/* Breakdown side smaller */
.right-col {
    flex: 0.6;
}

/* Input side larger */

/* Cards General Style */
.breakdown-card,
.input-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
    border: 1px solid #eef1f5;
}

.breakdown-card h4,
.input-card h4 {
    color: #002b49;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.small-sub {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 20px;
}

/* Tabs inside Breakdown Card */
.slab-tabs {
    display: flex;
    background: #f1f3f5;
    padding: 4px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.slab-tab {
    flex: 1;
    padding: 8px;
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.slab-tab.active {
    background-color: #fff;
    color: #007bc0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Breakdown List */
.breakdown-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breakdown-range {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #333;
}

.badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    color: #fff;
    margin-top: 4px;
    display: inline-block;
}

.bg-relief {
    background-color: #999;
}

.bg-tax {
    background-color: #007bc0;
}

.tax-amount {
    font-weight: 700;
    color: #00a651;
    font-size: 0.9rem;
}

/* Input Form */
.input-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9rem;
}

.input-card input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 20px;
    outline: none;
    transition: 0.3s;
}

.input-card input:focus {
    border-color: #007bc0;
}

.btn-calc {
    width: 100%;
    padding: 12px;
    background-color: #003366;
    /* Dark Blue */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.btn-pdf {
    width: 100%;
    padding: 12px;
    background-color: #00a651;
    /* Green */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Results Area */
.results-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.res-card {
    flex: 1;
    background: #fff;
    padding: 20px 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.res-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.res-value {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.res-sub {
    font-size: 0.7rem;
    color: #aaa;
}

.text-blue {
    color: #007bc0;
}

.text-green {
    color: #00a651;
}

.text-orange {
    color: #ff6600;
}

/* Summary Box */
.summary-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.summary-box h5 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1rem;
}

.sum-flex {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.sum-col span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
}

.sum-col h4 {
    font-size: 1.3rem;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 991px) {
    .calc-grid-layout {
        flex-direction: column;
    }

    .results-cards {
        flex-direction: column;
    }

    .left-col,
    .right-col {
        width: 100%;
    }
}

/* ================= BONUS CALCULATOR STYLES ================= */

.bonus-calc-card {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    text-align: center;
    padding: 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.card-header h2 {
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.card-header p {
    color: #666;
    font-size: 0.9rem;
}

.card-body {
    padding: 40px;
}

.card-body label {
    display: block;
    color: #003366;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.input-row {
    display: flex;
    gap: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 15px;
    background: #fff;
    flex: 1;
}

.input-group.full-width {
    width: 100%;
}

.input-group .currency {
    color: #888;
    font-size: 0.9rem;
    margin-right: 10px;
    font-weight: 600;
}

.input-group input {
    border: none;
    outline: none;
    padding: 12px 0;
    width: 100%;
    font-size: 1rem;
    color: #333;
}

/* Buttons */
.btn-row {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-green {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
}

.btn-gray {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
}

.btn-blue {
    background-color: #337ab7;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
}

.btn-green:hover {
    background-color: #4cae4c;
}

.btn-gray:hover {
    background-color: #e6e6e6;
}

.btn-blue:hover {
    background-color: #286090;
}

/* Results */
.res-title {
    text-align: center;
    color: #003366;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.res-list {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.res-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.95rem;
}

.res-item:last-child {
    border-bottom: none;
}

.res-item span:last-child {
    font-weight: 700;
    color: #333;
}

.highlight-blue {
    background-color: #ebf5ff;
    padding: 12px;
    border-radius: 5px;
    margin: 5px 0;
    border: 1px solid #d1e9ff;
}

.highlight-green {
    background-color: #e9f7ef;
    padding: 12px;
    border-radius: 5px;
    margin: 5px 0;
    border: 1px solid #d4edda;
}

.highlight-green span:last-child {
    color: #28a745;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
        gap: 10px;
    }

    .btn-row {
        flex-direction: column;
    }
}

/* --- Dark Mode Styles --- */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .header,
body.dark-mode .navbar,
body.dark-mode .dropdown-content {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .nav-menu a,
body.dark-mode .dropbtn {
    color: #e0e0e0;
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active,
body.dark-mode .dropbtn.active {
    color: #4CAF50;
}

body.dark-mode .breakdown-card,
body.dark-mode .input-card,
body.dark-mode .results-area,
body.dark-mode .summary-box,
body.dark-mode .option-card,
body.dark-mode .total-tax-card,
body.dark-mode .bracket-row,
body.dark-mode .summary-card-green {
    background-color: #1e1e1e;
    border-color: #333;
    color: #e0e0e0;
}

body.dark-mode .summary-card-green {
    background-color: #0d3b36;
    border-color: #2d5c56;
}

body.dark-mode .breakdown-item {
    border-bottom: 1px solid #333 !important;
}

body.dark-mode input[type='text'] {
    background-color: #2c2c2c;
    border: 1px solid #444;
    color: #fff;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode strong,
body.dark-mode .option-title,
body.dark-mode .total-header h3 {
    color: #fff;
}

body.dark-mode .small-sub,
body.dark-mode .disclaimer-text,
body.dark-mode .detail-row {
    color: #aaa;
}

body.dark-mode .detail-row {
    border-bottom: 1px solid #333;
}

body.dark-mode .bracket-row {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-left: 4px solid #28a745;
}

body.dark-mode .total-tax-card {
    background-color: #1e1e1e;
}

body.dark-mode .res-label {
    color: #aaa;
}

body.dark-mode footer {
    background-color: #111;
    color: #888;
}


/* Force bold navigation links */
.nav-menu a {
    font-weight: bold !important;
}

/* Ensure consistent brand logo size */
.brands-section .brand-logos-container img {
    height: 85px !important;
    width: auto;
    object-fit: contain;
}