/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styling */
header {
    background-color: #ffffff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container .logo {
    width: 150px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: #ff4c4c;
}

nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content li {
    padding: 12px 16px;
}

.dropdown-content li a {
    color: #333;
    text-decoration: none;
    display: block;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
    color: #ff4c4c;
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
}

nav a:hover {
    text-decoration: underline;
}

/* Hamburger menu styles (if you use them in mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 101;
    cursor: pointer;
}
@media (max-width: 900px) {
    header {
        position: relative;
    }
    .nav-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 58px;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 4px 18px #0002;
        padding: 0 0 16px 0;
        z-index: 100;
    }
    nav ul.show-menu {
        display: flex;
    }
    nav ul li {
        width: 100%;
        text-align: left;
        padding: 0 22px;
    }
    nav ul li a {
        display: block;
        padding: 14px 0;
        font-size: 1.08em;
    }
    .dropdown-content {
        position: static !important;
        background: #f9f9f9 !important;
        box-shadow: none !important;
        display: none;
        margin-left: 10px;
    }
    .dropdown.open > .dropdown-content {
        display: block !important;
    }
    .dropdown > a:after {
        content: " ▼";
        font-size: 0.7em;
    }
}

/* Hero Section */
.hero {
    background-color: #ff4c4c;
    color: white;
    padding: 50px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-btn:hover {
    background-color: #ff4c4c;
}

/* Tools Section Styling */
.tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0 0 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
/* The separator div (for visual gap) */
.tools-separator {
    height: 52px;         /* Big enough for shadow + space */
    background: transparent;
    width: 100%;
    display: block;
    border: none;
    margin: 0;
    padding: 0;
}

/* Tool Card Styling */
.tool {
    background: #fff;
    padding: 24px 20px 56px 20px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 3;
}

.tool:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.tool-icon {
    width: 50px;
    margin-bottom: 15px;
}

.tool h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.tool p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Trust Section */
.trust-section {
    background: #f6f8fa;
    padding: 52px 20px 36px 20px;
    text-align: center;
    border-top: 2px solid #ececec;
    z-index: 1;
    position: relative;
}

.trust-section h2 {
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

.trust-section p {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}

.trust-numbers h3 {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}

.trust-icons {
    margin-top: 30px;
}

.trust-icons img {
    width: 50px;
    margin: 0 20px;
    opacity: 0.8;
}

.trust-icons img:hover {
    opacity: 1;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive: */
@media (max-width: 700px) {
    .tools {
        padding: 0 4vw 0 4vw;
        gap: 12px;
    }
    .tools-separator {
        height: 36px;
    }
    .tool {
        padding: 14px 4px 52px 4px;
    }
    .trust-section {
        padding: 32px 6px 32px 6px;
    }
}
