/* Main styles for the enhanced CISO Ally website */

:root {
    --primary-blue: #1e73be;
    --secondary-blue: #135e9e;
    --accent-orange: #ff6b00;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-blue);
}

ul, ol {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
}

/* Navigation styles */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-blue);
}

.main-nav a.current-page {
    color: var(--primary-blue);
}

.main-nav a.current-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--dark-gray);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
}

/* Hero section styles */
.hero {
    position: relative;
    background-color: var(--primary-blue);
    background-image: linear-gradient(rgba(30, 115, 190, 0.8), rgba(30, 115, 190, 0.8)), url('../images/backgrounds/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #e55f00;
    color: var(--white);
}

.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    z-index: 1;
}

/* Content section styles */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background-color: var(--light-gray);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.content-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card h3 {
    margin-top: 1rem;
}

.placeholder-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 5px;
    min-height: 200px;
    margin-bottom: 20px;
}

/* Form styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-blue);
}

/* Footer styles - Commented out to prevent conflicts with footer.css
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 30px 0;
}
*/

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 50px 0 30px;
}

.footer-logo {
    grid-column: 1 / -1;
}

.footer-logo a {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

/* Breadcrumbs styles */
.breadcrumbs {
    background-color: #f5f5f5;
    padding: 10px 0;
}

.breadcrumbs ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #999;
}

.breadcrumbs a {
    color: var(--medium-gray);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-blue);
}

/* Role navigation styles */
.role-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.role-button {
    flex: 1 1 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.role-button:hover {
    background-color: var(--secondary-blue);
}

.role-button i {
    margin-left: 10px;
}

/* Testimonial styles */
.testimonial {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-blue);
    position: absolute;
}

.testimonial-content::before {
    left: 0;
    top: -10px;
}

.testimonial-content::after {
    right: 0;
    bottom: -10px;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
}

/* Language switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
}

.language-switcher a {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.language-switcher img {
    margin-right: 5px;
}

.language-switcher a.active {
    font-weight: 600;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-blue);
}

/* Responsive styles */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.show {
        display: block;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Sitemap styles */
.sitemap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sitemap-section h2 {
    margin-bottom: 20px;
}

.sitemap-list {
    list-style-type: none;
    padding: 0;
}

.sitemap-list li {
    margin-bottom: 10px;
}

.sitemap-list ul {
    list-style-type: none;
    padding-left: 20px;
    margin-top: 10px;
}

/* Hero image with man and woman background */
.hero.home-hero {
    background-image: linear-gradient(rgba(30, 115, 190, 0.7), rgba(30, 115, 190, 0.7)), url('../images/backgrounds/hero-bg.jpg');
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
