/* CSS Variables */
:root {
    --primary-color: #4DC477;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white-color: #ffffff;
    --light-background-color: #f2f2f2;
    --text-color: #333333;
    --text-color-medium: #666666;
    --text-light-color: #7D7D7D;
    --border-color: #dee2e6;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--white-color);
}

.navbar .navbar-nav .nav-item {
    padding: 0 .5rem;
}
.navbar .navbar-nav.mx-auto .nav-item {
    padding: 0 2.5rem;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 80px;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.btn-beta {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-beta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(var(--primary-color), 0.3);
    background-color: var(--success-color);
    border-color: var(--success-color);
}

/* Hero Section Styles */
.hero-section {
    padding: 5rem 0;
    /* background-color: var(--light-color); */
}

.hero-heading {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.hero-subheading {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.btn-secondary-custom {
	padding: 0.5rem 2rem;
	font-weight: 500;
	border-radius: 50px;
	transition: all 0.3s ease;
	background-color: transparent;
	color: var(--text-light-color);
	font-size: 14px;
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Behavioral Intelligence Section Styles */
.intelligence-section {
    padding: 5rem 0;
    border-radius: 20px;
    background: radial-gradient(75.27% 75.27% at 67.89% 24.73%, #263F4F 0%, #231D26 100%);
}

.intelligence-small-heading {
    text-align: center;
    color: var(--white-color);
    border: 1px solid var(--white-color);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    margin-bottom: 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.intelligence-section .container {
    text-align: center;
}

.intelligence-heading {
    color: var(--white-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intelligence-card {
	background-color: #A3A3A3;
	padding: 0;
	border-radius: 20px;
	height: 100%;
	transition: transform 0.3s ease;
}

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

.intelligence-section .col-lg-1.col-md-1 {
	width: 4.16666667%;
}

.intelligence-section .col-lg-1.col-md-1.double-col-1 {
	width: 10.6666667%;
}

.intelligence-section .col-lg-2.col-md-4 {
	width: 18.667%;
}

.card-icon {
	background-color: #5B5B5B;
	width: 100%;
	height: auto;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	padding: 20px;
	box-shadow: 0px 3.42px 20.87px -5.99px #00000040;
}

.card-content {
	padding: 5px 15px 20px;
}

.card-icon img {
	width: 125px;
	height: 125px;
}

.card-heading {
    color: var(--white-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--white-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.operator-sign {
	color: var(--white-color);
	font-size: 2rem;
	font-weight: 700;
	display: inline-block;
}

.result-card {
    background-color: #3E3E3E;
    padding:0;
    border-radius: 20px;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.result-percentage {
	background-color: #BF5858;
	color: var(--white-color);
	font-size: 6rem;
	font-weight: 700;
	display: block;
	padding: 1rem 2rem;
	border-radius: 20px;
	margin-bottom: 1.5rem;
	width: 100%;
}

.result-heading {
    color: var(--white-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.result-text {
    color: var(--white-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Our Features Section Styles */
.features-section {
    padding: 5rem 0;
    background-color: var(--white-color);
}

.features-small-heading {
    text-align: center;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    margin-bottom: 3rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.features-section .container {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 250px);
    gap: 2.5rem;
}

.feature-box {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 0;
    box-shadow: 0px 4px 24.4px -7px #00000040;

}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color-medium);
}

.feature-box p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Feature Box Grid Positioning */
.feature-box-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.feature-box-2 {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.feature-box-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.feature-box-4 {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

.feature-box-5 {
    grid-column: 4 / 5;
    grid-row: 2 / 4;
}

.feature-box-6 {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
}

/* Feature Box Content Styles */
.feature-heading-gray {
    color: #666666;
}

/* Box 1 & 2 Styles */
.feature-box-1,
.feature-box-2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.box-image-left {
    flex: 0 0 50%;
}

.box-image-left img {
    width: 100%;
    height: auto;
}

.rounded-circle-50 {
    border-radius: 50%;
}

.box-text-right {
    flex: 1;
}

/* Box 3 Styles */
.feature-box-3 {
	display: flex;
	flex-direction: column;
	justify-content: end;
	position: relative;
}

.micro-card {
	width: 95%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background-color: var(--white-color);
	border-radius: 10px;
	box-shadow: 0px 4.6px 4.6px 0px #00000040;
	margin-bottom: 0.75rem;
	position: absolute;
	left: 8%;
	z-index: 4;
	top: 18px;
}

.micro-card:nth-child(2) {
	top: 83px;
	z-index: 3;
	left: -4%;
}

.micro-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.micro-text {
	font-size: 0.85rem;
	margin: 0;
	color: var(--text-color);
	font-weight: 400;
	text-align: left;
}

/* Box 4 Styles */
.feature-box-4 {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.bg-image-full {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 0;
}

.bg-image-left {
	position: absolute;
	left: 50px;
	top: 0;
	height: 100%;
	width: auto;
	z-index: 1;
}

.box-logo {
	position: absolute;
	top: 20px;
	left: 25px;
	height: 60px;
	z-index: 999999;
	filter: brightness(0) invert(1);
}

.behavioral-ai-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	font-size: 3rem;
	font-weight: 700;
	background: linear-gradient(180deg, #FFFFFF 0%, #4A4A4A 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0;
	font-size: 2.5rem !important;
}

/* Box 5 Styles */
.feature-box-5 {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
	position: relative;
}

.insight-image {
	width: 100%;
	border-radius: 20px;
	box-shadow: 0px 4px 4px 0px #00000040;
	max-width: 80%;
	transform: translateX(30%);
	z-index: 5;
}

.insight-image:nth-child(2) {
	transform: translate(-22%, -110px);
	z-index: 3;
}

.insight-image:nth-child(2) {
	transform: translate(-25%, -135px);
	z-index: 3;
}

.feature-box-5 .feature-heading-gray {
	color: #666666;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 1rem;
}

/* Box 6 Styles */
.feature-box-6 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.box-text-left {
    flex: 0 0 30%;
}

.box-image-right {
    flex: 0 0 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.integration-image {
	width: auto;
	height: 100%;
	position: relative;
	display: block;
	max-height: 230px;
}

/* Trusted By Section Styles */
.trusted-section {
    padding: 5rem 0;
    background-color: var(--light-background-color);
}

.trusted-heading {
    text-align: center;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    margin-bottom: 3rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.trusted-section .container {
    text-align: center;
}

.trusted-image-container {
    margin-top: 2rem;
}

.trusted-image-container img {
	max-width: 700px;
	height: auto;
	width: 100%;
}

/* Security Leaders Section Styles */
.security-leaders-section {
    padding: 5rem 0;
    background-color: var(--white-color);
}

.security-small-heading {
    text-align: center;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    margin-bottom: 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.security-leaders-section .container {
    text-align: center;
}

.security-main-heading {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.security-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.security-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.security-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #f0faf5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon img {
    width: 35px;
    height: 35px;
}

.security-content {
    flex: 1;
    text-align: left;
}

.security-box-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.security-box-text {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* BETA Form Section Styles */
.beta-form-section {
    padding: 5rem 0;
    background-color: var(--light-background-color);
}

.beta-small-heading {
    text-align: center;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    margin-bottom: 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.beta-form-section .container {
    text-align: center;
}

.beta-main-heading {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.beta-intro-text {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.beta-instruction-text {
    color: var(--text-color);
    font-size: 1rem;
    text-align: left;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.beta-form {
    margin-top: 3rem;
}

.beta-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-align: left;
    display: block;
}

.required {
    color: #dc3545;
    margin-left: 2px;
}

.beta-form .form-control,
.beta-form .form-select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.beta-form .form-control:focus,
.beta-form .form-select:focus {
    border-color: #5b51df;
    box-shadow: 0 0 0 0.2rem rgba(91, 81, 223, 0.25);
    outline: none;
}

.btn-submit-beta {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #5b51df;
    border: none;
    border-radius: 8px;
    color: var(--white-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit-beta:hover {
    background-color: #4a42c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 81, 223, 0.3);
}

/* FAQ Section Styles */
.faq-section {
    padding: 5rem 0;
    border-radius: 20px;
    background: radial-gradient(75.27% 75.27% at 67.89% 24.73%, #263F4F 0%, #231D26 100%);
}

.faq-heading {
    text-align: center;
    color: var(--white-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.faq-small-heading {
	text-align: center;
	color: var(--white-color);
	border: 1px solid var(--white-color);
	display: inline-block;
	padding: 0.5rem 1.5rem;
	margin: 0 auto;
	margin-bottom: 2rem;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: 600;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFFB2;
    border-radius: 14px !important;
    border: none;
    margin-bottom: 12px;
    box-shadow: 0px 1px 2px -1px #0000001A, 0px 1px 3px 0px #0000001A;
    border-top: 1px solid #E2E8F099;
    overflow: hidden;
}

.faq-item .accordion-button {
    background: transparent;
    border: none;
    color: #314158;
    font-size: 16px;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    background: transparent;
    color: #314158;
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-item .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2390A1B9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    filter: none;
}

.faq-item .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2390A1B9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #E2E8F0 50%, rgba(0, 0, 0, 0) 100%);
    margin: 0 1.5rem;
}

.faq-item .accordion-body {
    color: #45556C;
    font-size: 16px;
    line-height: 1.6;
    padding: 1.25rem 1.5rem;
}

.faq-item .accordion-collapse {
    border: none;
}

/* About Phishgrad Section Styles */
.about-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.about-small-heading {
    text-align: center;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    margin-bottom: 3rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.about-section .container {
    text-align: center;
}

.team-box {
    background-color: var(--white-color);
    border-radius: 16px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A;
    height: 100%;
    overflow: hidden;
}

.team-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 12px -4px #0000001A, 0px 16px 24px -3px #0000001A;
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.team-content {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.team-designation {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.linkedin-link {
    display: inline-block;
    text-decoration: none;
}

.linkedin-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background 0.3s ease;
}

.linkedin-icon-wrapper:hover {
    background: #E2E8F0;
}

.linkedin-icon {
    width: 20px;
    height: 20px;
}

.ms-login-btn {
    text-decoration: none !important;
}

.trust-worthy-badge {
    position: fixed;
    right: 16px;
    bottom: 16px;
}

@media (min-width: 992px) {
    .collapse {
        visibility: visible;
    }
}

.collapse.show {
    visibility: visible !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .btn-beta {
        margin-top: 0.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }

    .intelligence-section .col-lg-2.col-md-4 {
        width: 100%;
    }
    
    .hero-heading {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subheading {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero-paragraph {
        text-align: center;
    }
    
    .col-lg-6 {
        text-align: center;
    }
    
    .intelligence-section {
        padding: 3rem 0;
    }
    
    .intelligence-heading {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .intelligence-card {
        margin-bottom: 1rem;
    }
    
    .operator-sign {
        font-size: 2rem;
        margin: 1rem 0;
    }
    
    .result-percentage {
        font-size: 3rem;
        padding: 0.75rem 1.5rem;
    }
    
    .result-heading {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    
    .feature-box-1,
    .feature-box-2,
    .feature-box-3,
    .feature-box-4,
    .feature-box-5,
    .feature-box-6 {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    
    .features-section {
        padding: 3rem 0;
    }
    
    .feature-box-1,
    .feature-box-2,
    .feature-box-6 {
        flex-direction: column;
        text-align: center;
    }
    
    .box-image-left,
    .box-text-right,
    .box-text-left,
    .box-image-right {
        flex: 1 1 100%;
    }
    
    .behavioral-ai-text {
        font-size: 2rem;
    }

    .intelligence-section .col-lg-1.col-md-1 {
        width: 100%;
        margin: 0 !important;
    }

    .intelligence-section .col-lg-1.col-md-1.double-col-1 {
        width: 100%;
        margin: 0 !important;
    }
    
    /* Mobile responsive fixes for feature boxes */
    .feature-box-3 {
        padding: 2rem 1rem;
        /* min-height: 400px; */
    }
    
    .micro-card {
        position: static;
        width: 100%;
        left: 0;
        margin-bottom: 1rem;
    }
    
    .micro-card:nth-child(2) {
        position: static;
        top: auto;
        left: 0;
    }
    
    .feature-box-4 {
        min-height: 300px;
    }
    
    .bg-image-left {
        left: 0;
    }
    
    .box-logo {
        height: 40px;
        left: 15px;
        top: 15px;
    }
    
    .feature-box-5 {
        min-height: 400px;
        padding: 2rem 1rem;
    }
    
    .insight-image {
        position: static;
        transform: none;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .insight-image:nth-child(2) {
        transform: none;
        margin-bottom: 1rem;
    }
    
    .feature-box-5 .feature-heading-gray {
        position: static;
        padding: 1rem 0 0 0;
    }
    
    .integration-image {
        max-height: 200px;
    }
    
    .box-image-left,
    .box-text-right {
        flex: 1 1 100%;
    }
    
    .segmentation-image {
        max-height: 200px;
        width: auto;
    }
    
    .faq-heading {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .faq-item .accordion-button,
    .faq-item .accordion-body {
        padding: 1rem;
    }
    
    .team-box {
        margin-bottom: 1rem;
    }
}
