/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #4a5568; /* A darker, more professional text color */
   
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    font-size: 65%; /* Simulates zoomed out look */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
}
/* This class ensures the header is visible on pages without the hero section */
body:not(.homepage) .main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header h1 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    transition: color 0.3s ease;
}
/* This ensures the logo is a different color on pages without the hero section */
body:not(.homepage) .main-header h1 a {
    color: #3b82f6;
}

.main-header nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}
/* This ensures navigation links are a different color on pages without the hero section */
body:not(.homepage) .main-header nav a {
    color: #6b7280;
}

.main-header nav a:hover {
    color: #e2e8f0;
}
body:not(.homepage) .main-header nav a:hover {
    color: #3b82f6;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Footer Styles */
.main-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 2.5rem 0;
    margin-top: auto;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* * Homepage-specific styles moved from index.php
 */

/* Hero Section - Unique and Bold */
.hero {
    background: linear-gradient(to top right, #3b82f6, #60a5fa);
    color: white;
    padding: 8rem 0;
    text-align: left;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 2rem;
}
.hero-content {
    max-width: 800px;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.cta-button {
    background-color: #f9f9f9;
    color: #3b82f6;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cta-button:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Tools Section - Dynamic Grid */
.tools-section {
    padding: 2rem 0 6rem 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}
.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.tool-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.tool-card:hover {
  
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.tool-card i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}
.tool-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.tool-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 0;
}
.tool-card.span-2 {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}
.tool-card.span-2 h3, .tool-card.span-2 p {
    margin-bottom: 0;
    text-align: left;
}
.tool-card.span-2 .content {
    flex: 1;
}

/* Features Section - Integrated with Tools */
.features {
    padding: 4rem 0;
    background-color: #eef2f6;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    margin-top: -6rem;
    position: relative;
    z-index: -1;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    padding-top: 6rem;
}
.feature {
    padding: 2rem;
}
.feature i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}
.feature h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.feature p {
    color: #6b7280;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        padding: 6rem 0;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .tools-grid {
        gap: 1.5rem;
    }
    .tool-card {
        padding: 2rem;
    }
    .tool-card.span-2 {
        gap: 1.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .features-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        clip-path: none;
        padding: 4rem 0;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tool-card {
        padding: 1.5rem;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
    .tool-card i {
        font-size: 2rem;
        margin-bottom: 0;
    }
    .tool-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.25rem;
    }
    .tool-card p {
        font-size: 0.9rem;
    }
    .tool-card.span-2 {
        grid-column: span 1;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
    .features {
        margin-top: 0;
        clip-path: none;
    }
    .features-grid {
        padding-top: 2rem;
        gap: 1.5rem;
    }
    .feature {
        padding: 1.5rem;
    }
    .feature i {
        font-size: 2rem;
    }
    .main-header nav {
        display: none;
    }
}



.content-col p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}














