/* CISO Resources - Professional White Theme */

/* Import Professional Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@400;500;600;700;800&display=swap');

/* Force light mode - prevent Tailwind v4 preflight from enabling dark mode */
html {
    color-scheme: light only !important;
}

/* CSS Variables - Professional White Theme */
:root {
    /* Colors */
    --color-primary: #1e40af;
    --color-primary-dark: #1e3a8a;
    --color-accent: #3b82f6;
    --color-accent-light: #60a5fa;
    --color-secondary: #f97316;
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-bg-light: #f8fafc;
    --color-border: #e2e8f0;

    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}



body {
    font-family: var(--font-body);
    background: #f9fafb;
    color: var(--color-text-primary);
    line-height: 1.6;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Navigation Styles */
nav {
    background: #00053C;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

nav a {
    font-family: var(--font-display);
    font-weight: 600;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.logo-text:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 700;
    padding: 0.7rem 2.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    display: inline-block;
    text-decoration: none;
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 60%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--color-text-primary);
}

.hero-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.225rem;
    color: var(--color-text-secondary);
    line-height: 2;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.ripple-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.ripple-1 {
    animation: ripple-shadow 3s ease-out infinite;
}

.ripple-2 {
    animation: ripple-shadow 3s ease-out infinite 1.5s;
}

@keyframes ripple-shadow {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7),
                    0 0 0 0 rgba(59, 130, 246, 0.5);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px 10px rgba(59, 130, 246, 0.4),
                    0 0 40px 20px rgba(59, 130, 246, 0.2);
    }
    100% {
        width: 110%;
        height: 110%;
        opacity: 0;
        box-shadow: 0 0 40px 20px rgba(59, 130, 246, 0),
                    0 0 80px 40px rgba(59, 130, 246, 0);
    }
}

/* Features Section */
.features-section {
    background: white;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-icon svg {
    color: white;
    width: 1.75rem;
    height: 1.75rem;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--color-text-secondary);
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Program Benefits Section */
.program-benefits-section {
    position: relative;
}

.benefit-card {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-xl);
}

.benefit-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.benefit-card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 4rem;
    height: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover .benefit-card-title::after {
    width: 8rem;
}

/* Stats/CTA Section */
.stats-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 60%);
    pointer-events: none;
}

/* Footer */
footer {
    background: var(--color-text-primary);
    border-top: 1px solid var(--color-border);
}

/* Responsive Typography */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .hero-text,
    .section-subtitle {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* Hero List Styling */
.hero-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
}

.hero-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 0 0.875rem 2.5rem;
    position: relative;
    color: var(--color-text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-benefits-list li:last-child {
    border-bottom: none;
}

.hero-benefits-list li:hover {
    color: var(--color-text-primary);
    padding-left: 2.75rem;
    border-bottom-color: var(--color-accent);
}

.hero-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-benefits-list li:hover::before {
    transform: scale(1.1);
}

/* Staggered Animation */
.hero-benefits-list li:nth-child(1) {
    animation: slide-in-left 0.5s ease-out 0.1s both;
}

.hero-benefits-list li:nth-child(2) {
    animation: slide-in-left 0.5s ease-out 0.2s both;
}

.hero-benefits-list li:nth-child(3) {
    animation: slide-in-left 0.5s ease-out 0.3s both;
}

.hero-benefits-list li:nth-child(4) {
    animation: slide-in-left 0.5s ease-out 0.4s both;
}

.hero-benefits-list li:nth-child(5) {
    animation: slide-in-left 0.5s ease-out 0.5s both;
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Utilities */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Elfsight Widget Styling */
.elfsight-app-a3e8273f-df3f-447c-ade7-64c1193be15b {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 40 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* --- Modal (Pop-up) Styles --- */

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%; /* Increased width for better mobile viewing */
  max-width: 450px; /* Slightly reduced max width */
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  font-family: "Montserrat", sans-serif;
}

.modal-content h2 {
  color: #007bff;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 700;
  text-align: center;
}

/* The Close Button */
.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Form Styling */
#contactForm label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #333;
}

#contactForm input[type="text"],
#contactForm input[type="email"], 
#contactForm input[type="tel"],
#contactForm textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0 15px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1em;
  font-family: Arial, Helvetica, sans-serif;
}

.submit-button {
  background-color: #007bff;
  color: white;
  padding: 14px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 1.1em;
  font-weight: 700;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #0056b3;
}