/* ResilientGuard Main Styles
   Version: 1.0.0
   Last Updated: January 22, 2026
*/

/* Base Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #F8C4B4, #E8DFF5);
    --secondary-gradient: linear-gradient(135deg, #E8DFF5, #BBEBD3);
    --tertiary-gradient: linear-gradient(135deg, #BBEBD3, #F8C4B4);
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-light: #F9FAFB;
    --bg-light: #F9FAFB;
    --bg-dark: #111827;
    --btn-primary: #7C3AED;
    --btn-primary-hover: #6D28D9;
    --btn-secondary: #10B981;
    --btn-secondary-hover: #059669;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --blob-peach: #F8C4B4;
    --blob-lavender: #E8DFF5;
    --blob-mint: #BBEBD3;
    --transition-standard: all 0.3s ease;
    --rounded-sm: 0.375rem;
    --rounded-md: 0.5rem;
    --rounded-lg: 1rem;
    --rounded-xl: 1.5rem;
}

body {
    font-family: 'Red Hat Display', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-standard);
}

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

.container {
    width: 100%;
    max-width: 1280px;
}

/* Blob Styling */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}

.blob-1 {
    width: 40vw;
    height: 40vw;
    top: -15%;
    right: -10%;
    background: var(--blob-peach);
    animation: blob-move-1 25s infinite alternate ease-in-out;
}

.blob-2 {
    width: 35vw;
    height: 35vw;
    bottom: -20%;
    left: -10%;
    background: var(--blob-lavender);
    animation: blob-move-2 30s infinite alternate ease-in-out;
}

.blob-3 {
    width: 25vw;
    height: 25vw;
    top: 40%;
    right: 20%;
    background: var(--blob-mint);
    animation: blob-move-3 20s infinite alternate ease-in-out;
}

@keyframes blob-move-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

@keyframes blob-move-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, -5%) scale(1.15); }
}

@keyframes blob-move-3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(7%, -7%) scale(0.9); }
}

.blob-img-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--rounded-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: var(--transition-standard);
    box-shadow: var(--shadow-lg);
}

.blob-img-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

/* Navigation */
.header-wrapper {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.logo-container {
    display: block;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-standard);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-md);
    z-index: 90;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--rounded-md);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-standard);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--btn-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--btn-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--btn-secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-small, .btn-secondary-small {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--rounded-md);
    font-weight: 500;
    font-size: 0.875rem;
    text-align: center;
    transition: var(--transition-standard);
}

.btn-primary-small {
    background-color: var(--btn-primary);
    color: white;
}

.btn-primary-small:hover {
    background-color: var(--btn-primary-hover);
}

.btn-secondary-small {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.btn-secondary-small:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Certification Bar */
.certification-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.certification-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: 500;
}

/* Diagonal Sections */
.section-diagonal, .section-diagonal-reverse {
    position: relative;
    padding: 6rem 0;
    margin: 3rem 0;
}

.section-diagonal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(15deg, rgba(248, 196, 180, 0.1), rgba(232, 223, 245, 0.1));
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: -1;
}

.section-diagonal-reverse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(165deg, rgba(187, 235, 211, 0.1), rgba(248, 196, 180, 0.1));
    transform: skewY(3deg);
    transform-origin: bottom right;
    z-index: -1;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-standard);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

/* Solution Cards */
.solution-card {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature-icon {
    margin-right: 0.75rem;
    color: var(--btn-secondary);
}

/* Industry Cards */
.industry-card {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-standard);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
    position: relative;
}

.contact-info {
    padding: 2rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
}

.contact-form-container {
    position: relative;
}

.contact-form {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: var(--rounded-md);
    background-color: #F9FAFB;
    transition: var(--transition-standard);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--btn-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Checkbox Container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #F9FAFB;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #EFF6FF;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Footer */
.footer-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links h4 {
    color: white;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition-standard);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: white;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    opacity: 0.6;
    font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 600px;
    background: white;
    border-radius: var(--rounded-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.cookie-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-options {
    margin: 1.5rem 0;
}

.cookie-option {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-left: 35px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.text-link {
    color: var(--btn-primary);
    text-decoration: underline;
    transition: var(--transition-standard);
}

.text-link:hover {
    color: var(--btn-primary-hover);
}

.cookie-settings-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    z-index: 999;
    font-size: 1.25rem;
    color: var(--btn-primary);
    transition: var(--transition-standard);
}

.cookie-settings-btn:hover {
    transform: rotate(15deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Thank You Page */
.thank-you-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.thank-you-icon {
    color: var(--btn-secondary);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.next-steps-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.step-card {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: bold;
    color: white;
}

/* Page Header */
.page-header {
    position: relative;
    padding: 4rem 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

/* Industry Solutions Page */
.industry-navigation {
    position: sticky;
    top: 80px;
    background: white;
    box-shadow: var(--shadow-md);
    z-index: 90;
    padding: 0.5rem 0;
}

.industry-nav-container {
    display: flex;
    overflow-x: auto;
    padding: 0.5rem 0;
    gap: 1.5rem;
}

.industry-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    min-width: 100px;
    text-align: center;
    border-radius: var(--rounded-md);
    transition: var(--transition-standard);
    white-space: nowrap;
}

.industry-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--btn-primary);
}

.industry-nav-item:hover {
    background-color: rgba(124, 58, 237, 0.1);
}

.industry-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-gradient);
    border-radius: var(--rounded-sm);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-preview {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.05);
    border-left: 3px solid var(--btn-primary);
    border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
}

.feature-list {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-list li {
    position: relative;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: var(--btn-secondary);
    font-weight: bold;
}

.implementation-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 2rem);
    background: var(--primary-gradient);
    opacity: 0.5;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: white;
    margin-right: 2rem;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
}

/* Contact Page */
.contact-info-section {
    padding: 2rem;
}

.contact-details-card {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.contact-item-large {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon-large {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.map-wrapper {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form-section {
    background-color: var(--bg-light);
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-form-full {
    display: grid;
    gap: 1.5rem;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--rounded-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    background: white;
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: var(--transition-standard);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    background: #F9FAFB;
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 1.25rem;
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(248, 196, 180, 0.2), rgba(232, 223, 245, 0.2), rgba(187, 235, 211, 0.2));
    padding: 4rem 0;
    margin-top: 3rem;
}

/* Corporate Responsibility Page */
.pillar-card {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.pillar-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.pillar-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #E5E7EB;
}

.pillar-features li:last-child {
    border-bottom: none;
}

.sustainability-metric {
    margin-bottom: 1rem;
}

.sustainability-progress {
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--rounded-sm);
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.ethics-card {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.leadership-item {
    margin-bottom: 1.5rem;
}

.leadership-item:last-child {
    margin-bottom: 0;
}

/* Policy Pages */
.policy-content-section {
    background-color: var(--bg-light);
}

.policy-content {
    background: white;
    border-radius: var(--rounded-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.policy-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.policy-section p {
    margin-bottom: 1rem;
}

.policy-section ul, .policy-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.policy-cta {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--rounded-lg);
    text-align: center;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem;
}

.cookie-table th {
    background: rgba(124, 58, 237, 0.1);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* IntlTelInput Styling */
.iti {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .blob-1 {
        width: 70vw;
        height: 70vw;
    }
    
    .blob-2 {
        width: 60vw;
        height: 60vw;
    }
    
    .blob-3 {
        width: 50vw;
        height: 50vw;
    }
    
    .section-diagonal, .section-diagonal-reverse {
        padding: 4rem 0;
        margin: 2rem 0;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-number {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .timeline-item:not(:last-child)::after {
        display: none;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .cookie-consent {
        width: 90%;
        padding: 1rem;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}