/*
 * Full CSS File for skalix-website
 *
 * This stylesheet incorporates all design changes as requested:
 * - Header/Navbar with dark gradient.
 * - "Book a Free Demo" button is green and highly visible with a glow effect.
 * - Sections 2 & 3 have dark gradient backgrounds.
 * - Section 2 boxes remain white with dark text.
 * - Section 3 boxes are now back to white with dark text.
 * - Section 4 completely redesigned with "jazzy" dark boxes for tools.
 * - All text in Section 4 is now white.
 * - Section 5 text is white and updated.
 * - New "Core USPs" section added after hero with stylish white tiles.
 * - Updated 'Why Leading Brands Choose Us' heading font size and alignment.
 */

/* Color Palette Variables */
:root {
    --primary-blue: #0466c8; /* Bright blue for accents/buttons */
    --dark-blue-1: #0353a4; /* Darker shade of primary blue */
    --dark-blue-2: #023e7d; /* Even darker blue */
    --darkest-blue: #002855; /* Main dark background color (e.g., header, hero) */
    --very-dark-blue: #001845; /* Almost black-blue, deep */
    --almost-black-blue: #001233; /* Footer background */
    --dark-grey-blue: #334e68; /* Primary text color (dark) */
    --medium-grey-blue: #5c677d; /* Secondary text color (medium) */
    --light-grey-blue: #7d8597; /* Lighter text/subtle elements */
    --very-light-grey-blue: #979dac; /* Very light grey-blue */
    --another-blue: #001845; /*To match logo*/
    --white: #ffffff;
    --light-grey-bg: #f4f4f4; /* General page background (now for light sections) */

    /* "Pop-out" button color - Now a bright green */
    --pop-button-color: #edae49; /* Spring Green */
    --pop-button-darker: #00D060; /* Darker shade for hover */

    /* "Let's Talk Growth" heading color */
    --heading-pop-color: #edae49; /* Gold */
    --primary-color: #007bff;
    --secondary-color: #2c3e50;
    --background-light: #f9f9f9;
    --text-color-dark: #333;
    --card-background: #ffffff;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif; /* Changed font to Poppins */
    margin: 0;
    padding: 0;
    background-color: var(--light-grey-bg);
    color: var(--dark-grey-blue);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */

}

.container {
    max-width: 1300px; /* Increased max-width for more horizontal margin effect */
    margin: 0 auto;
    padding: 0 50px; /* Increased horizontal padding */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--darkest-blue);
    line-height: 1.2;
}

/* Header/Navbar */
.navbar {
    background: var(--another-blue);/*linear-gradient(to bottom, var(--darkest-blue), var(--very-dark-blue));*/
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo img {
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 2.2em;
    color: var(--white);
    cursor: pointer;
    order: 2;
}

.navbar nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    transition: all 0.3s ease-out;
}

.navbar nav ul {
    list-style: none;
    padding: 0;
    margin: 0 20px 0 0;
    display: flex;
}

.navbar nav ul li {
    margin-left: 20px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: var(--primary-blue);
}

.cta-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px 22px; /* Note: This padding is different from .btn-secondary */
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;

    /* --- ADD THESE FOR ANCHOR TAGS --- */
    text-decoration: none;    /* Removes the underline */
    display: inline-block;    /* Allows padding and vertical alignment like a button */
    line-height: normal;      /* Ensures consistent text vertical alignment */
    font-size: 0.9em; /* <--- ADD or MODIFY THIS LINE */
}

.cta-button:hover {
    background-color: var(--dark-blue-1);
}

/* Hero Section */
.hero {
    background-image: url('https://i.postimg.cc/nLpT1SJK/Chat-GPT-Image-Jul-25-2025-06-35-22-PM.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-overlay {
    background: linear-gradient(to bottom, var(--very-dark-blue), rgba(0, 40, 85, 0.75));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text {
    flex: none;
    width: 100%;
    max-width: 800px;
    color: var(--white);
}

/* MODIFIED for adjusted font size progression */
/* REVISED GLOBAL H1 FONT SIZE FOR LARGE SCREENS */
.hero-text h1 {
    font-size: 3em; /* Adjusted for desktop/larger screens */
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    /* REVISED FONT SIZE FOR MEDIUM SCREENS */
    .hero-text h1 {
        font-size: 2.2em; /* Reduced for screens up to 992px */
    }
    /* ... other rules ... */
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    /* REVISED FONT SIZE FOR SMALL SCREENS */
    .hero-text h1 {
        font-size: 1.6em; /* Reduced for screens up to 480px */
    }
}

/* MODIFIED */
.hero-text .highlight {
    color: var(--heading-pop-color); /* Changes color to gold (#FFD700) */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* Adds a subtle gold glow */
}

.hero-text p {
    font-size: 1.2em;
    color: #ced0ce;
    margin-bottom: 40px;
}

/* "Book a Free Demo" button style that pops out */
.btn-secondary {
    background-color: var(--pop-button-color);
    color: var(--darkest-blue);
    border: 2px solid var(--pop-button-color);
    box-shadow: 0 8px 20px rgba(0, 255, 127, 0.4);
    padding: 16px 32px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Remove hyperlink underline */
    display: inline-block; /* Make it behave like a block for padding/sizing */
    line-height: normal; /* Ensure consistent line height */
}

.btn-secondary:hover {
    background-color: var(--pop-button-darker);
    border-color: var(--pop-button-darker);
    box-shadow: 0 12px 25px rgba(0, 255, 127, 0.5);
}

/* --- Interactive Card Flip CSS --- */
.usps-content h2 {
    font-size: 2.8em;
    margin-bottom: 60px;
    color: var(--darkest-blue); /* Dark text on light background */
}
.card-flip-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.flip-card {
    background-color: transparent;
    width: 250px;
    height: 250px;
    perspective: 1000px; /* 3D effect */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* For Safari */
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-front {
    background-color: var(--card-background);
}

.flip-card-front .usp-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.flip-card-back {
    background-color: var( --dark-blue-2);
    color: #fff;
    transform: rotateY(180deg);
    padding: 10px;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .flip-card {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .card-flip-container {
        gap: 15px;
    }
}


/* Services & Team Sections - Now with dark gradient */
.services, .team {
    background: linear-gradient(to bottom, var(--darkest-blue), var(--very-dark-blue));
    padding: 80px 0;
}

.services-content, .team-content {
    text-align: center;
}

/* Text colors adjusted for dark background */
.services h2, .team h2 {
    font-size: 2.8em;
    color: var(--white);
    margin-bottom: 20px;
}

/* MODIFIED */
.services p {
    color: #e6e8e6; /* Changed to white for maximum pop and readability */
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15em;
    /*text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); /* Optional: Adds a subtle shadow for depth */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Stylish Service Boxes (white) */
.service-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.service-box:hover .service-icon {
    transform: scale(1.1);
}

.service-box h3 {
    color: var(--darkest-blue);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.service-box p {
    color: var(--dark-grey-blue);
    font-size: 1em;
    flex-grow: 1;
    margin-bottom: 25px;
}

.quote-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: center;
    width: fit-content;
    margin-top: auto;

    /* --- ADD THESE FOR ANCHOR TAGS --- */
    text-decoration: none;    /* Removes the underline */
    display: inline-block;    /* Allows padding and vertical alignment like a button */
    line-height: normal;      /* Ensures consistent text vertical alignment */
}

.quote-button:hover {
    background-color: var(--dark-blue-1);
    transform: translateY(-2px);
}


/* Team Section */
.team-intro {
    color: var(--light-grey-blue);
    margin-bottom: 60px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Stylish Profile Boxes (white with dark text) */
.team-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}



.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(4, 102, 200, 0.5);
}


/* Locate this rule in your style.css file */
.team-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%; /* This makes them circular */
    object-fit: cover; /* Changed back to 'cover' to fill the circle */
    object-position: top; /* Ensures the top of the image (head) is visible */
    margin-bottom: 15px;
    border: 5px solid var(--primary-blue);
    box-shadow: 0 0 0 4px var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.team-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px var(--primary-blue), 0 0 15px var(--primary-blue);
}

.team-card h3 {
    color: var(--darkest-blue);
    margin-bottom: 5px;
    font-size: 1.6em;
}

.team-card h4 {
    color: var(--darkest-blue);
    margin-bottom: 5px;
    font-size: 1.2em;
}

.team-card p {
    color: var(--dark-grey-blue);
    font-size: 0.8em;
    margin-bottom: 10px;
}

.team-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.team-card a:hover {
    text-decoration: underline;
}

/* Coming Soon / Insights Section (Section 4) */
.insights {
    padding: 80px 0;
    background-image: url('https://i.postimg.cc/1zCKGprJ/AI-image-Website.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.insights-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 83, 164, 0.5);
    z-index: 1;
}

.insights-content {
    position: relative;
    z-index: 2;
}

.insights-content .section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--white);
}

.insights-content .section-description {
    color: var(--white);
    font-size: 1.15em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.insights-content .explore-suite-text {
    color: var(--white);
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* --- REVISED CODE FOR THE TOOLS GRID --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 30px;
    max-width: 1200px; /* Increased max-width */
    margin: 0 auto;
}

.tool-box {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(4, 102, 200, 0.5);
}

.tool-icon {
    font-size: 3.5em;
    margin-bottom: 10px;
}

.tool-box h4 {
    color: var(--white);
    font-size: 1.4em;
    margin: 0;
}

.tool-box p {
    color: var(--white);
    font-size: 1em;
    margin-top: 10px;
}

/* Contact Form Section (Section 5) */
.contact-form {
    padding: 100px 0;
    background-image: url('https://i.postimg.cc/fRxNHyCY/close-up-person-working-call-center.jpg'); /* Corrected missing URL */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 24, 69, 0.9);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-form h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--white); /* Already white, explicitly set */
}

.contact-form p {
    margin-bottom: 40px;
    font-size: 1em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #ced0ce; /* Already white, explicitly set */
}

/* MODIFIED */
.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Adds a subtle border */
}

/* MODIFIED */
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 16px;
    border: 1px solid transparent; /* Prepare for focus border */
    border-radius: 5px;
    font-size: 1.05em;
    color: var(--dark-grey-blue);
    background-color: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

/* NEW */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue); /* Highlight with brand color on focus */
    box-shadow: 0 0 10px rgba(4, 102, 200, 0.5); /* Add a glow effect */
}


.contact-form select option:disabled {
    color: var(--light-grey-blue);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* MODIFIED */
.contact-form button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* MODIFIED */
.contact-form button:hover {
    background-color: var(--dark-blue-1);
    transform: translateY(-3px); /* Add a lift effect on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Add depth on hover */
}

/* Footer */
.footer {
    background-color: var(--almost-black-blue);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer p {
    margin: 0;
    font-size: 0.9em;
}

.footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer nav ul li {
    margin-left: 20px;
}

.footer nav ul li:first-child {
    margin-left: 0;
}

.footer nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer nav ul li a:hover {
    color: var(--primary-blue);
}

.photo-credits {
    font-size: 0.75em;
    color: var(--light-grey-blue);
    margin-top: 10px;
    width: 100%;
    text-align: center;
}


/* Responsive Design */
@media (max-width: 1250px) {
    /* New breakpoint to handle the 3-column grid width */
    .tools-grid {
        max-width: 900px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    /* Adjusted for smaller desktop/tablet views */
    .hero-text h1 {
        font-size: 2.5em; /* Reduced from 3.5em for this breakpoint */
    }
    .services h2,
    .team h2,
    .insights h2,
    .contact-form h2,
    .usps h2 {
        font-size: 2.2em;
    }

    .navbar nav ul {
        margin-right: 10px;
    }

    .navbar nav ul li {
        margin-left: 15px;
    }

    .hero {
        min-height: 500px;
    }

    /* Set tools-grid to 2 columns on tablets */
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Navbar Collapse */
    .hamburger {
        display: block;
    }

    .navbar nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: linear-gradient(to bottom, var(--darkest-blue), var(--very-dark-blue));
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        animation: slideDown 0.3s ease-out forwards;
    }

    .menu-toggle:checked + .hamburger + nav {
        display: flex;
    }

    .navbar nav ul {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    .navbar nav ul li {
        margin: 10px 0;
        width: 100%; /* Corrected: was `width: 10` */
    }

    .navbar nav ul li a {
        padding: 8px 0;
        display: block;
    }

    .cta-button {
        width: calc(100% - 40px);
        margin: 15px 20px;
    }

    @keyframes slideDown {
        from { transform: translateY(-100%); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .hero {
        padding: 80px 20px;
        min-height: 400px;
    }

    .usps, .services, .team, .insights, .contact-form {
        padding: 60px 20px;
    }

    .services > p, .team-intro {
        margin-bottom: 40px;
    }

    .service-grid, .team-grid, .usp-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer p {
        margin-bottom: 15px;
    }

    .footer nav ul {
        margin-top: 0;
        flex-direction: column;
        width: 100%;
    }

    .footer nav ul li {
        margin: 5px 0;
    }

    .photo-credits {
        font-size: 0.75em;
        color: var(--light-grey-blue);
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    /* Adjusted for mobile views */
    .hero-text h1 {
        font-size: 1.8em; /* Further reduced for very small screens */
    }
    .hero-text p {
        font-size: 1em;
    }
    .services h2,
    .team h2,
    .insights h2,
    .contact-form h2,
    .usps h2 {
        font-size: 1.6em;
    }
    .contact-form form {
        padding: 25px;
    }
    .cta-button, .btn-secondary, .quote-button, .contact-form button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .usp-item h3 {
        font-size: 1.4em;
    }
    .usp-item p {
        font-size: 0.95em;
    }
}
