/* --- Base & Variables --- */
:root {
    /* Updated Color Palette for Light Theme */
    --bg-color: #ffffff;        /* White background */
    --surface-color: #f8f9fa;   /* Very Light Grey surface for cards/sections */
    --primary-text: #212529;    /* Dark Grey/Almost Black text */
    --secondary-text: #6c757d;  /* Medium Grey dimmer text */
    --accent-color: #dc3545;    /* Bootstrap Red (good contrast) */
    --accent-hover: #c82333;    /* Darker Red on hover */
    --border-color: #dee2e6;    /* Light Grey for borders */
    --error-color: #dc3545;     /* Error Red */
    --success-color: #28a745;   /* Success Green */

    --header-height: 70px;
    --border-radius: 5px;
    --transition-speed: 0.3s ease;
    --light-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Lighter shadow for light theme */

    /* Font Families (Keep or change as desired) */
    --font-primary: 'Poppins', sans-serif; 
    --font-secondary: 'Roboto', sans-serif; 
}

/* Import Fonts (Ensure this is at the TOP of the file) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500&display=swap');

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; 
    scroll-padding-top: var(--header-height); 
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-color);
    color: var(--primary-text); /* Default text is dark */
    line-height: 1.6;
    font-size: 16px;
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}
main{
    flex-grow: 1; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-text); /* Dark headings by default */
}

/* Specific Heading Colors */
h1 { font-size: 2.8rem; } 
h2 { 
    font-size: 2rem; 
    text-align: center; 
    margin-bottom: 2.5rem; 
    color: var(--accent-color); /* Red H2 for section titles */
}
h3 { 
    font-size: 1.4rem; 
    /* color: var(--primary-text); Inherits dark text color */
} 

a {
    color: var(--accent-color); /* Links are Red */
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover, a:focus {
    color: var(--accent-hover); /* Darker red on hover/focus */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    padding: 60px 0;
}

.full-height {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Header & Navigation --- */
#header {
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
    backdrop-filter: blur(8px); 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    border-bottom: 1px solid var(--border-color); /* Light border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px; 
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--primary-text); /* Dark nav links */
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

/* Red underline hover effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color); /* Red underline */
    transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* Mobile Menu Styles */
.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer; padding: 10px;
}
.nav-toggle span {
    display: block; width: 25px; height: 3px;
    background-color: var(--primary-text); /* Dark hamburger lines */
    margin: 5px 0;
    transition: all var(--transition-speed);
}


/* --- Hero Section --- */
.hero-section {
    text-align: center;
    /* Light background image suggestion - replace filename */
    background: url('../images/whiteherobg.jpeg') no-repeat center center/cover; 
    position: relative; 
    color: var(--primary-text); /* Ensure text is dark */
}

/* Light overlay/gradient (optional, adjust as needed) */
.hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Example: Subtle white gradient from bottom */
    /* background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.6)); */
    /* Or a very light solid overlay if image is busy */
    background-color: rgba(255, 255, 255, 0.3); 
    z-index: 1;
}

.hero-content {
    position: relative; 
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem; 
    margin-bottom: 0.5rem;
    color: var(--primary-text); /* Ensure H1 is dark */
}

.hero-section .tagline {
    font-size: 1.4rem;
    color: var(--secondary-text); /* Medium grey tagline */
    margin-bottom: 2rem;
}

/* --- Call to Action Button (Red Theme on Light BG) --- */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color); /* Red background */
    color: #ffffff; /* White text */
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color); /* Red border */
    transition: background-color var(--transition-speed), color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: pointer;
}

.cta-button:hover,
.cta-button:focus {
    background-color: var(--accent-hover); /* Darker Red background */
    color: #ffffff;
    border-color: var(--accent-hover);
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3); /* Reddish shadow */
}
/* --- Coming Soon Section V2 --- */
.coming-soon-section {
    background-color: var(--bg-color); 
    padding: 10vh 0; /* Increased padding slightly */
    display: flex !important; 
    align-items: center;
    justify-content: center;
    min-height: 80vh; 

}

.coming-soon-wrapper {
    /* Wrapper doesn't need much styling, container handles width */
}

.coming-soon-upper {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 40px; /* Increased gap */
    margin-bottom: 4rem; /* Increased space before lower text */
}

.coming-soon-text-block {
    flex-basis: 50%;
    /* CHANGE: Ensure text alignment is explicitly left */
    text-align: left; 
}

.coming-soon-text-block h2 {
    /* --- INCREASED FONT SIZE --- */
    /* CHANGE: Increased font size and weight */
    font-size: 4rem;  
    font-weight: 500; 
    line-height: 1.1; 
    color: var(--primary-text);
    margin-bottom: 1.5rem; 
    /* --- CHANGE: Explicitly align heading text left --- */
    text-align: left; /* Ensures lines within H2 are left-aligned */
}

.coming-soon-subheading {
     /* CHANGE: Increased font size and weight */
    font-size: 1.5rem; /* Larger subheading */
    font-weight: 550; /* Bolder subheading */
    color: var(--secondary-text); 
    margin: 0; 
}

.coming-soon-logo-block {
    flex-basis: 40%; 
    display: flex;
    justify-content: center; 
    align-items: center;
}

.coming-soon-logo {
    /* --- INCREASED LOGO SIZE --- */
    max-width: 900px; /* Larger logo */
    height: auto;
}

.coming-soon-lower-text {
    text-align: left; 
    /* --- CHANGE: Remove left padding --- */
    padding-left: 0; /* Was 1.5rem */
    font-size: 3rem; 
    font-weight: 600; 
    color: var(--primary-text); 
    margin: 0; 
}

/* --- Responsive adjustments for Coming Soon V2 --- */
@media (max-width: 1199.98px) { /* Added a breakpoint for slightly smaller desktops */
    .coming-soon-text-block h2 {
         font-size: 4.2rem; 
     }
      .coming-soon-subheading{
          font-size: 1.5rem;
     }
     .coming-soon-logo {
         max-width: 800px; 
     }
     .coming-soon-lower-text {
         font-size: 2.6rem; 
     }
}


@media (max-width: 991.98px) {
     .coming-soon-text-block h2 {
         font-size: 3.5rem; /* Adjusted tablet heading size */
     }
      .coming-soon-subheading{
          font-size: 1.4rem; /* Adjusted tablet subheading size */
     }
     .coming-soon-logo {
         max-width: 480px; /* Adjusted tablet logo size */
     }
     .coming-soon-lower-text {
         font-size: 2.2rem; /* Adjusted tablet lower text size */
         /* Keep left alignment on tablets */
     }
}

@media (max-width: 767.98px) {
    .coming-soon-upper {
        flex-direction: column; 
        text-align: center; 
        gap: 30px; 
        margin-bottom: 3rem;
    }
     .coming-soon-text-block {
         flex-basis: auto; 
         order: 1; 
         text-align: center; 
     }
     .coming-soon-logo-block {
         flex-basis: auto; 
         order: 2; 
     }
     .coming-soon-text-block h2 {
         font-size: 2.8rem; /* Adjusted mobile heading size */
     }
      .coming-soon-subheading{
          font-size: 1.2rem; /* Adjusted mobile subheading size */
     }
     .coming-soon-logo {
         max-width: 380px; /* Adjusted mobile logo size */
     }
     .coming-soon-lower-text {
        text-align: center;
        padding-left: 0; 
        font-size: 2rem; /* Adjusted mobile lower text size */
     }
}
 @media (max-width: 575.98px) {
    .coming-soon-text-block h2 {
         font-size: 2.2rem; /* Adjusted small mobile heading size */
     }
     .coming-soon-subheading{
          font-size: 1.1rem;
     }
      .coming-soon-logo {
         max-width: 340px;
     }
     .coming-soon-lower-text {
        font-size: 1.8rem; /* Adjusted small mobile lower text size */
     }
 }
/* --- Coming Soon Section --- */
/*
.coming-soon-section {
    background-color: var(--surface-color); /* Light grey background 
    border-bottom: 1px solid var(--border-color); /* Separator line 
} 
.coming-soon-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns 
    gap: 40px;
    align-items: center;
    padding: 30px 0; /* Add some vertical padding 
}
.coming-soon-text-content {
    text-align: center; /* Center text within its column 
}
.coming-soon-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 1rem;
}
.coming-soon-logo-container{
     display: flex; /* Center logo within its column 
     justify-content: center;
     align-items: center;
}
*/ 
.coming-soon-logo {
    max-width: 150px; /* Control logo size */
    height: auto;
}
/*
.coming-soon-subtext { /* Style for the "Coming Soon..." text 
    grid-column: 1 / -1; /* Make it span all columns 
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color); /* Red color 
    margin-top: 2rem;
    padding-bottom: 1rem; /* Add space below 
}
*/
/* --- About Section --- */
.about-section {
    background-color: var(--bg-color); /* White background */
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr; 
    gap: 40px;
    align-items: center;
}
.about-image {
    border-radius: var(--border-radius);
    max-width: 350px; 
    justify-self: center; 
    box-shadow: var(--light-shadow); /* Add subtle shadow */
}


/* --- Solutions Section --- */
.solutions-section{ 
     background-color: var(--surface-color); /* Light grey background */
}
.solutions-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-item { 
    background-color: var(--bg-color); /* White card background */
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color); /* Light border */
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: var(--light-shadow); /* Subtle shadow */
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow on hover */
}

/* Styling for images within solution items */
.solution-image {
    display: block; 
    height: 80px;   
    width: auto;    
    max-width: 100%; 
    margin: 0 auto 1.5rem auto; 
    object-fit: contain; 
}

.solution-item h3 { 
    margin-bottom: 0.5rem;
    color: var(--primary-text); 
}

.service-summary { 
    color: var(--secondary-text); 
    margin-bottom: 1rem;
}

.service-details { 
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.5s ease-out, margin-top 0.5s ease-out; 
    text-align: left;
    font-size: 0.95rem;
    color: var(--primary-text); /* Dark details text */
    margin-top: 0;
}

.solution-item.is-expanded .service-details { 
    max-height: 300px; 
    margin-top: 1rem; 
}

/* Outline Button for Light Theme */
.expand-button { 
    background: none;
    border: 1px solid var(--primary-text); /* Dark border */
    color: var(--primary-text); /* Dark text */
    padding: 8px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: background-color var(--transition-speed), color var(--transition-speed), border-color var(--transition-speed);
}

.expand-button:hover,
.expand-button:focus {
    background-color: var(--primary-text); /* Dark background on hover */
    color: #ffffff; /* White text on hover */
    border-color: var(--primary-text);
}

/* Updated button text hint */
.solution-item.is-expanded .expand-button::after { content: ' (Show Less)'; }
.solution-item:not(.is-expanded) .expand-button::after { content: ''; }


/* --- Contact Section --- */
.contact-section {
    background-color: var(--bg-color); /* White background */
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info p { margin-bottom: 1rem; }
.contact-info strong { color: var(--primary-text); }

/* Form Styling */
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form label {
    font-weight: 500; margin-bottom: -5px; color: var(--secondary-text); 
}
.contact-form input,
.contact-form textarea {
    width: 100%; padding: 12px; border-radius: var(--border-radius); 
    border: 1px solid var(--border-color); /* Light border */
    background-color: #ffffff; /* White input background */
    color: var(--primary-text); /* Dark text input */
    font-family: inherit; font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color); /* Red focus border */
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25); /* Red focus ring */
}
.contact-form button[type="submit"] { align-self: flex-start; } /* Uses .cta-button styles */
.form-status { margin-top: 10px; font-weight: 500; }
.form-status.success { color: var(--success-color); }
.form-status.error { color: var(--error-color); }


/* --- Footer --- */
#footer {
    background-color: var(--surface-color); /* Light grey footer */
    color: var(--secondary-text); /* Medium grey text */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: auto; 
    border-top: 1px solid var(--border-color); /* Light border */
}
#footer .container{ position: relative; }
.back-to-top {
    position: absolute; right: 20px; bottom: 0px; font-size: 1.5rem;
    color: var(--secondary-text); transition: color var(--transition-speed), transform var(--transition-speed);
}
.back-to-top:hover {
    color: var(--accent-color); /* Red hover */
    transform: translateY(-3px);
}


/* --- Responsive Design (Media Queries) --- */
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container { max-width: 90%; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .about-image { margin-bottom: 20px; max-width: 250px; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info { margin-bottom: 30px; text-align: center;}
    .contact-form button[type="submit"] { align-self: center;}
    .coming-soon-logo { max-width: 120px; } /* Slightly smaller logo */
    .coming-soon-heading { font-size: 1.6rem; }
    .coming-soon-subtext { font-size: 2rem; }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    :root { --header-height: 60px; } 
    html { scroll-padding-top: var(--header-height); }

    h1 { font-size: 2.5rem; }
    .hero-section h1 { font-size: 3rem; }
    .hero-section .tagline { font-size: 1.2rem; }
    h2 { font-size: 1.8rem; margin-bottom: 2rem; }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed; top: var(--header-height); right: -100%; 
        width: 70%; max-width: 300px; height: calc(100vh - var(--header-height));
        background-color: #ffffff; /* White background for menu */
        flex-direction: column; align-items: center;
        padding-top: 30px; gap: 30px;
        transition: right var(--transition-speed);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        border-left: 1px solid var(--border-color); 
    }
    .nav-menu.is-active { right: 0; }
    .nav-link { font-size: 1.1rem; }
    .nav-link::after{ display: none; }
    .nav-toggle { display: block; z-index: 101; }
    .nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .solutions-grid { grid-template-columns: 1fr; } 
    .back-to-top{ display: none; }

    /* Stack Coming Soon section on mobile */
    .coming-soon-content {
        grid-template-columns: 1fr; /* Stack columns */
        text-align: center;
        gap: 20px;
    }
    .coming-soon-logo { margin-bottom: 1rem; }
    .coming-soon-subtext { margin-top: 1rem; font-size: 1.8rem; }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container { padding: 0 15px; }
    h1 { font-size: 2rem; }
    .hero-section h1 { font-size: 2.5rem; }
    .hero-section .tagline { font-size: 1rem; }
    .cta-button { padding: 10px 20px; font-size: 0.9rem; }
    .content-section { padding: 40px 0; }
    .coming-soon-heading { font-size: 1.4rem; }
    .coming-soon-subtext { font-size: 1.6rem; }
}


/* --- TEMPORARY HIDE FOR MEETING --- */
/* Hide all major sections */
#header, 
#hero, 
#about, 
#solutions, 
#contact, 
#footer {
    display: none !important; /* Force hiding */
}

/* Ensure the Coming Soon section IS visible and takes space */
#coming-soon {
    display: block !important; /* Ensure it's displayed */
    padding-top: 10vh;    /* Add some top padding */
    padding-bottom: 10vh; /* Add some bottom padding */
    min-height: 80vh;     /* Make it take up significant vertical space */
    display: flex;        /* Use flex to help center content vertically */
    align-items: center;
    justify-content: center;
}




/* Ensure body allows scrolling if needed, but focus on the section */
body {
    overflow: auto !important; /* Allow scrolling if content overflows viewport */
}
/* --- END TEMPORARY HIDE --- */



/* --- Center Text on Mobile Devices --- */
@media screen and (max-width: 767px) {
  h1, h2, h3, p {
    text-align: center;
  }
}
